summaryrefslogtreecommitdiff
path: root/src/mainboard/google/sarien
diff options
context:
space:
mode:
authorCasper Chang <casper_chang@wistron.corp-partner.google.com>2018-12-11 09:37:12 +0800
committerPatrick Georgi <pgeorgi@google.com>2018-12-18 13:29:55 +0000
commit05653ca2567440d9c2153d5a7db591c33715bd9f (patch)
tree555632281d5c81cd8a26d153202e91320afe602e /src/mainboard/google/sarien
parenta9492a6169b4636b93de7c9271dd39a16fcc3a5b (diff)
mb/google/sarien/variants/arcada: Enable touchpad and touchscreen
Enable Elan touchpad and WACOM touchscreen BUG=b:119924134, b:120103010 BRANCH=master TEST=Verify touchpad and touchscreen on arcada work with this change. Signed-off-by: Casper Chang <casper_chang@wistron.corp-partner.google.com> Change-Id: I3dcdb4eeeb32766e64553d9e69e6b7e2b5ba85aa Reviewed-on: https://review.coreboot.org/c/30146 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'src/mainboard/google/sarien')
-rw-r--r--src/mainboard/google/sarien/variants/arcada/devicetree.cb25
1 files changed, 19 insertions, 6 deletions
diff --git a/src/mainboard/google/sarien/variants/arcada/devicetree.cb b/src/mainboard/google/sarien/variants/arcada/devicetree.cb
index ed2c34cbfe..18bd155afa 100644
--- a/src/mainboard/google/sarien/variants/arcada/devicetree.cb
+++ b/src/mainboard/google/sarien/variants/arcada/devicetree.cb
@@ -185,13 +185,26 @@ chip soc/intel/cannonlake
device pci 14.3 on end # CNVi wifi
end
device pci 14.5 off end # SDCard
- device pci 15.0 on end # I2C #0
- device pci 15.1 on
+ device pci 15.0 on
chip drivers/i2c/hid
- register "generic.hid" = ""ACPI0C50""
- register "generic.desc" = ""Touchpad""
- register "generic.irq" = "ACPI_IRQ_EDGE_LOW(GPP_B3_IRQ)"
- register "hid_desc_reg_offset" = "0x20"
+ register "generic.hid" = ""WCOM48E2""
+ register "generic.desc" = ""Wacom Touchscreen""
+ register "generic.irq" = "ACPI_IRQ_EDGE_LOW(GPP_C23_IRQ)"
+ register "generic.probed" = "1"
+ register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E7)"
+ register "generic.enable_delay_ms" = "5"
+ register "generic.has_power_resource" = "1"
+ register "generic.disable_gpio_export_in_crs" = "1"
+ register "hid_desc_reg_offset" = "0x1"
+ device i2c 0A on end
+ end
+ end # I2C #0
+ device pci 15.1 on
+ chip drivers/i2c/generic
+ register "hid" = ""ELAN0000""
+ register "desc" = ""ELAN Touchpad""
+ register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_B3_IRQ)"
+ register "probed" = "1"
device i2c 2c on end
end
end # I2C #1