summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLeo Chou <leo.chou@lcfc.corp-partner.google.com>2023-05-24 10:32:10 +0800
committerMartin L Roth <gaumless@gmail.com>2023-06-15 16:12:16 +0000
commit6eec8beb1b23aa5076fe55d1687512c3d33d81f5 (patch)
tree0a40b90c79296b6b6ae11d7d7d907b1eaf461f2b /src
parent5b5ee5830fd1726a4442fae93981fd492c4e26ba (diff)
mb/google/nissa/var/pujjo: Set GPIO of WWAN_SAR_DETECT to NC
Pujjo does not support GPIO based D-SAR, so set GPP_D15 and GPP_H23 to NC. BUG=b:275264095 TEST=boot on pujjo and no impact WWAN dynamic SAR function Signed-off-by: Leo Chou <leo.chou@lcfc.corp-partner.google.com> Change-Id: I4fe40b32a572a8d914e01e5cd7927766ccf17c02 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75403 Reviewed-by: Derek Huang <derekhuang@google.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/variants/pujjo/gpio.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mainboard/google/brya/variants/pujjo/gpio.c b/src/mainboard/google/brya/variants/pujjo/gpio.c
index fd3dca5f90..e8e4fbe698 100644
--- a/src/mainboard/google/brya/variants/pujjo/gpio.c
+++ b/src/mainboard/google/brya/variants/pujjo/gpio.c
@@ -26,8 +26,8 @@ static const struct pad_config override_gpio_table[] = {
PAD_CFG_GPI_APIC(GPP_H19, NONE, PLTRST, LEVEL, NONE),
/* H22 : WCAM_MCLK_R ==> NC */
PAD_NC(GPP_H22, NONE),
- /* H23 : WWAN_SAR_DETECT_ODL */
- PAD_CFG_GPO(GPP_H23, 1, DEEP),
+ /* H23 : WWAN_SAR_DETECT_ODL ==> NC */
+ PAD_NC_LOCK(GPP_H23, NONE, LOCK_CONFIG),
};
/* Pad configuration in ramstage for Pujjoteen5 */
@@ -42,8 +42,8 @@ static const struct pad_config override_5g_gpio_table[] = {
PAD_CFG_NF(GPP_D5, NONE, DEEP, NF1),
/* D6 : SRCCLKREQ1# ==> WWAN_EN */
PAD_CFG_GPO_LOCK(GPP_D6, 1, LOCK_CONFIG),
- /* D15 : EN_PP2800_WCAM_X ==> WWAN_SAR_DETECT_2_ODL */
- PAD_CFG_GPO(GPP_D15, 1, DEEP),
+ /* D15 : EN_PP2800_WCAM_X ==> NC */
+ PAD_NC_LOCK(GPP_D15, NONE, LOCK_CONFIG),
/* D16 : EN_PP1800_PP1200_WCAM_X ==> NC */
PAD_NC_LOCK(GPP_D16, NONE, LOCK_CONFIG),
/* D17 : NC ==> SD_WAKE_N */
@@ -56,8 +56,8 @@ static const struct pad_config override_5g_gpio_table[] = {
PAD_CFG_GPO(GPP_H21, 0, DEEP),
/* H22 : WCAM_MCLK_R ==> NC */
PAD_NC(GPP_H22, NONE),
- /* H23 : WWAN_SAR_DETECT_ODL */
- PAD_CFG_GPO(GPP_H23, 1, DEEP),
+ /* H23 : WWAN_SAR_DETECT_ODL ==> NC */
+ PAD_NC_LOCK(GPP_H23, NONE, LOCK_CONFIG),
};
/* Early pad configuration in bootblock */