summaryrefslogtreecommitdiff
path: root/zephyr/shim/include/usbc/bb_retimer_usb_mux.h
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/shim/include/usbc/bb_retimer_usb_mux.h')
-rw-r--r--zephyr/shim/include/usbc/bb_retimer_usb_mux.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/zephyr/shim/include/usbc/bb_retimer_usb_mux.h b/zephyr/shim/include/usbc/bb_retimer_usb_mux.h
index 57a471fb2e..64dd9ba645 100644
--- a/zephyr/shim/include/usbc/bb_retimer_usb_mux.h
+++ b/zephyr/shim/include/usbc/bb_retimer_usb_mux.h
@@ -14,14 +14,16 @@
#define BB_RETIMER_USB_MUX_COMPAT intel_jhl9040r
#endif
-#define USB_MUX_CONFIG_BB_RETIMER(mux_id) \
- { \
- USB_MUX_COMMON_FIELDS(mux_id), \
- .driver = &bb_usb_retimer, \
- .hpd_update = bb_retimer_hpd_update, \
- .i2c_port = I2C_PORT_BY_DEV(mux_id), \
- .i2c_addr_flags = DT_REG_ADDR(mux_id), \
+/* clang-format off */
+#define USB_MUX_CONFIG_BB_RETIMER(mux_id) \
+ { \
+ USB_MUX_COMMON_FIELDS(mux_id), \
+ .driver = &bb_usb_retimer, \
+ .hpd_update = bb_retimer_hpd_update, \
+ .i2c_port = I2C_PORT_BY_DEV(mux_id), \
+ .i2c_addr_flags = DT_REG_ADDR(mux_id), \
}
+/* clang-format on */
/**
* @brief Get reset gpio for @p mux_id retimer