mb/google/volteer: Update settings for trackpad on Halvor

Configure gpio settings for trackpad.

BUG=b:153680359
TEST=FW_NAME=halvor emerge-volteer coreboot chromeos-bootimage

Signed-off-by: John Su <john_su@compal.corp-partner.google.com>
Change-Id: I525ba688f71b7a1893bcb64c77e02c8e2506d7b0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44524
Reviewed-by: Caveh Jalali <caveh@chromium.org>
Reviewed-by: Frank Wu <frank_wu@compal.corp-partner.google.com>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
John Su 2020-08-17 19:33:13 +08:00 committed by Patrick Georgi
parent aa8f165b49
commit 3b9041a563
1 changed files with 6 additions and 0 deletions

View File

@ -44,6 +44,10 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_NF(GPP_B7, NONE, DEEP, NF1), PAD_CFG_NF(GPP_B7, NONE, DEEP, NF1),
/* B8 : ISH_I2C1_SCL ==> I2C_SENSOR_SCL */ /* B8 : ISH_I2C1_SCL ==> I2C_SENSOR_SCL */
PAD_CFG_NF(GPP_B8, NONE, DEEP, NF1), PAD_CFG_NF(GPP_B8, NONE, DEEP, NF1),
/* B9 : I2C5_SDA ==> PCH_I2C5_TRACKPAD_SDA */
PAD_CFG_NF(GPP_B9, NONE, DEEP, NF1),
/* B10 : I2C5_SCL ==> PCH_I2C5_TRACKPAD_SCL */
PAD_CFG_NF(GPP_B10, NONE, DEEP, NF1),
/* C1 : SMBDATA ==> FPMCU_BOOT1 */ /* C1 : SMBDATA ==> FPMCU_BOOT1 */
PAD_CFG_GPO(GPP_C1, 0, DEEP), PAD_CFG_GPO(GPP_C1, 0, DEEP),
@ -87,6 +91,8 @@ static const struct pad_config gpio_table[] = {
PAD_NC(GPP_E12, NONE), PAD_NC(GPP_E12, NONE),
/* E13 : SPI1_MOSI_IO0 ==> NC */ /* E13 : SPI1_MOSI_IO0 ==> NC */
PAD_NC(GPP_E13, NONE), PAD_NC(GPP_E13, NONE),
/* E15 : ISH_GP6 ==> TRACKPAD_INT_ODL */
PAD_CFG_GPI_IRQ_WAKE(GPP_E15, NONE, DEEP, LEVEL, INVERT),
/* E16 : ISH_GP7 ==> SD_PRSNT# */ /* E16 : ISH_GP7 ==> SD_PRSNT# */
PAD_CFG_GPI(GPP_E16, NONE, DEEP), PAD_CFG_GPI(GPP_E16, NONE, DEEP),
/* E17 : THC0_SPI1_INT# ==> NC */ /* E17 : THC0_SPI1_INT# ==> NC */