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>
This commit is contained in:
Kapil Porwal 2022-09-08 22:52:49 -07:00 committed by Subrata Banik
parent 56c0f80244
commit 53105a5226
2 changed files with 11 additions and 1 deletions

View File

@ -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

View File

@ -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