summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSunwei Li <lisunwei@huaqin.corp-partner.google.com>2021-09-10 16:05:07 +0800
committerFelix Held <felix-coreboot@felixheld.de>2021-09-16 15:39:09 +0000
commit1380daa6262dcbc171748c90e086a7855db0136a (patch)
treecbfdfb94d792aee99993b0571c52e234b291e2f2 /src
parent50ba6dfec844a750231b1d71bb4d0b9edf6543f9 (diff)
mb/google/dedede/var/cappy2: Enable PIXA touchpad
Add PIXA touchpad into devicetree for cappy2. BUG=b:193099842 BRANCH=dedede TEST=built cappy2 firmware and verified touchpad function Signed-off-by: Sunwei Li <lisunwei@huaqin.corp-partner.google.com> Change-Id: I840a3ffbaaaac39eaf13bf77e203f6dffdddd3f9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/57553 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Weimin Wu <wuweimin@huaqin.corp-partner.google.com> Reviewed-by: Henry Sun <henrysun@google.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/dedede/variants/cappy2/overridetree.cb9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/cappy2/overridetree.cb b/src/mainboard/google/dedede/variants/cappy2/overridetree.cb
index ed0defe298..b410fa4827 100644
--- a/src/mainboard/google/dedede/variants/cappy2/overridetree.cb
+++ b/src/mainboard/google/dedede/variants/cappy2/overridetree.cb
@@ -112,6 +112,15 @@ chip soc/intel/jasperlake
register "hid_desc_reg_offset" = "0x20"
device i2c 2a on end
end
+ chip drivers/i2c/hid
+ register "generic.hid" = ""PIXA2635""
+ register "generic.desc" = ""PIXA Touchpad""
+ register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_B3_IRQ)"
+ register "generic.wake" = "GPE0_DW0_03"
+ register "generic.probed" = "1"
+ register "hid_desc_reg_offset" = "0x20"
+ device i2c 2d on end
+ end
chip drivers/i2c/generic
register "hid" = ""ELAN0000""
register "desc" = ""ELAN Touchpad""