diff options
Diffstat (limited to 'board/amenia')
-rw-r--r-- | board/amenia/board.c | 6 | ||||
-rw-r--r-- | board/amenia/board.h | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/board/amenia/board.c b/board/amenia/board.c index 56d02895b5..a019ba0a5e 100644 --- a/board/amenia/board.c +++ b/board/amenia/board.c @@ -139,8 +139,10 @@ 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_TCPC0, TCPC0_I2C_ADDR, &anx74xx_tcpm_drv}, - {I2C_PORT_TCPC1, TCPC1_I2C_ADDR, &tcpci_tcpm_drv}, + {I2C_PORT_TCPC0, TCPC0_I2C_ADDR, &anx74xx_tcpm_drv, + TCPC_ALERT_ACTIVE_HIGH}, + {I2C_PORT_TCPC1, TCPC1_I2C_ADDR, &tcpci_tcpm_drv, + TCPC_ALERT_ACTIVE_LOW}, }; const enum gpio_signal hibernate_wake_pins[] = { diff --git a/board/amenia/board.h b/board/amenia/board.h index 5833543fb1..c1d0e16c43 100644 --- a/board/amenia/board.h +++ b/board/amenia/board.h @@ -88,7 +88,6 @@ #define CONFIG_USB_PD_PORT_COUNT 2 #define CONFIG_USB_PD_TCPM_ANX74XX #define TCPC0_I2C_ADDR 0x50 -#define ANX74XX_INT_ACTIVE_POLARITY ANX74XX_REG_IRQ_POL_HIGH #define CONFIG_USB_PD_TCPM_PS8751 #define CONFIG_USB_PD_TCPM_TCPCI #define TCPC1_I2C_ADDR 0x16 |