summaryrefslogtreecommitdiff
path: root/src/mainboard/google/volteer/variants
diff options
context:
space:
mode:
authorFrankChu <frank_chu@pegatron.corp-partner.google.com>2021-07-15 16:13:53 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-07-20 08:25:42 +0000
commite0758cb4f2c9a49cdcc67e34018ceb85b967280e (patch)
tree77410a0205f21283b3fdeeb6837ae16f908fe418 /src/mainboard/google/volteer/variants
parentc775abba986c92e75545783e08cc7d338a680282 (diff)
mb/google/volteer/variants/collis: Fix pen ejection event
Modify PENH device GPIO GPP_E17 for pen ejection event. BUG=b:192511670,b:193093749 BRANCH=firmware-volteer-13672.B TEST=test pen insert and remove by evtest , SW_PEN_INSERT value 1 when insert pen to pen slot. SW_PEN_INSERT value 0 when remove pen from pen slot. Signed-off-by: FrankChu <frank_chu@pegatron.corp-partner.google.com> Change-Id: Ida5e5b35464471a7896cef392e178a3d2c0ea1aa Reviewed-on: https://review.coreboot.org/c/coreboot/+/56331 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Zhuohao Lee <zhuohao@google.com>
Diffstat (limited to 'src/mainboard/google/volteer/variants')
-rw-r--r--src/mainboard/google/volteer/variants/collis/overridetree.cb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/volteer/variants/collis/overridetree.cb b/src/mainboard/google/volteer/variants/collis/overridetree.cb
index 0b4d70560d..5ae6b51655 100644
--- a/src/mainboard/google/volteer/variants/collis/overridetree.cb
+++ b/src/mainboard/google/volteer/variants/collis/overridetree.cb
@@ -142,7 +142,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"