diff options
author | Karthikeyan Ramasubramanian <kramasub@google.com> | 2022-03-30 17:58:29 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-04-01 22:17:37 +0000 |
commit | 77c1f5c03565726a0d5086bb2fc7be7c7a7f20c4 (patch) | |
tree | d50be85adfc6d2a48295bcfb77911f8b8c2cf9d3 /src | |
parent | 5315e96abfa5b45fcd53149df5ebaa069a830558 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/skyrim/variants/skyrim/overridetree.cb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/google/skyrim/variants/skyrim/overridetree.cb b/src/mainboard/google/skyrim/variants/skyrim/overridetree.cb index 54373c4d7e..0b965eb5f7 100644 --- a/src/mainboard/google/skyrim/variants/skyrim/overridetree.cb +++ b/src/mainboard/google/skyrim/variants/skyrim/overridetree.cb @@ -56,4 +56,14 @@ chip soc/amd/sabrina .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 |