[coreboot-gerrit] New patch to review for coreboot: mainboard/google/snappy: Add digitizer device to devicetree

Wisley Chen (wisley.chen@quantatw.com) gerrit at coreboot.org
Sun Nov 27 09:47:30 CET 2016


Wisley Chen (wisley.chen at quantatw.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17618

-gerrit

commit b2984e161129ffd03244bd975c9318449f34409d
Author: Wisley Chen <wisley.chen at quantatw.com>
Date:   Sun Nov 27 16:31:22 2016 +0800

    mainboard/google/snappy: Add digitizer device to devicetree
    
    BUG=chrome-os-partner:59034
    BRANCH=none
    TEST=emerge-snappy coreboot chromeos-bootimage
    
    Change-Id: Ib99ae5357274ad0824d0989888dfddcb32ace7e2
    Signed-off-by: Wisley Chen <wisley.chen at quantatw.com>
---
 src/mainboard/google/reef/variants/snappy/devicetree.cb | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/src/mainboard/google/reef/variants/snappy/devicetree.cb b/src/mainboard/google/reef/variants/snappy/devicetree.cb
index 00df9bd..b024682 100644
--- a/src/mainboard/google/reef/variants/snappy/devicetree.cb
+++ b/src/mainboard/google/reef/variants/snappy/devicetree.cb
@@ -155,7 +155,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



More information about the coreboot-gerrit mailing list