Kun Liu has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/85738?usp=email )
Change subject: mb/google/nissa/var/telith: Disable stylus GPIOs ......................................................................
mb/google/nissa/var/telith: Disable stylus GPIOs
Disable stylus GPIOs based on hardware schematic diagram.
BUG=b:372506691 TEST=Local build successfully.
Change-Id: I7b72284ab173633405d5de9541f0ea7520d09658 Signed-off-by: Kun Liu liukun11@huaqin.corp-partner.google.com --- M src/mainboard/google/brya/variants/telith/gpio.c M src/mainboard/google/brya/variants/telith/overridetree.cb 2 files changed, 4 insertions(+), 14 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/38/85738/1
diff --git a/src/mainboard/google/brya/variants/telith/gpio.c b/src/mainboard/google/brya/variants/telith/gpio.c index 7570d51..0043111 100644 --- a/src/mainboard/google/brya/variants/telith/gpio.c +++ b/src/mainboard/google/brya/variants/telith/gpio.c @@ -42,8 +42,10 @@
/* F6 : CNV_PA_BLANKING ==> NC */ PAD_NC(GPP_F6, NONE), - /* F15 : GSXSRESET# ==> SOC_PEN_DETECT_ODL */ - PAD_CFG_GPI_SCI_HIGH(GPP_F15, NONE, PLTRST, EDGE_BOTH), + /* F15 : GSXSRESET# ==> GPIO */ + PAD_CFG_GPO(GPP_F15, 0, DEEP), + /* F13 : GSXSLOAD ==> GPIO */ + PAD_CFG_GPO(GPP_F13, 0, DEEP), /* F18 : THC1_SPI2_INT# ==> NC */ PAD_NC(GPP_F18, NONE), /* F23 : V1P05_CTRL ==> NC*/ diff --git a/src/mainboard/google/brya/variants/telith/overridetree.cb b/src/mainboard/google/brya/variants/telith/overridetree.cb index b48d8a6..1d6cd45 100644 --- a/src/mainboard/google/brya/variants/telith/overridetree.cb +++ b/src/mainboard/google/brya/variants/telith/overridetree.cb @@ -388,18 +388,6 @@ 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(GPP_F13)" - register "key.wake_gpe" = "GPE0_DW2_15" - register "key.wakeup_route" = "WAKEUP_ROUTE_SCI" - register "key.wakeup_event_action" = "EV_ACT_ANY" - 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 i2c2 on chip drivers/intel/mipi_camera