summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSheng-Liang Pan <Sheng-Liang.Pan@quantatw.com>2017-08-28 17:25:40 +0800
committerAaron Durbin <adurbin@chromium.org>2017-08-28 18:20:50 +0000
commit45448eda519d2df8df0996290eecc7e46d3407a8 (patch)
tree2f981fe73c0dfe9674fd5ae27bcd9aaf69aa425e
parent933ca5b9bc808fb15b6d9fe5c595d9bd1e0565fd (diff)
downloadcoreboot-45448eda519d2df8df0996290eecc7e46d3407a8.tar.xz
google/Bruce: Add Raydium touch screen support
Current coreboot does not create ACPI device for OS to recognize Raydium touchscreen. List the touch screen in the devicetree so that the correct ACPI device are created. BUG=b:64705535 BRANCH=master TEST=emerge-coral coreboot Change-Id: Ifdea897ef66dd10f29a8a0e72f9406d316fbe8c7 Signed-off-by: Pan Sheng-Liang <Sheng-Liang.Pan@quantatw.com> Reviewed-on: https://review.coreboot.org/21233 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
-rw-r--r--src/mainboard/google/reef/variants/coral/devicetree.cb7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/reef/variants/coral/devicetree.cb b/src/mainboard/google/reef/variants/coral/devicetree.cb
index d5f546c99b..4f889d843b 100644
--- a/src/mainboard/google/reef/variants/coral/devicetree.cb
+++ b/src/mainboard/google/reef/variants/coral/devicetree.cb
@@ -188,6 +188,13 @@ chip soc/intel/apollolake
register "has_power_resource" = "1"
device i2c 10 on end
end
+ chip drivers/i2c/generic
+ register "hid" = ""RAYD0001""
+ register "desc" = ""Raydium Touchscreen""
+ register "irq" = "ACPI_IRQ_EDGE_LOW(GPIO_21_IRQ)"
+ register "probed" = "1"
+ device i2c 39 on end
+ end
end # - I2C 3
device pci 17.0 on
chip drivers/i2c/generic