From 630fb548869c507e6f02ad2cfdaa64ea427becc9 Mon Sep 17 00:00:00 2001 From: Teddy Shih Date: Wed, 5 Oct 2022 17:21:10 +0800 Subject: [PATCH] mb/google/dedede/var/beadrix: Update SoC gpio pin of USB camera Update SoC GPIO setting of camera according to beadrix schematics. GPP_D13 : NC -> PLTRST (EN_PP2800_CAMERA) BRANCH=dedede BUG=b:247178737,b:244120730 TEST=on beadrix, validated by beadrix seconds_system_resume < 500 ms. Signed-off-by: Teddy Shih Change-Id: Id00cb85cdad900c03842ad69707966aa62410efd Reviewed-on: https://review.coreboot.org/c/coreboot/+/68129 Tested-by: build bot (Jenkins) Reviewed-by: Super Ni Reviewed-by: Simon Yang Reviewed-by: Ivan Chen Reviewed-by: Maulik Vaghela --- src/mainboard/google/dedede/variants/beadrix/gpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainboard/google/dedede/variants/beadrix/gpio.c b/src/mainboard/google/dedede/variants/beadrix/gpio.c index 28e3b5b1ff..cf7d6efb4f 100644 --- a/src/mainboard/google/dedede/variants/beadrix/gpio.c +++ b/src/mainboard/google/dedede/variants/beadrix/gpio.c @@ -30,8 +30,8 @@ static const struct pad_config gpio_table[] = { PAD_CFG_GPO(GPP_D0, 1, DEEP), /* D12 : WCAM_RST_L ==> NC */ PAD_NC(GPP_D12, NONE), - /* D13 : EN_PP2800_CAMERA ==> NC */ - PAD_NC(GPP_D13, NONE), + /* D13 : EN_PP2800_CAMERA */ + PAD_CFG_GPO(GPP_D13, 1, PLTRST), /* D14 : EN_PP1200_CAMERA ==> NC */ PAD_NC(GPP_D14, NONE), /* D15 : UCAM_RST_L ==> NC */