From 55f92fdfda872bcaec3dda430ccf4a1a092ff6aa Mon Sep 17 00:00:00 2001 From: Luca Lai Date: Mon, 3 Feb 2025 13:21:22 +0800 Subject: [PATCH] mb/google/nissa/var/pujjoga and pujjogatwin: Modify WWAN EM060 power on sequence Modify GPP_F12 gpio pin to fit em060 power sequence spec. BUG=b:391066038 TEST=Build and check WWAN EM060 power on sequence. Change-Id: Ic4e7acf41da004d990529f9ddb0fc5a32ba03b3b Signed-off-by: Luca Lai Reviewed-on: https://review.coreboot.org/c/coreboot/+/86249 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik --- src/mainboard/google/brya/variants/pujjoga/gpio.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/mainboard/google/brya/variants/pujjoga/gpio.c b/src/mainboard/google/brya/variants/pujjoga/gpio.c index 1390e0897d..6098db9345 100644 --- a/src/mainboard/google/brya/variants/pujjoga/gpio.c +++ b/src/mainboard/google/brya/variants/pujjoga/gpio.c @@ -4,8 +4,10 @@ #include #include -/* Pad configuration in ramstage for Sundance */ +/* Pad configuration in ramstage for Pujjoga and Pujjogatwin */ static const struct pad_config override_gpio_table[] = { + /* F12 : WWAN_RST_L */ + PAD_CFG_GPO_LOCK(GPP_F12, 1, LOCK_CONFIG), /* A8 : WWAN_RF_DISABLE_ODL */ PAD_CFG_GPO(GPP_A8, 1, DEEP), /* A18 : HDMI_HPD */ @@ -34,8 +36,6 @@ static const struct pad_config override_gpio_table[] = { PAD_NC_LOCK(GPP_E20, NONE, LOCK_CONFIG), /* E21 : NC */ PAD_NC_LOCK(GPP_E21, NONE, LOCK_CONFIG), - /* F12 : WWAN_RST_L */ - PAD_CFG_GPO_LOCK(GPP_F12, 1, LOCK_CONFIG), /* H12 : NC */ PAD_NC_LOCK(GPP_H12, NONE, LOCK_CONFIG), /* H13 : NC */ @@ -84,6 +84,8 @@ static const struct pad_config early_gpio_table[] = { /* Pad configuration in romstage for Sundance */ static const struct pad_config romstage_gpio_table[] = { + /* F12 : WWAN_RST_L */ + PAD_CFG_GPO(GPP_F12, 1, DEEP), /* Enable touchscreen, hold in reset */ /* C0 : SMBCLK ==> EN_PP3300_TCHSCR */ PAD_CFG_GPO(GPP_C0, 1, DEEP),