mb/google/poppy: Add internal pull-up on pen eject signal

Since the current hardware revision does not have external pull on the
pen eject signal, this change adds internal pull-up on it.

Change-Id: I426d9833d7efbd8735b6f2b4896d1012b62cb4b8
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/23143
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Tony Lin <tonycwlin@google.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Furquan Shaikh 2018-01-05 20:24:20 -08:00
parent 2b2c65c0ca
commit 567b4ee0b9
1 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ static const struct pad_config gpio_table[] = {
/* D7 : ISH_I2C1_SDA ==> NC */ /* D7 : ISH_I2C1_SDA ==> NC */
PAD_CFG_NC(GPP_D7), PAD_CFG_NC(GPP_D7),
/* D8 : ISH_I2C1_SCL ==> PEN_EJECT_ODL -- for notification */ /* D8 : ISH_I2C1_SCL ==> PEN_EJECT_ODL -- for notification */
PAD_CFG_GPI(GPP_D8, NONE, PLTRST), PAD_CFG_GPI(GPP_D8, 20K_PU, PLTRST),
/* D9 : ISH_SPI_CS# ==> HP_IRQ_GPIO */ /* D9 : ISH_SPI_CS# ==> HP_IRQ_GPIO */
PAD_CFG_GPI_GPIO_DRIVER(GPP_D9, NONE, PLTRST), PAD_CFG_GPI_GPIO_DRIVER(GPP_D9, NONE, PLTRST),
/* D10 : ISH_SPI_CLK ==> SPKR_RST_L */ /* D10 : ISH_SPI_CLK ==> SPKR_RST_L */
@ -185,7 +185,7 @@ static const struct pad_config gpio_table[] = {
/* D11 : ISH_SPI_MISO ==> SPKR_INT_L */ /* D11 : ISH_SPI_MISO ==> SPKR_INT_L */
PAD_CFG_GPI_APIC(GPP_D11, NONE, PLTRST), PAD_CFG_GPI_APIC(GPP_D11, NONE, PLTRST),
/* D12 : ISH_SPI_MOSI ==> PEN_EJECT_ODL -- for wake event */ /* D12 : ISH_SPI_MOSI ==> PEN_EJECT_ODL -- for wake event */
PAD_CFG_GPI_ACPI_SCI(GPP_D12, NONE, DEEP, INVERT), PAD_CFG_GPI_ACPI_SCI(GPP_D12, 20K_PU, DEEP, INVERT),
/* D13 : ISH_UART0_RXD ==> NC */ /* D13 : ISH_UART0_RXD ==> NC */
PAD_CFG_NC(GPP_D13), PAD_CFG_NC(GPP_D13),
/* D14 : ISH_UART0_TXD ==> NC */ /* D14 : ISH_UART0_TXD ==> NC */