summaryrefslogtreecommitdiff
path: root/driver/tcpm/anx74xx.h
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2016-07-15 19:38:20 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-07-21 00:48:05 -0700
commit4fe82acac2f4c9e458321611a424fb7fbc74e363 (patch)
treef224eaa7059d4fa22a96fafaf048630db8536fd6 /driver/tcpm/anx74xx.h
parentf2fa9c94772f245bf7b91779a4765103d07df156 (diff)
downloadchrome-ec-4fe82acac2f4c9e458321611a424fb7fbc74e363.tar.gz
tcpm: anx74xx: Add alert polarity member to tcpc_config_t
This allows us to specify the polarity of the alert signal for each TCPC chip onboard, even if we have multiple instances of the same chip. BUG=none BRANCH=none TEST=built and booted on reef Change-Id: I06a58c4e26892843243e8e98f2c86c6d3a696eb1 Signed-off-by: David Hendricks <dhendrix@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/360948 Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'driver/tcpm/anx74xx.h')
-rw-r--r--driver/tcpm/anx74xx.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/driver/tcpm/anx74xx.h b/driver/tcpm/anx74xx.h
index 972be9648a..e395083d33 100644
--- a/driver/tcpm/anx74xx.h
+++ b/driver/tcpm/anx74xx.h
@@ -12,7 +12,6 @@
#define ANX74XX_REG_IRQ_POL_LOW 0x00
#define ANX74XX_REG_IRQ_POL_HIGH 0x02
-#define ANX74XX_INT_ACTIVE_POLARITY ANX74XX_REG_IRQ_POL_HIGH
#define ANX74XX_REG_IRQ_STATUS 0x53