summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/brya/variants/anahera4es/overridetree.cb
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2023-04-27 10:04:27 -0500
committerFelix Held <felix-coreboot@felixheld.de>2023-08-09 13:40:57 +0000
commit8a0e6b5c74d3103686f44dc81eab1d29ea6b317a (patch)
tree92c159169f3447d3b72321326adbf48f3231f777 /src/mainboard/google/brya/variants/anahera4es/overridetree.cb
parentd7d74f106d7460709ca6ac069a33cf03790db293 (diff)
downloadcoreboot-8a0e6b5c74d3103686f44dc81eab1d29ea6b317a.tar.gz
coreboot-8a0e6b5c74d3103686f44dc81eab1d29ea6b317a.tar.bz2
coreboot-8a0e6b5c74d3103686f44dc81eab1d29ea6b317a.zip
mb/google/brya: Use runtime detection for touchscreens
Now that power sequencing has been implemented, switch from using ACPI "probed" flag to "detect" flag for all i2c touchscreens. This removes non-present devices from the SSDT and relieves the OS of the burden of probing. TEST=build/boot Windows/linux on redrix?, verify touchscreen functional in OS, dump ACPI and verify only i2c devices actually present on the board have entries in the SSDT. Change-Id: I0273014b2d164f67f503da7b968a09256bffb43c Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74929 Reviewed-by: Martin L Roth <gaumless@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/brya/variants/anahera4es/overridetree.cb')
-rw-r--r--src/mainboard/google/brya/variants/anahera4es/overridetree.cb4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/variants/anahera4es/overridetree.cb b/src/mainboard/google/brya/variants/anahera4es/overridetree.cb
index 2d19394a4932..7cdc8c0dbcea 100644
--- a/src/mainboard/google/brya/variants/anahera4es/overridetree.cb
+++ b/src/mainboard/google/brya/variants/anahera4es/overridetree.cb
@@ -205,7 +205,7 @@ chip soc/intel/alderlake
register "hid" = ""ELAN0001""
register "desc" = ""ELAN Touchscreen""
register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
- register "probed" = "1"
+ register "detect" = "1"
register "reset_gpio" =
"ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
register "reset_delay_ms" = "100"
@@ -223,7 +223,7 @@ chip soc/intel/alderlake
register "generic.hid" = ""GTCH7503""
register "generic.desc" = ""G2TOUCH Touchscreen""
register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
- register "generic.probed" = "1"
+ register "generic.detect" = "1"
register "generic.reset_gpio" =
"ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
register "generic.reset_delay_ms" = "50"