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>
This commit is contained in:
Eric Lai 2019-04-03 16:23:30 +08:00 committed by Patrick Georgi
parent 84743a178a
commit a2b7be7496
1 changed files with 10 additions and 0 deletions

View File

@ -332,6 +332,16 @@ chip soc/intel/cannonlake
register "hid_desc_reg_offset" = "0x01" register "hid_desc_reg_offset" = "0x01"
device i2c 10 on end device i2c 10 on end
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 end # I2C #0
device pci 15.1 on device pci 15.1 on
chip drivers/i2c/generic chip drivers/i2c/generic