Maulik V Vaghela has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30363
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: Ie6b24535223faf37d278696a541dbf6764b2234b Signed-off-by: Maulik V Vaghela maulik.v.vaghela@intel.com --- M src/mainboard/google/hatch/variants/hatch/gpio.c 1 file changed, 19 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/63/30363/1
diff --git a/src/mainboard/google/hatch/variants/hatch/gpio.c b/src/mainboard/google/hatch/variants/hatch/gpio.c index 24535f5..dc4baa1 100644 --- a/src/mainboard/google/hatch/variants/hatch/gpio.c +++ b/src/mainboard/google/hatch/variants/hatch/gpio.c @@ -19,6 +19,25 @@
/* Pad configuration in ramstage */ static const struct pad_config gpio_table[] = { + + /* 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), + /* E15 : DDPD_HPD2 ==> NC# */ + PAD_CFG_NC(GPP_E15), + /* E16 : DDPE_HPD3 ==> NC# */ + PAD_CFG_NC(GPP_E16), + /* E17 : EDP_HPD */ + PAD_CFG_NF(GPP_E17, NONE, DEEP, NF1), + /* E18: DDPB_CTRLCLK / CNV_BT_HOST_WAKE# ==> NC */ + PAD_CFG_NC(GPP_E18), + /* E20: DDPC_CTRLCLK ==> NC */ + PAD_CFG_NC(GPP_E20), + /* E22: DDPD_CTRLCLK ==> NC */ + PAD_CFG_NC(GPP_E22), + /* H16: DDPF_CTRLCLK ==> NC */ + PAD_CFG_NC(GPP_H16), };
/* Early pad configuration in bootblock */