summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede
diff options
context:
space:
mode:
authorEvan Green <evgreen@chromium.org>2020-07-06 14:11:24 -0700
committerKarthik Ramasubramanian <kramasub@google.com>2020-07-30 05:26:42 +0000
commitb96d9b6e2fce4594baa045de82e2f7708e35b9ee (patch)
tree77dd7f493433ddd4e33b552356b6d0270944c46c /src/mainboard/google/dedede
parentefcfaa8b6c954fa3b97a9e7a459a1f1cf13c8bc9 (diff)
downloadcoreboot-b96d9b6e2fce4594baa045de82e2f7708e35b9ee.tar.xz
mb/google/dedede: Add Goodix touchscreen
Add overridetree info for the touchscreen. BUG=b:160129126 TEST=cros flash-ap -b dedede Signed-off-by: Evan Green <evgreen@chromium.org> Change-Id: I55fc0749b824a0bf4b615d02bd8bc39bcdd589e0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/43153 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/mainboard/google/dedede')
-rw-r--r--src/mainboard/google/dedede/variants/waddledee/overridetree.cb15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/waddledee/overridetree.cb b/src/mainboard/google/dedede/variants/waddledee/overridetree.cb
index 3534c4e324..b18e589e00 100644
--- a/src/mainboard/google/dedede/variants/waddledee/overridetree.cb
+++ b/src/mainboard/google/dedede/variants/waddledee/overridetree.cb
@@ -84,6 +84,21 @@ chip soc/intel/jasperlake
register "hid_desc_reg_offset" = "0x00"
device i2c 5c on end
end
+ 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 19.0 on
chip drivers/i2c/generic