mb/google/nissa/var/telith: Disable stylus function

Disable stylus function based on hardware schematic diagram.Because the external environment is floating, EE requires setting GPIO output to be pulled high or low.

BUG=b:372506691
TEST=Local build successfully.

Change-Id: I7b72284ab173633405d5de9541f0ea7520d09658
Signed-off-by: Kun Liu <liukun11@huaqin.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85738
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Eric Lai <ericllai@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Rui Zhou <zhourui@huaqin.corp-partner.google.com>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
This commit is contained in:
Kun Liu 2024-12-23 17:02:08 +08:00 committed by Subrata Banik
commit 79f60c6b22
2 changed files with 4 additions and 14 deletions

View file

@ -42,8 +42,10 @@ static const struct pad_config override_gpio_table[] = {
/* 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*/

View file

@ -388,18 +388,6 @@ chip soc/intel/alderlake
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