From 8c206c9fdddca7e69130ab3a6fa3bc505c6e4cc1 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Fri, 9 Aug 2019 08:02:26 -0700 Subject: mb/google/hatch/var/kohaku: Change Atmel touchscreen HID to PRP0001 This change updates the Atmel touchscreen ACPI node to use PRP0001 as _HID to allow OF-style compatible string matching for enumeration. Reason for this change: Atmel touchscreen driver in Linux kernel looks for "compatible" property to decide if it is okay to attach to the device. This check seems to be a protection against old firmware in the field that do not have the right properties. BUG=b:129162037 TEST=Verified that touchscreen works on Kohaku. Change-Id: I6d027f8533494e903efd1da8da1fa273a97fe9b2 Signed-off-by: Furquan Shaikh Reviewed-on: https://review.coreboot.org/c/coreboot/+/34814 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak Reviewed-by: Paul Fagerburg --- src/mainboard/google/hatch/variants/kohaku/overridetree.cb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mainboard') diff --git a/src/mainboard/google/hatch/variants/kohaku/overridetree.cb b/src/mainboard/google/hatch/variants/kohaku/overridetree.cb index 84a90ae68d..1d4c1c3e82 100644 --- a/src/mainboard/google/hatch/variants/kohaku/overridetree.cb +++ b/src/mainboard/google/hatch/variants/kohaku/overridetree.cb @@ -86,7 +86,8 @@ chip soc/intel/cannonlake device pci 15.1 on chip drivers/i2c/generic - register "hid" = ""ATML0001"" + register "hid" = "ACPI_DT_NAMESPACE_HID" + register "compat_string" = ""atmel,maxtouch"" register "desc" = ""Atmel Touchscreen"" register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_D16_IRQ)" register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D15)" -- cgit v1.2.3