diff options
author | Furquan Shaikh <furquan@chromium.org> | 2016-10-21 16:45:59 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2016-10-26 22:52:07 +0200 |
commit | 8be4fdfcc130e2d9cc113c51853b57a27b9333b0 (patch) | |
tree | 41c64813c541d165307ea2848ddf4218c851356d /src/mainboard/google | |
parent | 16e660560ab4892d8a3add2068b187b633c63361 (diff) | |
download | coreboot-8be4fdfcc130e2d9cc113c51853b57a27b9333b0.tar.xz |
google/reef/variants/pyro: Use WCOM Touchscreen driver
BUG=chrome-os-partner:57846
Change-Id: Ibd3ef8cebcf99ee2186dfed98b04373dd17e798e
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/17093
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/reef/Kconfig | 3 | ||||
-rw-r--r-- | src/mainboard/google/reef/variants/pyro/devicetree.cb | 16 |
2 files changed, 13 insertions, 6 deletions
diff --git a/src/mainboard/google/reef/Kconfig b/src/mainboard/google/reef/Kconfig index d5d64c82e6..6045f47692 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 43ec2ed054..a0ba584e07 100644 --- a/src/mainboard/google/reef/variants/pyro/devicetree.cb +++ b/src/mainboard/google/reef/variants/pyro/devicetree.cb @@ -131,12 +131,16 @@ 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" - device i2c 10 on end + chip drivers/i2c/wacom_ts + register "generic" = "{ + .hid = WCOM50C1_HID, + .cid = PNP0C50_CID, + .desc = WCOM_TS_DESC, + .irq = IRQ_EDGE_LOW(GPIO_21_IRQ), + .probed = 1, + }" + register "hid_desc_reg_offset" = "0x1" + device i2c 0xA on end end end # - I2C 3 device pci 17.0 on |