summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede/variants
diff options
context:
space:
mode:
authorZanxi Chen <chenzanxi@huaqin.corp-partner.google.com>2021-04-14 14:45:38 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-04-16 06:52:43 +0000
commit86e5b60faf1613b2c8ad1ec23f532f37e7488db4 (patch)
tree9bdc7fb6f4ffc014dec9524960cc18af8fd5fc65 /src/mainboard/google/dedede/variants
parentfff318fbce753e3148ae2d22f7518fb060d7a652 (diff)
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> Reviewed-on: https://review.coreboot.org/c/coreboot/+/52315 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/mainboard/google/dedede/variants')
-rw-r--r--src/mainboard/google/dedede/variants/storo/gpio.c7
1 files changed, 7 insertions, 0 deletions
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),