summaryrefslogtreecommitdiff
path: root/src/mainboard/google/reef/variants/snappy
diff options
context:
space:
mode:
authorWisley Chen <wisley.chen@quantatw.com>2017-01-18 18:00:11 +0800
committerMartin Roth <martinroth@google.com>2017-01-20 17:22:32 +0100
commit26949e65af2860544983e87314c66e68d4e18142 (patch)
tree12f0a242fd28179766668ade41cd45382fc19b25 /src/mainboard/google/reef/variants/snappy
parentbf68f2286c4850f175a3ea350ebfa67a463f3f33 (diff)
google/snappy: Add weida touchscreen support
Add weida touchscreen as 2nd touchscreen source BUG=chrome-os-partner:61865 BRANCH=reef TEST=emerge-snappy coreboot, and verified that touchscreen works on snappy. Change-Id: If76312a62e97da9d5de18ad895e90ee6b0f0c6ae Signed-off-by: Wisley Chen <wisley.chen@quantatw.com> Reviewed-on: https://review.coreboot.org/18166 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/mainboard/google/reef/variants/snappy')
-rw-r--r--src/mainboard/google/reef/variants/snappy/devicetree.cb10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/google/reef/variants/snappy/devicetree.cb b/src/mainboard/google/reef/variants/snappy/devicetree.cb
index d249e53952..e498533db3 100644
--- a/src/mainboard/google/reef/variants/snappy/devicetree.cb
+++ b/src/mainboard/google/reef/variants/snappy/devicetree.cb
@@ -187,6 +187,16 @@ chip soc/intel/apollolake
device i2c 10 on end
end
+ chip drivers/i2c/hid
+ register "generic.hid" = ""WDHT0001""
+ register "generic.desc" = ""WDT Touchscreen""
+ register "generic.irq" = "IRQ_EDGE_LOW(GPIO_21_IRQ)"
+ register "generic.probed" = "1"
+ register "generic.pwr_mgmt_type" = "GPIO_EXPORT"
+ register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_36)"
+ register "hid_desc_reg_offset" = "0x20"
+ device i2c 2c on end
+ end
end # - I2C 3
device pci 17.0 on
chip drivers/i2c/generic