[coreboot-gerrit] Change in ...coreboot[master]: mb/google/hatch: Add HPD GPIO support for displays

Maulik V Vaghela (Code Review) gerrit at coreboot.org
Fri Dec 21 15:19:10 CET 2018


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 at 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)

-- 
To view, visit https://review.coreboot.org/c/coreboot/+/30365
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If9d52dc0f9916f761c8fdd88c76968aaf663e650
Gerrit-Change-Number: 30365
Gerrit-PatchSet: 1
Gerrit-Owner: Maulik V Vaghela <maulik.v.vaghela at intel.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181221/3f7b67b7/attachment.html>


More information about the coreboot-gerrit mailing list