summaryrefslogtreecommitdiff
path: root/src/mainboard/google/skyrim
diff options
context:
space:
mode:
authorTim Van Patten <timvp@google.com>2023-02-22 11:06:38 -0700
committerMartin L Roth <gaumless@gmail.com>2023-03-05 16:09:58 +0000
commitb0054a114ab2082793a9740d090fc8d05e984aea (patch)
treeeca65ac5cfe64d5e5dde8ac9eada82c591311492 /src/mainboard/google/skyrim
parenteeb5491b125e79a2700b444e1506b86373803e27 (diff)
skyrim/overridetree.cb: Remove gpio_keys ACPI node
Only Frostflow supports the stylus, so remove the gpio-keys ACPI node from Skyrim. The Kconfig value DRIVERS_GENERIC_GPIO_KEYS is still enabled for all Skyrim variants, since coreboot will drop the driver from the BIOS image if there are no references to it (in the devicetree). If some other design ends up using the stylus in the future we won't have to bring it back. BUG: none TEST: build_packages --board=skyrim chromeos-bootimage --autosetgov Change-Id: I9ffe215741b72b678d74405769f35167d8ded4b5 Signed-off-by: Tim Van Patten <timvp@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/73299 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'src/mainboard/google/skyrim')
-rw-r--r--src/mainboard/google/skyrim/variants/skyrim/overridetree.cb12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mainboard/google/skyrim/variants/skyrim/overridetree.cb b/src/mainboard/google/skyrim/variants/skyrim/overridetree.cb
index 0b9781ecfe..7b4d76957b 100644
--- a/src/mainboard/google/skyrim/variants/skyrim/overridetree.cb
+++ b/src/mainboard/google/skyrim/variants/skyrim/overridetree.cb
@@ -148,18 +148,6 @@ chip soc/amd/mendocino
register "has_power_resource" = "1"
device i2c 10 on end
end
- chip drivers/generic/gpio_keys
- register "name" = ""PENH""
- register "gpio" = "ACPI_GPIO_INPUT_ACTIVE_LOW(GPIO_3)"
- register "key.dev_name" = ""EJCT""
- register "key.wakeup_event_action" = "EV_ACT_DEASSERTED"
- register "key.linux_code" = "SW_PEN_INSERTED"
- register "key.linux_input_type" = "EV_SW"
- register "key.label" = ""pen_eject""
- register "key.debounce_interval" = "100"
- register "key.wakeup_route" = "WAKEUP_ROUTE_GPIO_IRQ"
- device generic 0 on end
- end
end # I2C1
device ref i2c_2 on
chip drivers/i2c/generic