summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/poppy/board.c10
-rw-r--r--board/poppy/gpio.inc2
2 files changed, 11 insertions, 1 deletions
diff --git a/board/poppy/board.c b/board/poppy/board.c
index cceff650b1..32d386f0a5 100644
--- a/board/poppy/board.c
+++ b/board/poppy/board.c
@@ -559,6 +559,16 @@ static void board_init(void)
}
#endif
+#ifndef BOARD_LUX
+ /*
+ * see (b/111215677): setting the internal PU/PD of the unused pin
+ * GPIO10 affects the ball K10 when it is selected to CR_SIN.
+ * Disabing the WKINEN bit of GPIO10 insteading setting its PU/PD to
+ * bypass this issue.
+ */
+ NPCX_WKINEN(MIWU_TABLE_1, MIWU_GROUP_2) &= 0xFE;
+#endif
+
/* Enable Gyro interrupts */
gpio_enable_interrupt(GPIO_ACCELGYRO3_INT_L);
diff --git a/board/poppy/gpio.inc b/board/poppy/gpio.inc
index f771ef9161..6456101153 100644
--- a/board/poppy/gpio.inc
+++ b/board/poppy/gpio.inc
@@ -116,7 +116,7 @@ GPIO(PPVAR_VAR_BASE, PIN(1, 2), GPIO_OUT_LOW)
#else
GPIO(PP3300_DX_BASE, PIN(1, 1), GPIO_OUT_LOW)
GPIO(TP_EC_GPIO_07, PIN(0, 7), GPIO_INPUT | GPIO_PULL_UP)
-GPIO(TP_EC_GPIO_10, PIN(1, 0), GPIO_INPUT | GPIO_PULL_UP)
+GPIO(TP_EC_GPIO_10, PIN(1, 0), GPIO_INPUT)
GPIO(TP_EC_GPIO_15, PIN(1, 5), GPIO_INPUT | GPIO_PULL_UP)
#endif