summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede/variants
diff options
context:
space:
mode:
authorAlex1 Kao <alex1_kao@pegatron.corp-partner.google.com>2021-05-05 17:43:19 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-05-18 10:10:28 +0000
commit71e797478447e43b9d3be0cae13948a0ea9f0082 (patch)
treeab795aedce8a2aa8bb1d3591efa8ad9a1a14cc3c /src/mainboard/google/dedede/variants
parent9482807f1da6b8a39f691384dd9e3c94589a658f (diff)
mb/google/dedede: To support ELAN Touchpad device on I2C0
Add ELAN Touchpad device under I2C0 BUG=b:188373661 BRANCH=dedede TEST=emerge-dedede coreboot Signed-off-by: Alex1 Kao <alex1_kao@pegatron.corp-partner.google.com> Change-Id: I15b9cb0d0276b5e2dd06694530cc35e5643efb9d Reviewed-on: https://review.coreboot.org/c/coreboot/+/52936 Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Reviewed-by: Kirk Wang <kirk_wang@pegatron.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/dedede/variants')
-rw-r--r--src/mainboard/google/dedede/variants/pirika/overridetree.cb11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/mainboard/google/dedede/variants/pirika/overridetree.cb b/src/mainboard/google/dedede/variants/pirika/overridetree.cb
index 404024b1d6..c65aa7a7ae 100644
--- a/src/mainboard/google/dedede/variants/pirika/overridetree.cb
+++ b/src/mainboard/google/dedede/variants/pirika/overridetree.cb
@@ -37,6 +37,15 @@ chip soc/intel/jasperlake
}"
device domain 0 on
- device pci 15.0 on end
+ device pci 15.0 on
+ chip drivers/i2c/generic
+ register "hid" = ""ELAN0000""
+ register "desc" = ""ELAN Touchpad""
+ register "irq" = "ACPI_IRQ_WAKE_EDGE_LOW(GPP_B3_IRQ)"
+ register "wake" = "GPE0_DW0_03"
+ register "probed" = "1"
+ device i2c 15 on end
+ end
+ end
end
end