summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@chromium.org>2016-11-09 10:37:03 -0800
committerFurquan Shaikh <furquan@google.com>2016-11-10 20:40:35 +0100
commitce21151a1c050476079c3ce31b8e8013f8cd3282 (patch)
tree5308d3602cb8a7d72cdbc3824dec6e679ad29c6b
parentee019d016d1f1d61cbba3a4b8bdc897f209981bb (diff)
downloadcoreboot-ce21151a1c050476079c3ce31b8e8013f8cd3282.tar.xz
mainboard/google/reef: Add digitizer device to devicetree
BUG=chrome-os-partner:56246 BRANCH=None TEST=Verified kernel is able to talk to the device. Even without the digitizer, no issues observed with the kernel. Change-Id: I894a5f4cd8f6a51e641a2c8f7b1f682ab76712ae Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://review.coreboot.org/17343 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins)
-rw-r--r--src/mainboard/google/reef/variants/baseboard/devicetree.cb13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/mainboard/google/reef/variants/baseboard/devicetree.cb b/src/mainboard/google/reef/variants/baseboard/devicetree.cb
index 6c8cd8f20d..278cc576b7 100644
--- a/src/mainboard/google/reef/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/reef/variants/baseboard/devicetree.cb
@@ -191,7 +191,18 @@ chip soc/intel/apollolake
device i2c 15 on end
end
end # - I2C 4
- device pci 17.1 on end # - I2C 5
+ 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),
+ }"
+ register "hid_desc_reg_offset" = "0x1"
+ device i2c 0x9 on end
+ end
+ end # - I2C 5
device pci 17.2 on end # - I2C 6
device pci 17.3 on end # - I2C 7
device pci 18.0 on end # - UART 0