[coreboot-gerrit] New patch to review for coreboot: mainboard/google/reef: support WLAN_PE_RST

Aaron Durbin (adurbin@chromium.org) gerrit at coreboot.org
Wed Aug 31 00:48:33 CEST 2016


Aaron Durbin (adurbin at chromium.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/16373

-gerrit

commit bba9f21f26ba534f3697703048cde8a4a3cc2550
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Tue Aug 30 16:36:46 2016 -0500

    mainboard/google/reef: support WLAN_PE_RST
    
    The reef DVT build added another way to assert the wifi module's
    reset line. Ensure it's deasserted by default. For previous boards
    this GPIO doesn't matter because it wasn't routed anyway.
    
    BUG=chrome-os-partner:56737
    
    Change-Id: I63e97b091ca0a278682c883303b1d7e052d8e677
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
---
 src/mainboard/google/reef/gpio.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/mainboard/google/reef/gpio.h b/src/mainboard/google/reef/gpio.h
index dbe7062..09c1ee9 100644
--- a/src/mainboard/google/reef/gpio.h
+++ b/src/mainboard/google/reef/gpio.h
@@ -271,7 +271,8 @@ static const struct pad_config gpio_table[] = {
 	PAD_CFG_GPI(GPIO_119, UP_20K, DEEP),	 /* SIO_SPI_2_FS0 */
 	PAD_CFG_GPI(GPIO_120, UP_20K, DEEP),	 /* SIO_SPI_2_FS1 */
 	PAD_CFG_GPI(GPIO_121, UP_20K, DEEP),	 /* SIO_SPI_2_FS2 */
-	PAD_CFG_GPI(GPIO_122, UP_20K, DEEP),	 /* SIO_SPI_2_RXD */
+	/* WLAN_PE_RST - default to deasserted. */
+	PAD_CFG_GPO(GPIO_122, 0, DEEP),		 /* SIO_SPI_2_RXD */
 	PAD_CFG_GPI(GPIO_123, UP_20K, DEEP),	 /* SIO_SPI_2_TXD */
 
 	/* Debug tracing. */
@@ -348,6 +349,8 @@ static const struct pad_config early_gpio_table[] = {
 	/* I2C2 - TPM  */
 	PAD_CFG_NF(GPIO_128, UP_2K, DEEP, NF1), /* LPSS_I2C2_SDA */
 	PAD_CFG_NF(GPIO_129, UP_2K, DEEP, NF1), /* LPSS_I2C2_SCL */
+	/* WLAN_PE_RST - default to deasserted just in case FSP misbehaves. */
+	PAD_CFG_GPO(GPIO_122, 0, DEEP),		 /* SIO_SPI_2_RXD */
 };
 
 /* GPIO settings before entering sleep. */



More information about the coreboot-gerrit mailing list