diff options
author | Eric Lai <ericr_lai@compal.corp-partner.google.com> | 2019-04-03 16:23:30 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-04-08 14:09:33 +0000 |
commit | a2b7be7496bc8768d18e278d861765aa4025dfb4 (patch) | |
tree | 1fcc4c27a98f9d526c761608565573937771ba28 /src | |
parent | 84743a178a8c6ebd49bc1c08f35e9e6a69e84903 (diff) | |
download | coreboot-a2b7be7496bc8768d18e278d861765aa4025dfb4.tar.xz |
mb/google/sarien: Add support for melfas touch panel
Add a support melfas touch panel with i2c address:0x34.
BUG=b:122019253
TEST=tested with new melfas touch panel and worked
Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com>
Change-Id: I27f5c47517d093c819cbbbcdafd85d74145887e1
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32169
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/sarien/variants/sarien/devicetree.cb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/google/sarien/variants/sarien/devicetree.cb b/src/mainboard/google/sarien/variants/sarien/devicetree.cb index caae79f036..f04149f49e 100644 --- a/src/mainboard/google/sarien/variants/sarien/devicetree.cb +++ b/src/mainboard/google/sarien/variants/sarien/devicetree.cb @@ -332,6 +332,16 @@ chip soc/intel/cannonlake register "hid_desc_reg_offset" = "0x01" device i2c 10 on end end + 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 34 on end + end end # I2C #0 device pci 15.1 on chip drivers/i2c/generic |