mb/google/dedede/var/galtic: modify touchscreen to native I2C protocol

Touchscreen will be no function with R93-14092.19.0 image or be later.
It just happened to work because elants_i2c driver would bind
to the device first based on "ELAN0001" HID ID

BUG=b:195994810
TEST= verify only update RW FW can fix touchscreen no function issue
     1.Build test firmware
     2.prepare DUT enviroment (R93 image + update RW to test firmware)
     3.verify touchscreen function normally

Signed-off-by: FrankChu <Frank_Chu@pegatron.corp-partner.google.com>
Change-Id: Ie9e0fe726854d0128ad1bb430544640dc8f034ac
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57011
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Frank Chu <frank_chu@pegatron.corp-partner.google.com>
This commit is contained in:
FrankChu 2021-08-18 11:24:18 +08:00 committed by Felix Held
parent 69bd94ca22
commit a724077b79
1 changed files with 10 additions and 12 deletions

View File

@ -144,18 +144,16 @@ chip soc/intel/jasperlake
end end
end end
device pci 15.2 on device pci 15.2 on
chip drivers/i2c/hid chip drivers/i2c/generic
register "generic.hid" = ""ELAN0001"" register "hid" = ""ELAN0001""
register "generic.desc" = ""ELAN Touchscreen"" register "desc" = ""ELAN Touchscreen""
register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D4_IRQ)" register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_D4_IRQ)"
register "generic.probed" = "1" register "probed" = "1"
register "generic.reset_gpio" = register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D5)"
"ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D5)" register "reset_delay_ms" = "20"
register "generic.enable_gpio" = register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D6)"
"ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D6)" register "enable_delay_ms" = "1"
register "generic.enable_delay_ms" = "7" register "has_power_resource" = "1"
register "generic.has_power_resource" = "1"
register "hid_desc_reg_offset" = "0x00"
device i2c 10 on end device i2c 10 on end
end end
end # I2C 2 end # I2C 2