summaryrefslogtreecommitdiff
path: root/board/kohaku/gpio.inc
diff options
context:
space:
mode:
authorPhilip Chen <philipchen@google.com>2019-06-20 15:33:53 -0700
committerCommit Bot <commit-bot@chromium.org>2019-06-25 08:21:27 +0000
commit08429fb35a85944eb7314926a7cba3254b3de86a (patch)
treebcb5eacb54da415add3b610fa341d03a1b488637 /board/kohaku/gpio.inc
parent71c5056bd1f27b52f99c1ed4cff01bdc8cee032e (diff)
downloadchrome-ec-08429fb35a85944eb7314926a7cba3254b3de86a.tar.gz
kohaku: Add support for TCS3400 as clear ALS and RGB sesnor
BUG=b:134207072, b:135216932 BRANCH=none TEST=build kohaku Change-Id: I7b3d01d5dfb193262055b6aff2d101844159aa94 Signed-off-by: Philip Chen <philipchen@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1670165 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Commit-Queue: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org>
Diffstat (limited to 'board/kohaku/gpio.inc')
-rw-r--r--board/kohaku/gpio.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/kohaku/gpio.inc b/board/kohaku/gpio.inc
index e47c487ab4..257a5c493e 100644
--- a/board/kohaku/gpio.inc
+++ b/board/kohaku/gpio.inc
@@ -27,6 +27,7 @@ GPIO_INT(PP5000_A_PG_OD, PIN(D, 7), GPIO_INT_BOTH, power_signal_interrupt)
/* Sensor Interrupts */
GPIO_INT(BASE_SIXAXIS_INT_L, PIN(5, 6), GPIO_INT_FALLING, bmi160_interrupt)
GPIO_INT(WFCAM_VSYNC, PIN(B, 7), GPIO_INT_RISING , sync_interrupt)
+GPIO_INT(TCS3400_INT_ODL, PIN(7, 2), GPIO_INT_FALLING, tcs3400_interrupt)
/* USB-C interrupts */
GPIO_INT(USB_C0_PPC_INT_ODL, PIN(E, 0), GPIO_INT_FALLING, ppc_interrupt)
@@ -105,7 +106,6 @@ GPIO(I2C7_SCL, PIN(B, 3), GPIO_INPUT) /* EC_I2C_EEPROM
GPIO(I2C7_SDA, PIN(B, 2), GPIO_INPUT) /* EC_I2C_EEPROM_SDA */
/* NC / TP */
-GPIO(TP62, PIN(7, 2), GPIO_INPUT | GPIO_PULL_UP)
GPIO(TP58, PIN(0, 4), GPIO_INPUT | GPIO_PULL_UP)
GPIO(TP73, PIN(8, 2), GPIO_INPUT | GPIO_PULL_UP)
GPIO(TP18, PIN(C, 0), GPIO_INPUT | GPIO_PULL_UP)