diff options
author | YongBeum.Ha <ybha@samsung.corp-partner.google.com> | 2021-09-23 10:03:05 +0900 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-24 05:39:49 +0000 |
commit | 3859d4f2fa759dc9e3af329b4db2fb37d75bb43a (patch) | |
tree | 442a89768359b99ced07b8dda21ca9814b15091f | |
parent | 0daa354a7c8658877e0528e1f3c7e1943c945139 (diff) | |
download | chrome-ec-3859d4f2fa759dc9e3af329b4db2fb37d75bb43a.tar.gz |
bugzzy : correct sensor on lid
sensor setting on lid is wrong.
correct setting on lid from GMR to LIS2DS
BUG=b:200831783
BRANCH=None
TEST=make -j BOARD=bugzzy
Signed-off-by: YongBeum.Ha <ybha@samsung.corp-partner.google.com>
Change-Id: I784cf9c234f37c1513321efc92243b112d45b162
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3177803
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Henry Sun <henrysun@google.com>
-rw-r--r-- | board/bugzzy/board.h | 1 | ||||
-rw-r--r-- | board/bugzzy/gpio.inc | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/board/bugzzy/board.h b/board/bugzzy/board.h index c45bdae428..2697e17d8c 100644 --- a/board/bugzzy/board.h +++ b/board/bugzzy/board.h @@ -152,7 +152,6 @@ #define CONFIG_TABLET_MODE #define CONFIG_TABLET_MODE_SWITCH -#define CONFIG_GMR_TABLET_MODE /* LIS2DS Lid accel */ #define CONFIG_ACCEL_LIS2DS diff --git a/board/bugzzy/gpio.inc b/board/bugzzy/gpio.inc index 4e5f224a7b..979b2867c0 100644 --- a/board/bugzzy/gpio.inc +++ b/board/bugzzy/gpio.inc @@ -38,7 +38,7 @@ GPIO_INT(VOLUP_BTN_ODL, PIN(7, 3), GPIO_INT_BOTH | GPIO_PULL_UP, button GPIO_INT(LID_OPEN, PIN(D, 2), GPIO_INT_BOTH, lid_interrupt) GPIO_INT(EC_WP_OD, PIN(A, 1), GPIO_INT_BOTH, switch_interrupt) GPIO_INT(BASE_SIXAXIS_INT_L, PIN(5, 6), GPIO_INT_FALLING | GPIO_SEL_1P8V, bmi160_interrupt) -GPIO_INT(LID_360_L, PIN(9, 5), GPIO_INT_BOTH, gmr_tablet_switch_isr) +GPIO_INT(LID_360_L, PIN(9, 5), GPIO_INT_FALLING | GPIO_SEL_1P8V, lis2ds_interrupt) GPIO_INT(EN_PP1800_PANEL_S0, PIN(4, 1), GPIO_INT_BOTH, panel_power_change_interrupt) /* I2C Ports */ |