summaryrefslogtreecommitdiff
path: root/board/poppy/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/poppy/board.c')
-rw-r--r--board/poppy/board.c10
1 files changed, 10 insertions, 0 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);