From 86e5b60faf1613b2c8ad1ec23f532f37e7488db4 Mon Sep 17 00:00:00 2001 From: Zanxi Chen Date: Wed, 14 Apr 2021 14:45:38 +0800 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52315 Tested-by: build bot (Jenkins) Reviewed-by: Karthik Ramasubramanian --- src/mainboard/google/dedede/variants/storo/gpio.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/mainboard/google/dedede') diff --git a/src/mainboard/google/dedede/variants/storo/gpio.c b/src/mainboard/google/dedede/variants/storo/gpio.c index d9b1307928..71e78dc811 100644 --- a/src/mainboard/google/dedede/variants/storo/gpio.c +++ b/src/mainboard/google/dedede/variants/storo/gpio.c @@ -13,6 +13,13 @@ static const struct pad_config gpio_table[] = { /* 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_APIC(GPP_E11, NONE, PLTRST, LEVEL, NONE), /* H17 : WWAN_RST_L */ PAD_CFG_GPO(GPP_H17, 0, PLTRST), -- cgit v1.2.3