Maulik V Vaghela has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30365
Change subject: mb/google/hatch: Add HPD GPIO support for displays ......................................................................
mb/google/hatch: Add HPD GPIO support for displays
Adding hot plug detect GPIO support for external type C display in event for cable connect/disconnect.
Change-Id: If9d52dc0f9916f761c8fdd88c76968aaf663e650 Signed-off-by: Maulik V Vaghela maulik.v.vaghela@intel.com --- M src/mainboard/google/hatch/variants/baseboard/gpio.c 1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/65/30365/1
diff --git a/src/mainboard/google/hatch/variants/baseboard/gpio.c b/src/mainboard/google/hatch/variants/baseboard/gpio.c index 69a0f37..f5e238b 100644 --- a/src/mainboard/google/hatch/variants/baseboard/gpio.c +++ b/src/mainboard/google/hatch/variants/baseboard/gpio.c @@ -33,6 +33,12 @@ PAD_CFG_GPI(GPP_C20, NONE, DEEP), /* EC_IN_RW_OD */ PAD_CFG_GPI(GPP_C22, NONE, DEEP), + /* E13 : DDPB_HPD0 ==> USB_C0_DP_HPD */ + PAD_CFG_NF(GPP_E13, NONE, DEEP, NF1), + /* E14 : DDPC_HPD1 ==> DDI2_HPD_OPL */ + PAD_CFG_NF(GPP_E14, NONE, DEEP, NF1), + /* E17 : EDP_HPD */ + PAD_CFG_NF(GPP_E17, NONE, DEEP, NF1), };
const struct pad_config *__weak variant_gpio_table(size_t *num)