Sugnan Prabhu S has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/48460 )
Change subject: soc/intel/alderlake: Enable trackpad support ......................................................................
soc/intel/alderlake: Enable trackpad support
1. Configure trackpad interrupt GPIO. 2. Add trackpad ACPI support.
Change-Id: Ic3fd49b609a0a7d4a616ce156bdcabd2cf27fb47 Signed-off-by: Sugnan Prabhu S sugnan.prabhu.s@intel.com --- M src/mainboard/intel/adlrvp/gpio.c M src/mainboard/intel/shadowmountain/variants/baseboard/devicetree.cb 2 files changed, 14 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/48460/1
diff --git a/src/mainboard/intel/adlrvp/gpio.c b/src/mainboard/intel/adlrvp/gpio.c index 8ff6fcd..ff29fa5 100644 --- a/src/mainboard/intel/adlrvp/gpio.c +++ b/src/mainboard/intel/adlrvp/gpio.c @@ -77,8 +77,8 @@
/* CAM1_RST */ PAD_CFG_GPO(GPP_R5, 1, PLTRST), - /* CAM2_RST */ - PAD_CFG_GPO(GPP_E15, 1, PLTRST), + /* TRACKPAD_INT_ODL */ + PAD_CFG_GPI_IRQ_WAKE(GPP_E15, NONE, DEEP, LEVEL, INVERT), /* CAM1_PWR_EN */ PAD_CFG_GPO(GPP_B23, 1, PLTRST), /* CAM2_PWR_EN */ @@ -169,7 +169,7 @@ PAD_CFG_NF(GPP_B6, NONE, DEEP, NF2), /* I2C_SCL(3) */ PAD_CFG_NF(GPP_B8, NONE, DEEP, NF2), - /* I2C_SCL(5) */ + /* I2C_SCL(5) PCH_I2C5_TRACKPAD_SCL */ PAD_CFG_NF(GPP_B17, NONE, DEEP, NF2),
/* I2C_SDA(0) */ @@ -180,7 +180,7 @@ PAD_CFG_NF(GPP_B5, NONE, DEEP, NF2), /* I2C_SDA(3) */ PAD_CFG_NF(GPP_B7, NONE, DEEP, NF2), - /* I2C_SDA(5) */ + /* I2C_SDA(5) PCH_I2C5_TRACKPAD_SDA */ PAD_CFG_NF(GPP_B16, NONE, DEEP, NF2),
/* I2S0_SCLK */ diff --git a/src/mainboard/intel/shadowmountain/variants/baseboard/devicetree.cb b/src/mainboard/intel/shadowmountain/variants/baseboard/devicetree.cb index ee85d4b..38c8bbb 100644 --- a/src/mainboard/intel/shadowmountain/variants/baseboard/devicetree.cb +++ b/src/mainboard/intel/shadowmountain/variants/baseboard/devicetree.cb @@ -245,7 +245,16 @@ device pci 16.5 off end # HECI4 device pci 17.0 on end # SATA device pci 19.0 off end # I2C4 - device pci 19.1 on end # I2C5 + device pci 19.1 on + chip drivers/i2c/generic + register "hid" = ""ELAN0000"" + register "desc" = ""ELAN Touchpad"" + register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_E15_IRQ)" + register "wake" = "GPE0_DW2_15" + register "probed" = "1" + device i2c 15 on end + end + end # I2C5 device pci 19.2 off end # UART2 device pci 1c.0 off end # RP1 device pci 1c.1 off end # RP2