summaryrefslogtreecommitdiff
path: root/board/scarlet/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/scarlet/board.c')
-rw-r--r--board/scarlet/board.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/board/scarlet/board.c b/board/scarlet/board.c
index 80a3a73c4e..4e100b3ed7 100644
--- a/board/scarlet/board.c
+++ b/board/scarlet/board.c
@@ -123,7 +123,14 @@ const unsigned int spi_devices_used = ARRAY_SIZE(spi_devices);
/******************************************************************************/
const struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_COUNT] = {
- {I2C_PORT_TCPC0, FUSB302_I2C_SLAVE_ADDR, &fusb302_tcpm_drv},
+ {
+ .bus_type = EC_BUS_TYPE_I2C,
+ .i2c_info = {
+ .port = I2C_PORT_TCPC0,
+ .addr = FUSB302_I2C_SLAVE_ADDR,
+ },
+ .drv = &fusb302_tcpm_drv,
+ },
};
struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_COUNT] = {