mb/google/nissa/var/gothrax: Adjust touchscreen driver

Vendor changes touchscreen firmware to use hid method instead of i2c.

BUG=b:274707912
BRANCH=None
TEST=emerge-nissa coreboot

Change-Id: I8e9e0b757e337db6af3fbf3cd4fdbc0079646179
Signed-off-by: Yunlong Jia <yunlong.jia@ecs.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76680
Reviewed-by: Derek Huang <derekhuang@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
This commit is contained in:
Yunlong Jia 2023-07-21 03:32:20 +00:00 committed by Subrata Banik
parent 34fb5ab4e9
commit 11ba8ebbcc
1 changed files with 14 additions and 12 deletions

View File

@ -207,18 +207,20 @@ chip soc/intel/alderlake
end end
end end
device ref i2c1 on device ref i2c1 on
chip drivers/i2c/generic chip drivers/i2c/hid
register "hid" = ""ELAN0001"" register "generic.hid" = ""ELAN7B13""
register "desc" = ""ELAN Touchscreen"" register "generic.desc" = ""ELAN Touchscreen""
register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)" register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
register "detect" = "1" register "generic.detect" = "1"
register "reset_gpio" = register "generic.reset_gpio" =
"ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)" "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
register "reset_delay_ms" = "20" register "generic.reset_delay_ms" = "300"
register "enable_gpio" = register "generic.reset_off_delay_ms" = "2"
"ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)" register "generic.enable_gpio" =
register "enable_delay_ms" = "1" "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
register "has_power_resource" = "1" register "generic.enable_delay_ms" = "6"
register "generic.has_power_resource" = "1"
register "hid_desc_reg_offset" = "0x01"
device i2c 0x10 on end device i2c 0x10 on end
end end
end end