summaryrefslogtreecommitdiff
path: root/src/mainboard/google/volteer
diff options
context:
space:
mode:
authorDavid Wu <david_wu@quanta.corp-partner.google.com>2020-07-28 20:35:01 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-08-03 05:07:58 +0000
commit6880aec670661d961ab9baeb7fab0595d0ba906c (patch)
treeb8b28a1e2e04951eca96faac2ce2cdfc07579cc6 /src/mainboard/google/volteer
parenta3bd96fe360c3b85ae6c4a232bd82554d09821b0 (diff)
mb/google/volteer/var/todor: Support ELAN i2c-hid touchpad
Update ELAN i2c-hid touchpad configuration BUG=b:160741785 BRANCH=None TEST=Verify touchpad is working fine. Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com> Change-Id: I2549048766d0707666910bd86c46ac9201bf3905 Reviewed-on: https://review.coreboot.org/c/coreboot/+/43998 Reviewed-by: Caveh Jalali <caveh@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/volteer')
-rw-r--r--src/mainboard/google/volteer/variants/todor/overridetree.cb13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/mainboard/google/volteer/variants/todor/overridetree.cb b/src/mainboard/google/volteer/variants/todor/overridetree.cb
index c1c386a621..8c0fb38684 100644
--- a/src/mainboard/google/volteer/variants/todor/overridetree.cb
+++ b/src/mainboard/google/volteer/variants/todor/overridetree.cb
@@ -117,12 +117,13 @@ chip soc/intel/tigerlake
end
end # I2C2 0xA0EA
device pci 19.1 on
- chip drivers/i2c/generic
- register "hid" = ""ELAN0000""
- register "desc" = ""ELAN Touchpad""
- register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_E15_IRQ)"
- register "wake" = "GPE0_DW2_15"
- register "probed" = "1"
+ chip drivers/i2c/hid
+ register "generic.hid" = ""ELAN2700""
+ register "generic.desc" = ""ELAN Touchpad""
+ register "generic.irq" = "ACPI_IRQ_WAKE_EDGE_LOW(GPP_E15_IRQ)"
+ register "generic.wake" = "GPE0_DW2_15"
+ register "generic.probed" = "1"
+ register "hid_desc_reg_offset" = "0x01"
device i2c 15 on end
end
end # I2C5 0xA0C6