summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHao Chou <hao_chou@pegatron.corp-partner.google.com>2021-04-19 10:42:54 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-04-21 09:16:23 +0000
commit0feb949565bace3dd9a7a33a059b6a32dd2faa29 (patch)
tree2484280816946aab071d0e4caee036d0a75a8a9c
parent3062083d427f31399a3196c5faacc8b54f8aa752 (diff)
downloadcoreboot-0feb949565bace3dd9a7a33a059b6a32dd2faa29.tar.xz
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 <hao_chou@pegatron.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/52494 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Paul2 Huang <paul2_huang@pegatron.corp-partner.google.com> Reviewed-by: Zhuohao Lee <zhuohao@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/volteer/variants/copano/overridetree.cb2
1 files changed, 1 insertions, 1 deletions
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"