mb/google/nissa/var/yavilla: Add elan touchscreen support
Update devicetree to support ELAN I2C generic touchscreen. BUG=b:273791621 BRANCH=firmware-nissa-15217.B TEST=emerge-nissa coreboot Change-Id: I2779c2930d89ff42233f9b20bd8abdf6dc00c0e0 Signed-off-by: Tony Huang <tony-huang@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74776 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Derek Huang <derekhuang@google.com>
This commit is contained in:
parent
7915884a2f
commit
0f8c03b593
|
@ -156,6 +156,22 @@ chip soc/intel/alderlake
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
device ref i2c1 on
|
device ref i2c1 on
|
||||||
|
chip drivers/i2c/generic
|
||||||
|
register "hid" = ""ELAN0001""
|
||||||
|
register "desc" = ""ELAN Touchscreen""
|
||||||
|
register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
|
||||||
|
register "probed" = "1"
|
||||||
|
register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
|
||||||
|
register "reset_delay_ms" = "20"
|
||||||
|
register "reset_off_delay_ms" = "2"
|
||||||
|
register "stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)"
|
||||||
|
register "stop_delay_ms" = "280"
|
||||||
|
register "stop_off_delay_ms" = "2"
|
||||||
|
register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
|
||||||
|
register "enable_delay_ms" = "1"
|
||||||
|
register "has_power_resource" = "1"
|
||||||
|
device i2c 10 on end
|
||||||
|
end
|
||||||
chip drivers/i2c/hid
|
chip drivers/i2c/hid
|
||||||
register "generic.hid" = ""ELAN2513""
|
register "generic.hid" = ""ELAN2513""
|
||||||
register "generic.desc" = ""ELAN Touchscreen""
|
register "generic.desc" = ""ELAN Touchscreen""
|
||||||
|
|
Loading…
Reference in New Issue