summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorDavid Wu <david_wu@quanta.corp-partner.google.com>2020-07-16 17:22:53 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-07-26 21:31:19 +0000
commita4be3e7d7f142eb2943e273fdb2fbc6e0c3459ab (patch)
tree0750017ea83444369a59aabf2d80b422f5659768 /src/mainboard
parent8437ac5623d56741e5254982c4f96236714c06da (diff)
mb/google/volteer/var/terrador: 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: I098d8a305c6e04af1562a545ff4af6383665798b Reviewed-on: https://review.coreboot.org/c/coreboot/+/43509 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Caveh Jalali <caveh@chromium.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/volteer/variants/terrador/overridetree.cb13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/mainboard/google/volteer/variants/terrador/overridetree.cb b/src/mainboard/google/volteer/variants/terrador/overridetree.cb
index c1c386a621..8c0fb38684 100644
--- a/src/mainboard/google/volteer/variants/terrador/overridetree.cb
+++ b/src/mainboard/google/volteer/variants/terrador/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