From 0feb949565bace3dd9a7a33a059b6a32dd2faa29 Mon Sep 17 00:00:00 2001 From: Hao Chou Date: Mon, 19 Apr 2021 10:42:54 +0800 Subject: [PATCH] mb/google/volteer/variants/copano: Fix pen ejection event Modify PENH device GPIO GPP_E17 for pen ejection event. BUG=b:182867209 BRANCH=firmware-volteer-13672.B TEST=emerge-volteer coreboot, check evtest if SW_PEN_INSERTED event (value:1/0) when insert/eject pen, and eject pen to wake system from s0ix Change-Id: I1b13d09ed6d065779de9441f2137dcf6559b8f27 Signed-off-by: Hao Chou Reviewed-on: https://review.coreboot.org/c/coreboot/+/52494 Reviewed-by: Tim Wawrzynczak Reviewed-by: Paul2 Huang Reviewed-by: Zhuohao Lee Tested-by: build bot (Jenkins) --- src/mainboard/google/volteer/variants/copano/overridetree.cb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainboard/google/volteer/variants/copano/overridetree.cb b/src/mainboard/google/volteer/variants/copano/overridetree.cb index 7c9064314c..b0a108e5c5 100644 --- a/src/mainboard/google/volteer/variants/copano/overridetree.cb +++ b/src/mainboard/google/volteer/variants/copano/overridetree.cb @@ -150,7 +150,7 @@ chip soc/intel/tigerlake chip drivers/generic/gpio_keys register "name" = ""PENH"" # GPP_E17 is the IRQ source, and GPP_E1 is the wake source - register "gpio" = "ACPI_GPIO_INPUT_ACTIVE_LOW(GPP_E17)" + register "gpio" = "ACPI_GPIO_INPUT_ACTIVE_HIGH(GPP_E17)" register "key.wake_gpe" = "GPE0_DW2_01" register "key.wakeup_route" = "WAKEUP_ROUTE_SCI" register "key.wakeup_event_action" = "EV_ACT_DEASSERTED"