mb/google/skyrim/var/skyrim: Add ELAN trackpad config

Add support for ELAN trackpad on I2C0 bus.

BUG=None
TEST=Build and boot to OS in Skyrim. Perform evtest on Elan trackpad.

Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Change-Id: Ia1522af3f35ef131dda74c4aabecc4fa532dfbec
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63236
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
This commit is contained in:
Karthikeyan Ramasubramanian 2022-03-30 17:58:29 -06:00 committed by Felix Held
parent 5315e96abf
commit 77c1f5c035
1 changed files with 10 additions and 0 deletions

View File

@ -56,4 +56,14 @@ chip soc/amd/sabrina
.early_init = true, .early_init = true,
}" }"
device ref i2c_0 on
chip drivers/i2c/generic
register "hid" = ""ELAN0000""
register "desc" = ""ELAN Touchpad""
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_40)"
register "wake" = "GEVENT_20"
register "probed" = "1"
device i2c 15 on end
end
end # I2C0
end # chip soc/amd/sabrina end # chip soc/amd/sabrina