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>
This commit is contained in:
FrankChu 2021-07-15 16:13:53 +08:00 committed by Patrick Georgi
parent c775abba98
commit e0758cb4f2
1 changed files with 1 additions and 1 deletions

View File

@ -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"