From 6a5b53bef8dfae795d3d6e297508cf559d5d2fd2 Mon Sep 17 00:00:00 2001 From: Chris Zhou Date: Mon, 26 Nov 2018 16:15:49 +0800 Subject: 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 Reviewed-on: https://review.coreboot.org/c/29830 Tested-by: build bot (Jenkins) Reviewed-by: Duncan Laurie --- src/mainboard/google/sarien/variants/sarien/devicetree.cb | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src') 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"" -- cgit v1.2.3