summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2019-12-23 15:07:57 -0600
committerPatrick Georgi <pgeorgi@google.com>2019-12-31 15:17:51 +0000
commit66bd887005a5836c34228a763ce19893e644cae3 (patch)
treec4bb5eecff3b71c534a8b71cd0d5c94393104c21
parent48c7870e5294336851472ac9eb1e4665715316f9 (diff)
downloadcoreboot-66bd887005a5836c34228a763ce19893e644cae3.tar.xz
mb/google/peppy: add _DSD to touchscreen ACPI
Recent changes to the Atmel touchscreen driver in the mainline kernel broke functionality with devices running upstream coreboot, due relying on another driver (chromeos_laptop) which makes the assumption that the i2c devices are be in PCI mode (as with the stock Google firmware) rather than in ACPI mode as they are in upstream coreboot. Mitigate this by adding the required devicetree property so the Atmel toushcreen driver will correctly attach without the use of chromeos_laptop. Test: build/boot peppy on 4.18+ kernel, verify touchscreen working Change-Id: I05df8367886eef55b409590f75a68d98d4e5fbdf Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37915 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nicolò Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--src/mainboard/google/slippy/variants/peppy/include/variant/acpi/mainboard.asl7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/slippy/variants/peppy/include/variant/acpi/mainboard.asl b/src/mainboard/google/slippy/variants/peppy/include/variant/acpi/mainboard.asl
index cc3e063f19..4c930de9ca 100644
--- a/src/mainboard/google/slippy/variants/peppy/include/variant/acpi/mainboard.asl
+++ b/src/mainboard/google/slippy/variants/peppy/include/variant/acpi/mainboard.asl
@@ -140,6 +140,13 @@ Scope (\_SB.PCI0.I2C1)
}
}
+ Name (_DSD, Package () {
+ ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
+ Package () {
+ Package () {"compatible", "atmel,maxtouch"},
+ }
+ })
+
Method (_STA)
{
If (LEqual (\S2EN, 1)) {