diff options
Diffstat (limited to 'board/glados')
-rw-r--r-- | board/glados/board.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/board/glados/board.c b/board/glados/board.c index 892d5ed425..08ed832fa6 100644 --- a/board/glados/board.c +++ b/board/glados/board.c @@ -18,6 +18,7 @@ #include "driver/accel_kionix.h" #include "driver/accel_kx022.h" #include "driver/accelgyro_bmi160.h" +#include "driver/tcpm/tcpci.h" #include "extpower.h" #include "gpio.h" #include "hooks.h" @@ -127,8 +128,8 @@ const struct i2c_port_t i2c_ports[] = { const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports); const struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_COUNT] = { - {I2C_PORT_TCPC, CONFIG_TCPC_I2C_BASE_ADDR}, - {I2C_PORT_TCPC, CONFIG_TCPC_I2C_BASE_ADDR + 2}, + {I2C_PORT_TCPC, CONFIG_TCPC_I2C_BASE_ADDR, &tcpci_tcpm_drv}, + {I2C_PORT_TCPC, CONFIG_TCPC_I2C_BASE_ADDR + 2, &tcpci_tcpm_drv}, }; /* SPI devices */ |