summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorDenis Brockus <dbrockus@chromium.org>2020-01-06 11:11:05 -0700
committerCommit Bot <commit-bot@chromium.org>2020-01-09 19:24:10 +0000
commita6591e9d5c7caa04f94e604d8a649d9f8e6d5b5b (patch)
tree485aa454f6b06323d001ff04362dc01d25162fd9 /board
parent50b67463387d99b1bd0a9a0214d023b9cbe494ae (diff)
downloadchrome-ec-a6591e9d5c7caa04f94e604d8a649d9f8e6d5b5b.tar.gz
zork: add DP1_HPD support for DB options
The GPIO to use for DP_HPD is different depending on which retimer is being used. Added to select the correct one. BUG=b:139432598 BRANCH=none TEST=make buildall -j Change-Id: I11c30b37e148ecd958a5ef199739a90dd2b17dd8 Signed-off-by: Denis Brockus <dbrockus@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1988627 Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/morphius/gpio.inc1
-rw-r--r--board/trembyle/gpio.inc1
2 files changed, 2 insertions, 0 deletions
diff --git a/board/morphius/gpio.inc b/board/morphius/gpio.inc
index 85de6ca3eb..24b98291fe 100644
--- a/board/morphius/gpio.inc
+++ b/board/morphius/gpio.inc
@@ -48,6 +48,7 @@ GPIO(USB_C0_TCPC_RST_L, PIN(E, 1), GPIO_OUT_HIGH) /* C0 TCPC Reset */
GPIO(USB_C1_TCPC_RST_L, PIN(F, 0), GPIO_OUT_HIGH) /* C1 TCPC Reset */
GPIO(USB_C0_HPD, PIN(F, 5), GPIO_OUT_LOW) /* C0 DP Hotplug Detect */
GPIO(USB_C0_IN_HPD, PIN(7, 3), GPIO_OUT_LOW) /* C0 IN Hotplug Detect */
+GPIO(DP1_HPD, PIN(F, 4), GPIO_OUT_LOW) /* C1 DP Hotplug Detect */
GPIO(DP2_HPD, PIN(C, 1), GPIO_OUT_LOW) /* C1 DP Hotplug Detect */
GPIO(LED_FULL_L, PIN(6, 0), GPIO_OUT_HIGH)
diff --git a/board/trembyle/gpio.inc b/board/trembyle/gpio.inc
index 85de6ca3eb..24b98291fe 100644
--- a/board/trembyle/gpio.inc
+++ b/board/trembyle/gpio.inc
@@ -48,6 +48,7 @@ GPIO(USB_C0_TCPC_RST_L, PIN(E, 1), GPIO_OUT_HIGH) /* C0 TCPC Reset */
GPIO(USB_C1_TCPC_RST_L, PIN(F, 0), GPIO_OUT_HIGH) /* C1 TCPC Reset */
GPIO(USB_C0_HPD, PIN(F, 5), GPIO_OUT_LOW) /* C0 DP Hotplug Detect */
GPIO(USB_C0_IN_HPD, PIN(7, 3), GPIO_OUT_LOW) /* C0 IN Hotplug Detect */
+GPIO(DP1_HPD, PIN(F, 4), GPIO_OUT_LOW) /* C1 DP Hotplug Detect */
GPIO(DP2_HPD, PIN(C, 1), GPIO_OUT_LOW) /* C1 DP Hotplug Detect */
GPIO(LED_FULL_L, PIN(6, 0), GPIO_OUT_HIGH)