[coreboot-gerrit] Patch set updated for coreboot: google/reef/variants/pyro: Use WCOM Touchscreen driver
Furquan Shaikh (furquan@google.com)
gerrit at coreboot.org
Mon Oct 24 06:16:07 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 2f12dbc68e5a1ec3ae7974561f39936fd099ac1c
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 | 2 ++
src/mainboard/google/reef/variants/pyro/Kconfig | 7 +++++++
src/mainboard/google/reef/variants/pyro/devicetree.cb | 13 ++++++++-----
3 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/src/mainboard/google/reef/Kconfig b/src/mainboard/google/reef/Kconfig
index d5d64c8..b549e21 100644
--- a/src/mainboard/google/reef/Kconfig
+++ b/src/mainboard/google/reef/Kconfig
@@ -15,6 +15,8 @@ config BOARD_GOOGLE_BASEBOARD_REEF
if BOARD_GOOGLE_BASEBOARD_REEF
+source src/mainboard/google/reef/variants/pyro/Kconfig
+
config BASEBOARD_REEF_LAPTOP
def_bool n
select SYSTEM_TYPE_LAPTOP
diff --git a/src/mainboard/google/reef/variants/pyro/Kconfig b/src/mainboard/google/reef/variants/pyro/Kconfig
new file mode 100644
index 0000000..c032580
--- /dev/null
+++ b/src/mainboard/google/reef/variants/pyro/Kconfig
@@ -0,0 +1,7 @@
+
+if BOARD_GOOGLE_PYRO
+
+config DRIVERS_I2C_WACOM_TS
+ default y
+
+endif # BOARD_GOOGLE_PYRO
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