summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorTony Huang <tony-huang@quanta.corp-partner.google.com>2020-11-05 16:53:56 +0800
committerEdward O'Callaghan <quasisec@chromium.org>2020-11-10 04:03:45 +0000
commit2e7317568a26e0dd985672e83e5ffdc339b7a278 (patch)
tree654c9aeabe789d5e9bdae1d771280c8a0fd2d15d /src/mainboard
parentac6565279ce30e2eed8e5fcc14f687013717c82f (diff)
mb/google/puff/var/dooly: Add WEIDA touchscreen device
Adds ACPI properties for WDT8762A device. Per spec v0.8 HID name WDHT2002 T14=100ms BUG=b:163561649 BRANCH=puff TEST=emerge-puff coreboot and check system dmesg and evtest can get device. Change-Id: I178e9d5aa1e1501d33b3cd4092f3f522bb6f1a74 Signed-off-by: Tony Huang <tony-huang@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47280 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sam McNally <sammc@google.com> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/hatch/variants/dooly/overridetree.cb15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/mainboard/google/hatch/variants/dooly/overridetree.cb b/src/mainboard/google/hatch/variants/dooly/overridetree.cb
index f4b6d63897..8ced613fde 100644
--- a/src/mainboard/google/hatch/variants/dooly/overridetree.cb
+++ b/src/mainboard/google/hatch/variants/dooly/overridetree.cb
@@ -311,7 +311,20 @@ chip soc/intel/cannonlake
end # I2C #0 ALC1015
device pci 15.1 off end # I2C #1
device pci 15.2 on end # I2C #2 LVDS
- device pci 15.3 on end # I2C #3 Touchscreen
+ device pci 15.3 on
+ chip drivers/i2c/hid
+ register "generic.hid" = ""WDHT2002""
+ register "generic.desc" = ""WDT Touchscreen""
+ register "generic.irq" = "ACPI_IRQ_EDGE_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.disable_gpio_export_in_crs" = "1"
+ register "hid_desc_reg_offset" = "0x20"
+ device i2c 2c on end
+ end
+ end # I2C #3 Touchscreen
device pci 16.0 on end # Management Engine Interface 1
device pci 19.0 on
chip drivers/i2c/generic