From e171fb8d7b131f7a1953d83aa702569f59a02501 Mon Sep 17 00:00:00 2001 From: "xiong.huang" Date: Fri, 18 Oct 2019 16:34:35 +0800 Subject: Kodama: folio case has no function but only works in VT2 When DUT starts up in S5/G3, HOOK_CHIPSET_STARTUP only called in RO stage. In fact, POGO ADC interrupt not be enabled after jumping to RW stage. Krane and Kodama board use POGO keyboard function. Moving common API to HOOK_INI (pogo_chipset_init) to ensure POGO ADC interrupt is enabled and API base_detect_deferred would be called after jumping to RW stage. BUG=b:142849032 BRANCH=kukui TEST=folio case works well in UI and VT2. Change-Id: Ie3fed9a88620414afeea2fa4dcbf2cd120e7ac37 Signed-off-by: Xiong Huang Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1869170 Reviewed-by: Eric Yilun Lin --- board/kukui/board.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'board/kukui') diff --git a/board/kukui/board.c b/board/kukui/board.c index 792c5690cb..78ea8a84d7 100644 --- a/board/kukui/board.c +++ b/board/kukui/board.c @@ -279,9 +279,6 @@ static void board_init(void) /* Enable gauge interrupt from max17055 */ gpio_enable_interrupt(GPIO_GAUGE_INT_ODL); - /* Enable pogo interrupt */ - gpio_enable_interrupt(GPIO_POGO_ADC_INT_L); - if (IS_ENABLED(BOARD_KRANE)) { /* * Fix backlight led maximum current: -- cgit v1.2.1