diff options
author | Ian Feng <ian_feng@compal.corp-partner.google.com> | 2020-07-29 12:56:37 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-08-03 05:21:01 +0000 |
commit | c6ee65f5437d3ef97d3c3274fc7897348d257775 (patch) | |
tree | 08f190d11a5feffbeed0fa0749d4c6a761c81b15 /src/mainboard/google | |
parent | dde6b8a89c1a6fc3a5b410eae44b3e5780e24706 (diff) |
mb/google/dedede/var/madoo: Enable Goodix touchscreen
Add Goodix touchscreen support.
BUG=b:160868197
BRANCH=None
TEST=emerge-dedede coreboot chromeos-bootimage", build successful
Signed-off-by: Ian Feng <ian_feng@compal.corp-partner.google.com>
Change-Id: I9bf27d69d0895cb4ea8620a6da49e98d25e05c23
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44012
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/dedede/variants/madoo/overridetree.cb | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/mainboard/google/dedede/variants/madoo/overridetree.cb b/src/mainboard/google/dedede/variants/madoo/overridetree.cb index e189ec3afb..f8e2b06674 100644 --- a/src/mainboard/google/dedede/variants/madoo/overridetree.cb +++ b/src/mainboard/google/dedede/variants/madoo/overridetree.cb @@ -57,7 +57,23 @@ chip soc/intel/jasperlake end end # USB xHCI device pci 15.0 on end - device pci 15.2 on end + device pci 15.2 on + chip drivers/i2c/hid + register "generic.hid" = ""GDIX0000"" + register "generic.desc" = ""Goodix Touchscreen"" + register "generic.irq" = "ACPI_IRQ_EDGE_LOW(GPP_D4_IRQ)" + register "generic.probed" = "1" + register "generic.reset_gpio" = + "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D5)" + register "generic.reset_delay_ms" = "120" + register "generic.reset_off_delay_ms" = "2" + register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D6)" + register "generic.enable_delay_ms" = "12" + register "generic.has_power_resource" = "1" + register "hid_desc_reg_offset" = "0x01" + device i2c 0x5d on end + end + end # I2C 2 device pci 1c.7 on end device pci 19.0 on chip drivers/i2c/generic |