[coreboot-gerrit] Change in ...coreboot[master]: mb/google/sarien/variants/arcada: Enable touchpad and touchscreen

Casper Chang (Code Review) gerrit at coreboot.org
Tue Dec 11 02:40:43 CET 2018


Casper Chang has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30146


Change subject: mb/google/sarien/variants/arcada: Enable touchpad and touchscreen
......................................................................

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 at wistron.corp-partner.google.com>
Change-Id: I3dcdb4eeeb32766e64553d9e69e6b7e2b5ba85aa
---
M src/mainboard/google/sarien/variants/arcada/devicetree.cb
1 file changed, 19 insertions(+), 6 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/46/30146/1

diff --git a/src/mainboard/google/sarien/variants/arcada/devicetree.cb b/src/mainboard/google/sarien/variants/arcada/devicetree.cb
index fccec9f..9c50856 100644
--- a/src/mainboard/google/sarien/variants/arcada/devicetree.cb
+++ b/src/mainboard/google/sarien/variants/arcada/devicetree.cb
@@ -194,13 +194,26 @@
 			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

-- 
To view, visit https://review.coreboot.org/c/coreboot/+/30146
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3dcdb4eeeb32766e64553d9e69e6b7e2b5ba85aa
Gerrit-Change-Number: 30146
Gerrit-PatchSet: 1
Gerrit-Owner: Casper Chang <casper_chang at wistron.corp-partner.google.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181211/3f19acec/attachment.html>


More information about the coreboot-gerrit mailing list