summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorTyler Wang <tyler.wang@quanta.corp-partner.google.com>2023-08-31 17:42:59 +0800
committerMartin L Roth <gaumless@gmail.com>2023-09-02 16:17:47 +0000
commitb35429457a8ebcaab52dde7a7fc0219a7472a126 (patch)
tree7e015bb4706d7fa6afe97413614bee73b664b65f /src/mainboard
parent208cbdb6af078851915a491b8415c914646eb0c8 (diff)
mb/google/rex/var/karis: Enable ELAN touchscreen
BUG=b:294155897 TEST=emerge-rex coreboot Change-Id: I179df1e0e544783f77a485ad08293530e8a86ecd Signed-off-by: Tyler Wang <tyler.wang@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77592 Reviewed-by: Eran Mitrani <mitrani@google.com> Reviewed-by: Kapil Porwal <kapilporwal@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/rex/variants/karis/overridetree.cb15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/mainboard/google/rex/variants/karis/overridetree.cb b/src/mainboard/google/rex/variants/karis/overridetree.cb
index 04e21babb7..7bde6bc6fb 100644
--- a/src/mainboard/google/rex/variants/karis/overridetree.cb
+++ b/src/mainboard/google/rex/variants/karis/overridetree.cb
@@ -378,20 +378,21 @@ chip soc/intel/meteorlake
end #I2C0
device ref i2c1 on
chip drivers/i2c/hid
- register "generic.hid" = ""ELAN6918""
+ register "generic.hid" = ""ELAN90FC""
register "generic.desc" = ""ELAN Touchscreen""
register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C07_IRQ)"
- register "generic.probed" = "1"
+ register "generic.detect" = "1"
register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C01)"
- register "generic.reset_delay_ms" = "20"
- register "generic.reset_off_delay_ms" = "2"
+ register "generic.reset_delay_ms" = "150"
+ register "generic.reset_off_delay_ms" = "1"
register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C00)"
- register "generic.enable_delay_ms" = "1"
+ register "generic.enable_delay_ms" = "6"
+ register "generic.enable_off_delay_ms" = "30"
register "generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C06)"
- register "generic.stop_off_delay_ms" = "2"
+ register "generic.stop_off_delay_ms" = "1"
register "generic.has_power_resource" = "1"
register "hid_desc_reg_offset" = "0x01"
- device i2c 10 on end
+ device i2c 0x10 on end
end
chip drivers/generic/gpio_keys
register "name" = ""PENH""