diff options
author | Wisley Chen <wisley.chen@quantatw.com> | 2020-06-30 21:27:58 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-07-08 07:30:07 +0000 |
commit | 742bccfb5cf592d0a43eed98b9d5d3daee96eec9 (patch) | |
tree | 8819846af574a4f7dcd2ce9a1bf983d6be640798 /src/mainboard/google | |
parent | 03a79520d6f62072ff3de75cc8bbbf0ff4876f62 (diff) | |
download | coreboot-742bccfb5cf592d0a43eed98b9d5d3daee96eec9.tar.xz |
mb/google/dedede/var/drawcia: add elan touchscreen
BUG=b:155002684
TEST=build drawcia, and check touchscreen can work
Change-Id: Ib6a190d2f6fc5132af0e58c6df9919381e88f699
Signed-off-by: Wisley Chen <wisley.chen@quantatw.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42923
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/dedede/variants/drawcia/overridetree.cb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/drawcia/overridetree.cb b/src/mainboard/google/dedede/variants/drawcia/overridetree.cb index a92dbdb5f9..3b675107c7 100644 --- a/src/mainboard/google/dedede/variants/drawcia/overridetree.cb +++ b/src/mainboard/google/dedede/variants/drawcia/overridetree.cb @@ -47,5 +47,19 @@ chip soc/intel/jasperlake device i2c 15 on end end end #I2C 0 + device pci 15.2 on + chip drivers/i2c/generic + register "hid" = ""ELAN0001"" + register "desc" = ""ELAN Touchscreen"" + register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_D4_IRQ)" + register "probed" = "1" + register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D5)" + register "reset_delay_ms" = "20" + register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D6)" + register "enable_delay_ms" = "1" + register "has_power_resource" = "1" + device i2c 10 on end + end + end # I2C 2 end end |