mb/google/octopus: Set default configuration to low for gpio_178

Set default configuration to low for gpio_178, and can remove the
override setting for bobba/bloog/fleex/meep/phaser.

For ampton, Change-Id I64a67f73564188ad0548a1a770169ef2bca47453 (
mb/google/ampton: Fix polarity of EN_PP3300_WLAN_L signal.)
modified the pin setting.

TEST=verified that boot into OS on meep board.
suspend/resume, reboot, and no failure found.

Change-Id: I7668ff4817edfca5c6cea63db779fcea21c7af92
Signed-off-by: Wisley Chen <wisley.chen@quantatw.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32247
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Wisley Chen 2019-04-01 13:21:01 +08:00 committed by Furquan Shaikh
parent 5c1fadbf0f
commit cbf27fd899
6 changed files with 2 additions and 16 deletions

View File

@ -249,7 +249,8 @@ static const struct pad_config gpio_table[] = {
/* SCC COMMUNITY GPIOS */ /* SCC COMMUNITY GPIOS */
PAD_NC(GPIO_176, UP_20K), /* SMB_ALERTB -- unused */ PAD_NC(GPIO_176, UP_20K), /* SMB_ALERTB -- unused */
PAD_NC(GPIO_177, UP_20K), /* SMB_CLK -- unused */ PAD_NC(GPIO_177, UP_20K), /* SMB_CLK -- unused */
PAD_CFG_GPO_IOSSTATE_IOSTERM(GPIO_178, 1, DEEP, NONE, Tx1RxDCRx0, DISPUPD), /* EN_PP3300_WLAN */ PAD_CFG_GPO_IOSSTATE_IOSTERM(GPIO_178, 0, DEEP, NONE, Tx0RxDCRx0, DISPUPD), /* EN_PP3300_WLAN_L */
PAD_NC(GPIO_179, NONE), /* SDCARD_CLK -- unused */ PAD_NC(GPIO_179, NONE), /* SDCARD_CLK -- unused */
PAD_NC(GPIO_180, NONE), /* SDCARD_CMD -- unused */ PAD_NC(GPIO_180, NONE), /* SDCARD_CMD -- unused */
PAD_NC(GPIO_181, UP_20K), /* SDCARD_D0 -- unused */ PAD_NC(GPIO_181, UP_20K), /* SDCARD_D0 -- unused */

View File

@ -42,9 +42,6 @@ static const struct pad_config default_override_table[] = {
/* EN_PP3300_TOUCHSCREEN */ /* EN_PP3300_TOUCHSCREEN */
PAD_CFG_GPO_IOSSTATE_IOSTERM(GPIO_146, 0, DEEP, NONE, Tx0RxDCRx0, PAD_CFG_GPO_IOSSTATE_IOSTERM(GPIO_146, 0, DEEP, NONE, Tx0RxDCRx0,
DISPUPD), DISPUPD),
/* EN_PP3300_WLAN_L */
PAD_CFG_GPO(GPIO_178, 0, DEEP),
}; };
const struct pad_config *variant_override_gpio_table(size_t *num) const struct pad_config *variant_override_gpio_table(size_t *num)

View File

@ -26,9 +26,6 @@ static const struct pad_config default_override_table[] = {
PAD_CFG_GPO_IOSSTATE_IOSTERM(GPIO_146, 0, DEEP, NONE, Tx0RxDCRx0, PAD_CFG_GPO_IOSSTATE_IOSTERM(GPIO_146, 0, DEEP, NONE, Tx0RxDCRx0,
DISPUPD), DISPUPD),
/* EN_PP3300_WLAN_L */
PAD_CFG_GPO_IOSSTATE_IOSTERM(GPIO_178, 0, DEEP, NONE, Tx0RxDCRx0, DISPUPD),
PAD_NC(GPIO_213, DN_20K), PAD_NC(GPIO_213, DN_20K),
}; };

View File

@ -41,9 +41,6 @@ static const struct pad_config default_override_table[] = {
PAD_NC(GPIO_161, UP_20K), PAD_NC(GPIO_161, UP_20K),
/* EN_PP3300_WLAN_L */
PAD_CFG_GPO_IOSSTATE_IOSTERM(GPIO_178, 0, DEEP, NONE, Tx0RxDCRx0, DISPUPD),
PAD_NC(GPIO_213, DN_20K), PAD_NC(GPIO_213, DN_20K),
PAD_NC(GPIO_214, DN_20K), PAD_NC(GPIO_214, DN_20K),
}; };

View File

@ -24,9 +24,6 @@ static const struct pad_config default_override_table[] = {
/* EN_PP3300_TOUCHSCREEN */ /* EN_PP3300_TOUCHSCREEN */
PAD_CFG_GPO_IOSSTATE_IOSTERM(GPIO_146, 0, DEEP, NONE, Tx0RxDCRx0, PAD_CFG_GPO_IOSSTATE_IOSTERM(GPIO_146, 0, DEEP, NONE, Tx0RxDCRx0,
DISPUPD), DISPUPD),
/* EN_PP3300_WLAN_L */
PAD_CFG_GPO(GPIO_178, 0, DEEP),
}; };
const struct pad_config *variant_override_gpio_table(size_t *num) const struct pad_config *variant_override_gpio_table(size_t *num)

View File

@ -36,9 +36,6 @@ static const struct pad_config default_override_table[] = {
PAD_NC(GPIO_161, DN_20K), PAD_NC(GPIO_161, DN_20K),
/* EN_PP3300_WLAN_L */
PAD_CFG_GPO_IOSSTATE_IOSTERM(GPIO_178, 0, DEEP, NONE, Tx0RxDCRx0, DISPUPD),
PAD_NC(GPIO_213, DN_20K), PAD_NC(GPIO_213, DN_20K),
PAD_NC(GPIO_214, DN_20K), PAD_NC(GPIO_214, DN_20K),
}; };