zanxi chen has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/52315 )
Change subject: mb/google/dedede/var/storo:Add P-sensor for storo ......................................................................
mb/google/dedede/var/storo:Add P-sensor for storo
Modify GPIO_D22/D23/E11 configuration for P-sensor
BUG=b:185214363 BRANCH=dedede TEST=built storo firmware and verified P-sensor function
Change-Id: Ia2df1a227b04688a6b98384cd3a4e63023c0c1d9 Signed-off-by: Zanxi Chen chenzanxi@huaqin.corp-partner.google.com --- M src/mainboard/google/dedede/variants/storo/gpio.c 1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/15/52315/1
diff --git a/src/mainboard/google/dedede/variants/storo/gpio.c b/src/mainboard/google/dedede/variants/storo/gpio.c index d9b1307..450fc88 100644 --- a/src/mainboard/google/dedede/variants/storo/gpio.c +++ b/src/mainboard/google/dedede/variants/storo/gpio.c @@ -13,6 +13,13 @@
/* D15 : EN_PP3300_CAMERA */ PAD_CFG_GPO(GPP_D15, 1, PLTRST), + /* D22 : AP_I2C_SUB_SDA*/ + PAD_CFG_NF(GPP_D22, NONE, DEEP, NF1), + /* D23 : AP_I2C_SUB_SCL */ + PAD_CFG_NF(GPP_D23, NONE, DEEP, NF1), + + /* E11 : AP_I2C_SUB_INT_ODL */ + PAD_CFG_GPI_INT(GPP_E11, NONE, PLTRST, EDGE_BOTH),
/* H17 : WWAN_RST_L */ PAD_CFG_GPO(GPP_H17, 0, PLTRST),