mb/google/volteer: Enable ELAN trackpad wake suspend function

BUG=b:156990317
TEST=emerge-volteer coreboot chromeos-bootimage
Boot to kernel and check the ELAN trackpad can wake up unit from suspend.

Signed-off-by: William Wei <wenxu.wei@bitland.corp-partner.google.com>
Change-Id: If4bea8a9742f7533be2e51b855cc39ca77d73608
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41556
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
William Wei 2020-05-20 14:30:13 +08:00 committed by Patrick Georgi
parent 4751390b61
commit d9cd064ac6
3 changed files with 4 additions and 3 deletions

View File

@ -350,7 +350,8 @@ chip soc/intel/tigerlake
chip drivers/i2c/generic chip drivers/i2c/generic
register "hid" = ""ELAN0000"" register "hid" = ""ELAN0000""
register "desc" = ""ELAN Touchpad"" register "desc" = ""ELAN Touchpad""
register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_E15_IRQ)" register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_E15_IRQ)"
register "wake" = "GPE0_DW2_15"
register "probed" = "1" register "probed" = "1"
device i2c 15 on end device i2c 15 on end
end end

View File

@ -225,7 +225,7 @@ static const struct pad_config gpio_table[] = {
/* E14 : DDPC_HPDA ==> SOC_EDP_HPD */ /* E14 : DDPC_HPDA ==> SOC_EDP_HPD */
PAD_CFG_NF(GPP_E14, NONE, DEEP, NF1), PAD_CFG_NF(GPP_E14, NONE, DEEP, NF1),
/* E15 : ISH_GP6 ==> TRACKPAD_INT_ODL */ /* E15 : ISH_GP6 ==> TRACKPAD_INT_ODL */
PAD_CFG_GPI_APIC(GPP_E15, NONE, PLTRST, LEVEL, INVERT), PAD_CFG_GPI_IRQ_WAKE(GPP_E15, NONE, DEEP, LEVEL, INVERT),
/* E16 : ISH_GP7 ==> WWAN_SIM1_DET_OD */ /* E16 : ISH_GP7 ==> WWAN_SIM1_DET_OD */
PAD_CFG_GPI(GPP_E16, NONE, DEEP), PAD_CFG_GPI(GPP_E16, NONE, DEEP),
/* E17 : THC0_SPI1_INT# ==> WWAN_PERST_L */ /* E17 : THC0_SPI1_INT# ==> WWAN_PERST_L */

View File

@ -220,7 +220,7 @@ static const struct pad_config gpio_table[] = {
/* E14 : DDPC_HPDA ==> SOC_EDP_HPD */ /* E14 : DDPC_HPDA ==> SOC_EDP_HPD */
PAD_CFG_NF(GPP_E14, NONE, DEEP, NF1), PAD_CFG_NF(GPP_E14, NONE, DEEP, NF1),
/* E15 : ISH_GP6 ==> TRACKPAD_INT_ODL */ /* E15 : ISH_GP6 ==> TRACKPAD_INT_ODL */
PAD_CFG_GPI_APIC(GPP_E15, NONE, PLTRST, LEVEL, INVERT), PAD_CFG_GPI_IRQ_WAKE(GPP_E15, NONE, DEEP, LEVEL, INVERT),
/* E16 : ISH_GP7 ==> NOT USED */ /* E16 : ISH_GP7 ==> NOT USED */
PAD_NC(GPP_E16, NONE), PAD_NC(GPP_E16, NONE),
/* E17 : THC0_SPI1_INT# ==> NOT USED */ /* E17 : THC0_SPI1_INT# ==> NOT USED */