summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hill <ecgh@chromium.org>2018-08-28 17:04:27 -0600
committerchrome-bot <chrome-bot@chromium.org>2018-08-31 15:08:51 -0700
commit20622804ce85eed0f3ff6562e9d3324c1788f156 (patch)
tree19ec1561e81c88ddc419eb4545e0b24d284a94c0
parentd219d5cef0f429ff01753159b11355d02fe194f9 (diff)
downloadchrome-ec-20622804ce85eed0f3ff6562e9d3324c1788f156.tar.gz
grunt: Configure ANX3429 interrupt as open-drain
As a push-pull, the ANX3429 will push 3.3V into a 1.8V pin, which will draw power needlessly, so change to configure as open-drain. BRANCH=none BUG=b:113073625 TEST=PD still works on Grunt USB-C0 Change-Id: I4596d6b5b84b3d65ea1b00ef72d6f1358a429cc7 Signed-off-by: Edward Hill <ecgh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1194989 Commit-Ready: Jonathan Brandmeyer <jbrandmeyer@chromium.org> Reviewed-by: Jonathan Brandmeyer <jbrandmeyer@chromium.org>
-rw-r--r--baseboard/grunt/baseboard.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/baseboard/grunt/baseboard.c b/baseboard/grunt/baseboard.c
index ded1c6ac19..84ba9f1786 100644
--- a/baseboard/grunt/baseboard.c
+++ b/baseboard/grunt/baseboard.c
@@ -90,6 +90,7 @@ const struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_COUNT] = {
.i2c_slave_addr = ANX74XX_I2C_ADDR1,
.drv = &anx74xx_tcpm_drv,
.pol = TCPC_ALERT_ACTIVE_LOW,
+ .od = TCPC_ALERT_OPEN_DRAIN,
},
[USB_PD_PORT_PS8751] = {
.i2c_host_port = I2C_PORT_TCPC1,