diff options
author | Leo Chou <leo.chou@lcfc.corp-partner.google.com> | 2024-08-07 14:12:31 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-08-13 13:25:57 +0000 |
commit | 87d95117419a85c522951fe160390ac66ac5fab0 (patch) | |
tree | 4b4933b06e317ea1fa5a00b9dd06fdb1232d71ef /src/mainboard/google/brya/variants/pujjoga/gpio.c | |
parent | e1e16e0cb9900607df1b59b041a8a34f8a54b88c (diff) |
mb/google/nissa/var/pujjoga: Modify P sensor setting
1. The P sensor need follow WWAN FW_CONFIG to enable/disable
2. Modify GPP_H19 setting to PAD_CFG_GPI_APIC to fix PLT test fail
Schematic version: 500E_GEN4S_ADL_N_MB_0418
BUG=b:357998089
TEST=1. Boot to OS and verify the P sensor devices is set based on
fw_config.
2. Confirm that the PLT test can pass successfully.
Change-Id: Ic3610180c8cf99eba9367e26bfc3666410af19f7
Signed-off-by: Leo Chou <leo.chou@lcfc.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83794
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/mainboard/google/brya/variants/pujjoga/gpio.c')
-rw-r--r-- | src/mainboard/google/brya/variants/pujjoga/gpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/variants/pujjoga/gpio.c b/src/mainboard/google/brya/variants/pujjoga/gpio.c index cf5c9bdc0d..2950605d4e 100644 --- a/src/mainboard/google/brya/variants/pujjoga/gpio.c +++ b/src/mainboard/google/brya/variants/pujjoga/gpio.c @@ -44,8 +44,8 @@ static const struct pad_config override_gpio_table[] = { PAD_CFG_NF(GPP_H15, NONE, DEEP, NF1), /* H17 : DDPB_CTRLDATA */ PAD_CFG_NF(GPP_H17, NONE, DEEP, NF1), - /* H19 : SOC_I2C_SUB_INT_ODL */ - PAD_CFG_GPI_LOCK(GPP_H19, NONE, LOCK_CONFIG), + /* H19 : SOC_I2C_SUB_INT_ODL */ + PAD_CFG_GPI_APIC(GPP_H19, NONE, PLTRST, LEVEL, NONE), /* H21 : WWAN_PERST_L */ PAD_NC_LOCK(GPP_H21, NONE, LOCK_CONFIG), /* H22 : WCAM_MCLK_R ==> NC */ |