Tony Huang has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/52725 )
Change subject: Dooly: enable touchscreen wakeup ......................................................................
Dooly: enable touchscreen wakeup
Stop exposing ACPI Power Resouce for TS as a wake souce. To ensure TS stays enabled across suspend-reumes.
BUG=b:186070097 TEST=Build and make sure TS works. Touch TS can wakeup suspend/resume.
Change-Id: I2bbaab56924849a22a4d05ce53bf5bdcf00265dd Signed-off-by: Tony Huang tony-huang@quanta.corp-partner.google.com --- M src/mainboard/google/hatch/variants/dooly/gpio.c M src/mainboard/google/hatch/variants/dooly/overridetree.cb 2 files changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/25/52725/1
diff --git a/src/mainboard/google/hatch/variants/dooly/gpio.c b/src/mainboard/google/hatch/variants/dooly/gpio.c index 4406c06..2349456 100644 --- a/src/mainboard/google/hatch/variants/dooly/gpio.c +++ b/src/mainboard/google/hatch/variants/dooly/gpio.c @@ -41,6 +41,8 @@ /* C19 : GPP_C19 */ PAD_NC(GPP_C19, NONE),
+ /* D15 : TOUCHSCREEN_RST_L */ + PAD_CFG_GPO(GPP_D15, 1, DEEP), /* D16 : DMIC_ON_OFF MIC_SWITCH_L */ PAD_CFG_GPI(GPP_D16, NONE, DEEP),
diff --git a/src/mainboard/google/hatch/variants/dooly/overridetree.cb b/src/mainboard/google/hatch/variants/dooly/overridetree.cb index 69d1428..f71516d 100644 --- a/src/mainboard/google/hatch/variants/dooly/overridetree.cb +++ b/src/mainboard/google/hatch/variants/dooly/overridetree.cb @@ -325,9 +325,7 @@ register "generic.desc" = ""WDT Touchscreen"" register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_A20_IRQ)" register "generic.probed" = "1" - register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D15)" - register "generic.reset_delay_ms" = "100" - register "generic.has_power_resource" = "1" + register "generic.wake" = "GPE0_DW0_20" register "generic.disable_gpio_export_in_crs" = "1" register "hid_desc_reg_offset" = "0x20" device i2c 2c on end