summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorChris Zhou <chris_zhou@compal.corp-partner.google.com>2018-11-26 16:15:49 +0800
committerPatrick Georgi <pgeorgi@google.com>2018-12-06 12:05:29 +0000
commit6a5b53bef8dfae795d3d6e297508cf559d5d2fd2 (patch)
tree4e0d55a754d0972ace8f34d0e0bdb927ce04fa17 /src/mainboard/google
parentbd5233eb3dbe2a7e3a0369ef13d4851062c347bd (diff)
downloadcoreboot-6a5b53bef8dfae795d3d6e297508cf559d5d2fd2.tar.xz
mb/google/sarien/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@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/29830 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/sarien/variants/sarien/devicetree.cb13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/mainboard/google/sarien/variants/sarien/devicetree.cb b/src/mainboard/google/sarien/variants/sarien/devicetree.cb
index 991e964073..5004abf1b8 100644
--- a/src/mainboard/google/sarien/variants/sarien/devicetree.cb
+++ b/src/mainboard/google/sarien/variants/sarien/devicetree.cb
@@ -202,7 +202,18 @@ chip soc/intel/cannonlake
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 "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""