mb/google/brya/var/felwinter: Enable garage pen detection
Enable garage pen detection. BUG=b:197912223 TEST=Check evtest can trigger event when toggling the switch. Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com> Change-Id: Ib5929c876d1a0da34dadd7997a61ab8e75acbbb6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59234 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
parent
6bc300d8d5
commit
91c3ace5af
|
@ -60,6 +60,7 @@ config BOARD_GOOGLE_TAEKO
|
|||
config BOARD_GOOGLE_FELWINTER
|
||||
bool "-> Felwinter"
|
||||
select BOARD_GOOGLE_BASEBOARD_BRYA
|
||||
select DRIVERS_GENERIC_GPIO_KEYS
|
||||
|
||||
config BOARD_GOOGLE_ANAHERA
|
||||
bool "-> Anahera"
|
||||
|
|
|
@ -101,6 +101,18 @@ chip soc/intel/alderlake
|
|||
register "hid_desc_reg_offset" = "0x01"
|
||||
device i2c 10 on end
|
||||
end
|
||||
chip drivers/generic/gpio_keys
|
||||
register "name" = ""PENH""
|
||||
register "gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A7)"
|
||||
register "key.wake_gpe" = "GPE0_DW0_08"
|
||||
register "key.wakeup_route" = "WAKEUP_ROUTE_SCI"
|
||||
register "key.wakeup_event_action" = "EV_ACT_DEASSERTED"
|
||||
register "key.dev_name" = ""EJCT""
|
||||
register "key.linux_code" = "SW_PEN_INSERTED"
|
||||
register "key.linux_input_type" = "EV_SW"
|
||||
register "key.label" = ""pen_eject""
|
||||
device generic 0 on end
|
||||
end
|
||||
end
|
||||
device ref i2c3 on end
|
||||
device ref i2c5 on
|
||||
|
|
Loading…
Reference in New Issue