[coreboot-gerrit] Patch set updated for coreboot: google/reef/variants/pyro: Use WCOM Touchscreen driver

Furquan Shaikh (furquan@google.com) gerrit at coreboot.org
Sat Oct 22 05:06:39 CEST 2016


Furquan Shaikh (furquan at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17093

-gerrit

commit 25e511f0edf6916467097d1df78ef04b820f8cb7
Author: Furquan Shaikh <furquan at chromium.org>
Date:   Fri Oct 21 16:45:59 2016 -0700

    google/reef/variants/pyro: Use WCOM Touchscreen driver
    
    BUG=chrome-os-partner:57846
    
    Change-Id: Ibd3ef8cebcf99ee2186dfed98b04373dd17e798e
    Signed-off-by: Furquan Shaikh <furquan at chromium.org>
---
 src/mainboard/google/reef/Kconfig                     |  3 +++
 src/mainboard/google/reef/variants/pyro/devicetree.cb | 13 ++++++++-----
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/src/mainboard/google/reef/Kconfig b/src/mainboard/google/reef/Kconfig
index d5d64c8..6045f47 100644
--- a/src/mainboard/google/reef/Kconfig
+++ b/src/mainboard/google/reef/Kconfig
@@ -40,6 +40,9 @@ config DRIVERS_I2C_DA7219
 config DRIVERS_I2C_GENERIC
 	default y
 
+config DRIVERS_I2C_WACOM_TS
+	default y
+
 config DRIVERS_PS2_KEYBOARD
 	default y
 
diff --git a/src/mainboard/google/reef/variants/pyro/devicetree.cb b/src/mainboard/google/reef/variants/pyro/devicetree.cb
index 43ec2ed..62183cc 100644
--- a/src/mainboard/google/reef/variants/pyro/devicetree.cb
+++ b/src/mainboard/google/reef/variants/pyro/devicetree.cb
@@ -131,11 +131,14 @@ chip soc/intel/apollolake
 			end
 		end	# - I2C 2
 		device pci 16.3 on
-			chip drivers/i2c/generic
-				register "hid" = ""ELAN0001""
-				register "desc" = ""ELAN Touchscreen""
-				register "irq" = "IRQ_EDGE_LOW(GPIO_21_IRQ)"
-				register "probed" = "1"
+			chip drivers/i2c/wacom_ts
+				register "generic" = "{
+					 .hid = WCOM50C1_HID,
+					 .cid = PNP0C50_CID,
+					 .desc = WCOM_TS_DESC,
+					 .irq = IRQ_EDGE_LOW(GPIO_21_IRQ),
+				}"
+				register "hid_desc_reg_offset" = "0x1"
 				device i2c 10 on end
 			end
 		end	# - I2C 3



More information about the coreboot-gerrit mailing list