summaryrefslogtreecommitdiff
path: root/board/ampton/gpio.inc
diff options
context:
space:
mode:
authorJames_Chao <james_chao@asus.corp-partner.google.com>2020-04-14 14:57:31 +0800
committerCommit Bot <commit-bot@chromium.org>2020-04-30 14:33:10 +0000
commitebc9b57eecb41b68a01244dfc40dca9ed4901f7d (patch)
tree960f2d3441a8ccc7c945bd0fdf2c37cf03a19e5e /board/ampton/gpio.inc
parentaf9b76103a491a189b2935bc62097251d0337c62 (diff)
downloadchrome-ec-ebc9b57eecb41b68a01244dfc40dca9ed4901f7d.tar.gz
ampton: change sku id 3,4 for g-sensor BMA253 in the lid
The sku id 3,4 have never been manufactured. We use those id to identify the sensor type in the lid. BUG=b:153934973,b:154297511 BRANCH=octopus TEST=Check the sensor work correctly. Change-Id: Idf0b37fb0113e97a4927810cfaf9fbd1eb7a13a9 Signed-off-by: James_Chao <james_chao@asus.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2172563 Reviewed-by: Marco Chen <marcochen@chromium.org> Reviewed-by: Li-jen Chen <lijen@google.com> Commit-Queue: Li-jen Chen <lijen@google.com> Commit-Queue: Henry Sun <henrysun@google.com>
Diffstat (limited to 'board/ampton/gpio.inc')
-rw-r--r--board/ampton/gpio.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/ampton/gpio.inc b/board/ampton/gpio.inc
index 21ab353752..724d9a98d9 100644
--- a/board/ampton/gpio.inc
+++ b/board/ampton/gpio.inc
@@ -42,7 +42,6 @@ GPIO_INT(TABLET_MODE_L, PIN(H, 4), GPIO_INT_BOTH, gmr_tablet_switch_isr)
GPIO_INT(EC_VOLDN_BTN_ODL, PIN(D, 6), GPIO_INT_BOTH, button_interrupt)
GPIO_INT(EC_VOLUP_BTN_ODL, PIN(D, 5), GPIO_INT_BOTH, button_interrupt)
GPIO_INT(BASE_SIXAXIS_INT_L, PIN(J, 2), GPIO_INT_FALLING | GPIO_SEL_1P8V, bmi160_interrupt)
-GPIO_INT(WFCAM_VSYNC, PIN(D, 4), GPIO_INT_RISING, sync_interrupt)
GPIO(LID_ACCEL_INT_L, PIN(J, 3), GPIO_INPUT | GPIO_SEL_1P8V)
GPIO(PCH_PLTRST_L, PIN(E, 3), GPIO_INPUT) /* PLT_RST_L: Platform Reset from SoC */
@@ -114,6 +113,8 @@ GPIO(BAT_LED_WHITE, PIN(A, 3), GPIO_OUT_LOW) /* LED_2_EC */
/* MKBP event synchronization */
GPIO(EC_INT_L, PIN(E, 6), GPIO_ODR_HIGH)
+GPIO(WFCAM_VSYNC, PIN(D, 4), GPIO_INPUT | GPIO_PULL_DOWN)
+
UNIMPLEMENTED(KB_BL_PWR_EN)
/* NC pins, enable internal pull-down to avoid floating state. */