[coreboot-gerrit] Change in coreboot[master]: google/snappy: Add MELFAS touch screen support

Kevin Chiu (Code Review) gerrit at coreboot.org
Thu Aug 17 12:45:51 CEST 2017


Kevin Chiu has uploaded this change for review. ( https://review.coreboot.org/21067


Change subject: google/snappy: Add MELFAS touch screen support
......................................................................

google/snappy: Add MELFAS touch screen support

Current fw does not create ACPI device for
OS to recognize MELFAS touchscreen.

List the touch screen in the devicetree so that
the correct ACPI device are created.

BUG=b:64779224
BRANCH=reef
TEST=emerge-snappy coreboot
Change-Id: If2bc910d641e0cf2b120ed883c5788542959f568
Signed-off-by: Kevin Chiu <Kevin.Chiu at quantatw.com>
---
M src/mainboard/google/reef/variants/snappy/devicetree.cb
1 file changed, 7 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/67/21067/1

diff --git a/src/mainboard/google/reef/variants/snappy/devicetree.cb b/src/mainboard/google/reef/variants/snappy/devicetree.cb
index d888896..e0182dd 100644
--- a/src/mainboard/google/reef/variants/snappy/devicetree.cb
+++ b/src/mainboard/google/reef/variants/snappy/devicetree.cb
@@ -193,6 +193,13 @@
 				register "has_power_resource" = "1"
 				device i2c 10 on end
 			end
+                        chip drivers/i2c/generic
+                                register "hid" = ""MLFS0000""
+                                register "desc" = ""Melfas Touchscreen""
+                                register "irq" = "ACPI_IRQ_EDGE_LOW(GPIO_21_IRQ)"
+                                register "probed" = "1"
+                                device i2c 34 on end
+                        end
 			chip drivers/i2c/hid
 				register "generic.hid" = ""WDHT0002""
 				register "generic.desc" = ""WDT Touchscreen""

-- 
To view, visit https://review.coreboot.org/21067
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If2bc910d641e0cf2b120ed883c5788542959f568
Gerrit-Change-Number: 21067
Gerrit-PatchSet: 1
Gerrit-Owner: Kevin Chiu <Kevin.Chiu at quantatw.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170817/c25c9e8c/attachment.html>


More information about the coreboot-gerrit mailing list