diff options
author | Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com> | 2022-07-25 15:57:53 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-28 08:18:30 +0000 |
commit | acbc8a2f17d3a3b0ea77a7841d75779b702722a3 (patch) | |
tree | 2e1f373f1f8199b25f7ce9a06ef59586ebf01950 /board/osiris | |
parent | 354ab4fb7e1e401415525ebf7d29d91d75b3b3b3 (diff) | |
download | chrome-ec-acbc8a2f17d3a3b0ea77a7841d75779b702722a3.tar.gz |
osiris: Remove tablet mode
Since osiris doesn't support tablet mode, remove it to avoid
unexpected triggering.
BUG=b:224423318
BRANCH=none
TEST=make BOARD=osiris
Signed-off-by: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com>
Change-Id: Ia574bed5a0583b6cc9bb0b0d34aa4f20c6bbd494
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3781951
Commit-Queue: caveh jalali <caveh@chromium.org>
Reviewed-by: caveh jalali <caveh@chromium.org>
Diffstat (limited to 'board/osiris')
-rw-r--r-- | board/osiris/board.c | 1 | ||||
-rw-r--r-- | board/osiris/board.h | 5 | ||||
-rw-r--r-- | board/osiris/gpio.inc | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/board/osiris/board.c b/board/osiris/board.c index 1439a96714..e64c68a9de 100644 --- a/board/osiris/board.c +++ b/board/osiris/board.c @@ -20,7 +20,6 @@ #include "power.h" #include "registers.h" #include "switch.h" -#include "tablet_mode.h" #include "throttle_ap.h" #include "usbc_config.h" diff --git a/board/osiris/board.h b/board/osiris/board.h index 685e84a4fb..3ded2f8b1b 100644 --- a/board/osiris/board.h +++ b/board/osiris/board.h @@ -21,6 +21,11 @@ #define CONFIG_MP2964 +/* Tablet mode is not supported */ +#undef CONFIG_TABLET_MODE +#undef CONFIG_TABLET_MODE_SWITCH +#undef CONFIG_LID_ANGLE + /* LED */ #define CONFIG_LED_ONOFF_STATES diff --git a/board/osiris/gpio.inc b/board/osiris/gpio.inc index 10172befa4..6e7d3ac1ba 100644 --- a/board/osiris/gpio.inc +++ b/board/osiris/gpio.inc @@ -19,7 +19,6 @@ GPIO_INT(SEQ_EC_RSMRST_ODL, PIN(E, 2), GPIO_INT_BOTH, power_signal_ GPIO_INT(SLP_S3_L, PIN(A, 5), GPIO_INT_BOTH, power_signal_interrupt) GPIO_INT(SLP_SUS_L, PIN(F, 1), GPIO_INT_BOTH, power_signal_interrupt) GPIO_INT(SYS_SLP_S0IX_L, PIN(D, 5), GPIO_INT_BOTH, power_signal_interrupt) -GPIO_INT(TABLET_MODE_L, PIN(9, 5), GPIO_INT_BOTH, gmr_tablet_switch_isr) GPIO_INT(USB_C0_BC12_INT_ODL, PIN(C, 6), GPIO_INT_FALLING, bc12_interrupt) GPIO_INT(USB_C0_C2_TCPC_INT_ODL, PIN(E, 0), GPIO_INT_FALLING, tcpc_alert_event) GPIO_INT(USB_C0_PPC_INT_ODL, PIN(6, 2), GPIO_INT_FALLING, ppc_interrupt) @@ -125,6 +124,7 @@ UNUSED(PIN(8, 1)) /* GPIO81 */ UNUSED(PIN(9, 3)) /* GPIO93 */ UNUSED(PIN(D, 0)) /* GPIOD0/I2C3_SDA0 */ UNUSED(PIN(D, 1)) /* GPIOD1/I2C3_SCL0 */ +UNUSED(PIN(9, 5)) /* GPIO95 */ /* Pre-configured PSL balls: J8 K6 */ |