diff options
Diffstat (limited to 'baseboard/grunt/baseboard.c')
-rw-r--r-- | baseboard/grunt/baseboard.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/baseboard/grunt/baseboard.c b/baseboard/grunt/baseboard.c index ca034c06d1..4958ad9324 100644 --- a/baseboard/grunt/baseboard.c +++ b/baseboard/grunt/baseboard.c @@ -89,14 +89,15 @@ const struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_MAX_COUNT] = { .i2c_host_port = I2C_PORT_TCPC0, .i2c_slave_addr = ANX74XX_I2C_ADDR1, .drv = &anx74xx_tcpm_drv, - .pol = TCPC_ALERT_ACTIVE_LOW, - .od = TCPC_ALERT_OPEN_DRAIN, + /* Alert is active-low, open-drain */ + .flags = TCPC_FLAGS_ALERT_OD, }, [USB_PD_PORT_PS8751] = { .i2c_host_port = I2C_PORT_TCPC1, .i2c_slave_addr = PS8751_I2C_ADDR1, .drv = &ps8xxx_tcpm_drv, - .pol = TCPC_ALERT_ACTIVE_LOW, + /* Alert is active-low, push-pull */ + .flags = 0, }, }; |