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 <furquan@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34814
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
This commit is contained in:
Furquan Shaikh 2019-08-09 08:02:26 -07:00 committed by Shelley Chen
parent 7439a7adaf
commit 8c206c9fdd
1 changed files with 2 additions and 1 deletions

View File

@ -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)"