summaryrefslogtreecommitdiff
path: root/src/mainboard/google/deltaur/variants
diff options
context:
space:
mode:
authorEric Lai <ericr_lai@compal.corp-partner.google.com>2020-04-03 13:39:24 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-04-14 10:08:48 +0000
commit72d93667212b0315a323b073d2f6334462377d2c (patch)
tree0966aeaaf94ea0c7cfbab7dbbfe3bba60dd61f29 /src/mainboard/google/deltaur/variants
parent9e0dd9af47ec73e03c8c36dfe691abd795dc0903 (diff)
mb/google/deltaur: Enable Melfas touch screen for Deltan
Reference Drallion to add device tree for Melfas touch screen. BUG=b:152924290 Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com> Change-Id: I7b0a42119891c6c2d5978d7f33eefffa2d62df76 Reviewed-on: https://review.coreboot.org/c/coreboot/+/40113 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard/google/deltaur/variants')
-rw-r--r--src/mainboard/google/deltaur/variants/deltan/overridetree.cb19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mainboard/google/deltaur/variants/deltan/overridetree.cb b/src/mainboard/google/deltaur/variants/deltan/overridetree.cb
index 6a2719b960..be1f29f2f2 100644
--- a/src/mainboard/google/deltaur/variants/deltan/overridetree.cb
+++ b/src/mainboard/google/deltaur/variants/deltan/overridetree.cb
@@ -9,4 +9,23 @@ chip soc/intel/tigerlake
device pci 1f.6 on end # GbE 0x15FC
end
+ device pci 15.0 on
+ chip drivers/i2c/generic
+ register "hid" = ""MLFS0000""
+ register "desc" = ""Melfas Touchscreen""
+ register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_E1_IRQ)"
+ register "probed" = "1"
+ register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_A10)"
+ register "reset_delay_ms" = "10"
+ register "reset_off_delay_ms" = "5"
+ register "stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_B3)"
+ register "stop_delay_ms" = "10"
+ register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_B21)"
+ register "enable_delay_ms" = "55"
+ register "has_power_resource" = "1"
+ register "device_present_gpio" = "GPP_B4"
+ register "device_present_gpio_invert" = "1"
+ device i2c 34 on end
+ end
+ end # I2C #0
end