From bc8ab7bf6e25cd028f4f49f794ad00edbae4d5fb Mon Sep 17 00:00:00 2001 From: ericky_cheng Date: Thu, 30 Jun 2022 17:08:56 +0800 Subject: [PATCH] mb/google/brya/var/kinox: Change HDMI port form DDPC to DDP2 Modify GPIOs according to SOC_GPIO_Table_0629.xlsx. - GPP_A21 from TCP_DP1_CTRLCLK to NC - GPP_A22 from TCP_DP1_CTRLDATA to NC - GPP_E20 from NC to TCP_DP1_CTRLCLK (Native Function 1) - GPP_E21 from NC to TCP_DP1_CTRLDATA (Native Function 1) BUG=b:237468533 TEST=emerge-brask coreboot Change-Id: I8e7d343731efbfc04304d52a3493ab30b8a739b0 Signed-off-by: EricKY Cheng Reviewed-on: https://review.coreboot.org/c/coreboot/+/65552 Tested-by: build bot (Jenkins) Reviewed-by: Ricky Chang Reviewed-by: Dtrain Hsu --- src/mainboard/google/brya/variants/kinox/gpio.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/mainboard/google/brya/variants/kinox/gpio.c b/src/mainboard/google/brya/variants/kinox/gpio.c index 3460d1c679..7fa9f24a68 100644 --- a/src/mainboard/google/brya/variants/kinox/gpio.c +++ b/src/mainboard/google/brya/variants/kinox/gpio.c @@ -16,10 +16,10 @@ static const struct pad_config override_gpio_table[] = { PAD_NC(GPP_A19, NONE), /* A20 : DDSP_HPD2 ==> TCP_DP1_HPD */ PAD_CFG_NF(GPP_A20, NONE, DEEP, NF1), - /* A21 : DDPC_CTRCLK ==> TCP_DP1_CTRLCLK */ - PAD_CFG_NF(GPP_A21, NONE, DEEP, NF1), - /* A22 : DDPC_CTRLDATA ==> TCP_DP1_CTRLDATA */ - PAD_CFG_NF(GPP_A22, NONE, DEEP, NF1), + /* A21 : DDPC_CTRCLK ==> NC */ + PAD_NC(GPP_A21, NONE), + /* A22 : DDPC_CTRLDATA ==> NC */ + PAD_NC(GPP_A22, NONE), /* B2 : VRALERT# ==> TP153 */ PAD_NC(GPP_B2, NONE), @@ -54,10 +54,11 @@ static const struct pad_config override_gpio_table[] = { PAD_NC(GPP_E18, NONE), /* E19 : DDP1_CTRLDATA ==> NC */ PAD_NC(GPP_E19, NONE), - /* E20 : DDP2_CTRLCLK ==> NC */ - PAD_NC(GPP_E20, NONE), - /* E21 : DDP2_CTRLDATA ==> NC */ - PAD_NC(GPP_E21, NONE), + /* E20 : DDP2_CTRLCLK ==> TCP_DP1_CTRLCLK */ + PAD_CFG_NF(GPP_E20, NONE, DEEP, NF1), + /* E21 : DDP2_CTRLDATA ==> TCP_DP1_CTRLDATA */ + PAD_CFG_NF(GPP_E21, NONE, DEEP, NF1), + /* F11 : THC1_SPI2_CLK ==> NC */ PAD_NC_LOCK(GPP_F11, NONE, LOCK_CONFIG),