From 747fe6c17293093b8cde316140e82d447a748055 Mon Sep 17 00:00:00 2001 From: EricKY Cheng Date: Tue, 21 Feb 2023 15:40:37 +0800 Subject: mb/google/skyrim/var/winterhold: Remove gpio-keys ACPI node for PENH Remove ACPI node for pen eject event to meet project design. BUG=b:265106657 TEST=emerge-skyrim coreboot chromeos-bootimage Change-Id: I732de49c6319397d93671c48a6518c7c7e955fdc Signed-off-by: EricKY Cheng Reviewed-on: https://review.coreboot.org/c/coreboot/+/73154 Reviewed-by: Tim Van Patten Reviewed-by: Dtrain Hsu Reviewed-by: Jon Murphy Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel --- .../google/skyrim/variants/whiterun/overridetree.cb | 12 ------------ .../google/skyrim/variants/winterhold/overridetree.cb | 12 ------------ 2 files changed, 24 deletions(-) diff --git a/src/mainboard/google/skyrim/variants/whiterun/overridetree.cb b/src/mainboard/google/skyrim/variants/whiterun/overridetree.cb index 04da26c62e..1b68d9ebdb 100644 --- a/src/mainboard/google/skyrim/variants/whiterun/overridetree.cb +++ b/src/mainboard/google/skyrim/variants/whiterun/overridetree.cb @@ -211,18 +211,6 @@ chip soc/amd/mendocino register "has_power_resource" = "1" device i2c 34 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 diff --git a/src/mainboard/google/skyrim/variants/winterhold/overridetree.cb b/src/mainboard/google/skyrim/variants/winterhold/overridetree.cb index 51f07a751c..673991e52c 100644 --- a/src/mainboard/google/skyrim/variants/winterhold/overridetree.cb +++ b/src/mainboard/google/skyrim/variants/winterhold/overridetree.cb @@ -211,18 +211,6 @@ chip soc/amd/mendocino register "has_power_resource" = "1" device i2c 34 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 -- cgit v1.2.3