summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlizhi7 <lizhi7@huaqin.corp-partner.google.com>2021-05-17 19:29:29 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-05-22 14:12:04 +0000
commit5621a1e567fd983995593beae42cab991f43b361 (patch)
tree278cf47dd18c3182531514cf391defe09b58202d /src
parentaefc75a4e9d990b07e97686856294e2e153a4180 (diff)
mb/google/dedede/var/sasukette: Enable ELAN touchpad
Add ELAN touchpad into devicetree for sasukette. BUG=b:188376649 BRANCH=dedede TEST=built sasukette firmware and verified touchpad function Signed-off-by: lizhi7 <lizhi7@huaqin.corp-partner.google.com> Change-Id: I898aeda936eb10ef4ead679a1c087060fad71a08 Reviewed-on: https://review.coreboot.org/c/coreboot/+/54369 Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Reviewed-by: Weimin Wu <wuweimin@huaqin.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/dedede/variants/sasukette/overridetree.cb8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/sasukette/overridetree.cb b/src/mainboard/google/dedede/variants/sasukette/overridetree.cb
index 8d1b95b269..cb4c78fbea 100644
--- a/src/mainboard/google/dedede/variants/sasukette/overridetree.cb
+++ b/src/mainboard/google/dedede/variants/sasukette/overridetree.cb
@@ -127,6 +127,14 @@ chip soc/intel/jasperlake
register "hid_desc_reg_offset" = "0x20"
device i2c 2c on end
end
+ chip drivers/i2c/hid
+ register "generic.hid" = ""ELAN0000""
+ register "generic.desc" = ""ELAN Touchpad""
+ register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_B3_IRQ)"
+ register "generic.wake" = "GPE0_DW0_03"
+ register "generic.probed" = "1"
+ device i2c 15 on end
+ end
end #I2C 0
device pci 19.0 on
chip drivers/i2c/generic