summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorKapil Porwal <kapilporwal@google.com>2022-09-08 22:52:49 -0700
committerSubrata Banik <subratabanik@google.com>2022-09-10 19:01:38 +0000
commit53105a52267bbb10d05b7ae441667a2403bc6dc9 (patch)
treecfd7f6db0fefaa2cbe654c85ef8bf392991e673e /src/mainboard/google
parent56c0f8024462b5bb50926a59fb0a14a175b662dc (diff)
mb/google/rex: Enable touchpad
Enable touchpad for Google Rex. BUG=b:245866939 TEST=Build and boot to Google Rex. Verify touchpad works. Signed-off-by: Kapil Porwal <kapilporwal@google.com> Change-Id: I49fdd72bf3350085e82411b95edcd6a9a09d2df5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/67471 Reviewed-by: Tarun Tuli <taruntuli@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Shaunak Saha <shaunak.saha@intel.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/rex/Kconfig1
-rw-r--r--src/mainboard/google/rex/variants/rex0/overridetree.cb11
2 files changed, 11 insertions, 1 deletions
diff --git a/src/mainboard/google/rex/Kconfig b/src/mainboard/google/rex/Kconfig
index 367cf091ac..bda753bbd6 100644
--- a/src/mainboard/google/rex/Kconfig
+++ b/src/mainboard/google/rex/Kconfig
@@ -3,6 +3,7 @@ config BOARD_GOOGLE_REX_COMMON
# FIXME: Rex Proto 0 only has 64MB SPINOR mounted on the board,
# and the plan is to use 32MB later with Proto 1 onwards.
select BOARD_ROMSIZE_KB_65536
+ select DRIVERS_I2C_GENERIC
select EC_GOOGLE_CHROMEEC
select EC_GOOGLE_CHROMEEC_BOARDID
select EC_GOOGLE_CHROMEEC_ESPI
diff --git a/src/mainboard/google/rex/variants/rex0/overridetree.cb b/src/mainboard/google/rex/variants/rex0/overridetree.cb
index 417d47bf7a..1e877d36c1 100644
--- a/src/mainboard/google/rex/variants/rex0/overridetree.cb
+++ b/src/mainboard/google/rex/variants/rex0/overridetree.cb
@@ -201,7 +201,16 @@ chip soc/intel/meteorlake
device ref i2c0 on end
device ref i2c1 on end
device ref i2c2 on end
- device ref i2c3 on end
+ device ref i2c3 on
+ chip drivers/i2c/generic
+ register "hid" = ""ELAN0000""
+ register "desc" = ""ELAN Touchpad""
+ register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_B00_IRQ)"
+ register "wake" = "GPE0_DW0_00"
+ register "detect" = "1"
+ device i2c 15 on end
+ end
+ end
device ref sata on end
device ref i2c4 on
chip drivers/i2c/tpm