diff options
author | Furquan Shaikh <furquan@chromium.org> | 2017-02-19 01:18:09 -0800 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2017-02-20 21:41:34 +0100 |
commit | 5360c7ef94c9415fd0decd99b6a2d243f9c52e4c (patch) | |
tree | 073198f962b49d7db78b3def2f42ef77557e5e5d /src/mainboard/google/reef/variants/snappy/devicetree.cb | |
parent | 658a6dc78de74509d977f71664592e8a77cdec97 (diff) | |
download | coreboot-5360c7ef94c9415fd0decd99b6a2d243f9c52e4c.tar.xz |
drivers/i2c: Use I2C HID driver for wacom devices
Wacom I2C driver does the same thing as I2C HID driver, other than
defining macros for Wacom HID. Instead of maintaining two separate
drivers providing the same functionality, update all wacom devices to
use generic I2C HID driver.
BUG=None
BRANCH=None
TEST=Verified that ACPI nodes for wacom devices are unchanged.
Change-Id: Ibb3226d1f3934f5c3c5d98b939756775d11b792c
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/18401
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'src/mainboard/google/reef/variants/snappy/devicetree.cb')
-rw-r--r-- | src/mainboard/google/reef/variants/snappy/devicetree.cb | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/mainboard/google/reef/variants/snappy/devicetree.cb b/src/mainboard/google/reef/variants/snappy/devicetree.cb index c83306d3d1..8d9d307228 100644 --- a/src/mainboard/google/reef/variants/snappy/devicetree.cb +++ b/src/mainboard/google/reef/variants/snappy/devicetree.cb @@ -210,13 +210,10 @@ chip soc/intel/apollolake end end # - I2C 4 device pci 17.1 on - chip drivers/i2c/wacom - register "generic" = "{ - .hid = WCOM50C1_HID, - .cid = PNP0C50_CID, - .desc = WCOM_DT_DESC, - .irq = IRQ_LEVEL_LOW(GPIO_13_IRQ), - }" + chip drivers/i2c/hid + register "generic.hid" = ""WCOM50C1"" + register "generic.desc" = ""WCOM Digitizer"" + register "generic.irq" = "IRQ_LEVEL_LOW(GPIO_13_IRQ)" register "hid_desc_reg_offset" = "0x1" device i2c 0x9 on end end |