[coreboot-gerrit] Change in ...coreboot[master]: mb/google/poppy/variants/sarien: Enable melf touchscreen

Chris Zhou (Code Review) gerrit at coreboot.org
Mon Nov 26 09:18:54 CET 2018


Chris Zhou has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29830


Change subject: mb/google/poppy/variants/sarien: Enable melf touchscreen
......................................................................

mb/google/poppy/variants/sarien: Enable melf touchscreen

BUG=b:119799550
BRANCH=master
TEST=Verify touchscreen on sarien works with this change.

Change-Id: I926c988c141628ae2d98206f9eb615d06357a366
Signed-off-by: Chris Zhou <chris_zhou at compal.corp-partner.google.com>
---
M src/mainboard/google/sarien/variants/sarien/devicetree.cb
1 file changed, 14 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/30/29830/1

diff --git a/src/mainboard/google/sarien/variants/sarien/devicetree.cb b/src/mainboard/google/sarien/variants/sarien/devicetree.cb
index b33c923..8889aae 100644
--- a/src/mainboard/google/sarien/variants/sarien/devicetree.cb
+++ b/src/mainboard/google/sarien/variants/sarien/devicetree.cb
@@ -115,7 +115,20 @@
 			device pci 14.3 on  end # CNVi wifi
 		end
 		device pci 14.5 off end # SDCard
-		device pci 15.0 on  end # I2C #0
+		device pci 15.0 on
+			chip drivers/i2c/generic
+				register "hid" = ""MLFS0000""
+				register "desc" = ""Melfas Touchscreen""
+				register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_C23_IRQ)"
+				register "probed" = "1"
+				register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_B13)"
+				register "reset_delay_ms" = "1"
+				register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E7)"
+				register "enable_delay_ms" = "5"
+				register "has_power_resource" = "1"
+				device i2c 10 on end
+			end
+		end # I2C #0
 		device pci 15.1 on
 			chip drivers/i2c/hid
 				register "generic.hid" = ""ACPI0C50""

-- 
To view, visit https://review.coreboot.org/c/coreboot/+/29830
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I926c988c141628ae2d98206f9eb615d06357a366
Gerrit-Change-Number: 29830
Gerrit-PatchSet: 1
Gerrit-Owner: Chris Zhou <chris_zhou at compal.corp-partner.google.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181126/8b4c7a60/attachment.html>


More information about the coreboot-gerrit mailing list