summaryrefslogtreecommitdiff
path: root/board/grunt
diff options
context:
space:
mode:
authorEdward Hill <ecgh@chromium.org>2018-01-15 15:12:35 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-01-19 20:35:46 -0800
commitdfda7899b7eb703e987851abe01b2d8d4e35e90f (patch)
tree90e812af79d3df8eba7a3d8702bd8959ffd8e660 /board/grunt
parent741a81469048ffed2da26189805c4e0c6aa518b4 (diff)
downloadchrome-ec-dfda7899b7eb703e987851abe01b2d8d4e35e90f.tar.gz
grunt: Add USB-C DP Hotplug Detect GPIOs
Grunt HW has these driven from EC to SOC, unlike coral which had the TCPCs drive the HPD signals to SOC. BUG=b:71810897 BRANCH=none TEST=external display works if GPIOs set high on EC console Change-Id: I40d794cccfdbb46f42642ea1410d75e2281028a1 Signed-off-by: Edward Hill <ecgh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/867235 Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'board/grunt')
-rw-r--r--board/grunt/gpio.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/grunt/gpio.inc b/board/grunt/gpio.inc
index 03a5f9ed6d..03870cb736 100644
--- a/board/grunt/gpio.inc
+++ b/board/grunt/gpio.inc
@@ -78,6 +78,8 @@ GPIO(USB_C0_BC12_VBUS_ON_L, PIN(8, 2), GPIO_ODR_HIGH) /* C0 BC1.2 Power */
GPIO(USB_C1_BC12_VBUS_ON_L, PIN(B, 1), GPIO_ODR_HIGH) /* C1 BC1.2 Power */
GPIO(USB_C0_BC12_CHG_DET, PIN(6, 2), GPIO_INPUT) /* C0 BC1.2 Detect */
GPIO(USB_C1_BC12_CHG_DET, PIN(8, 3), GPIO_INPUT) /* C1 BC1.2 Detect */
+GPIO(USB_C0_DP_HPD, PIN(9, 5), GPIO_OUT_LOW) /* C0 DP Hotplug Detect */
+GPIO(USB_C1_DP_HPD, PIN(9, 6), GPIO_OUT_LOW) /* C1 DP Hotplug Detect */
/* Board ID */
GPIO(BOARD_VERSION1, PIN(C, 7), GPIO_INPUT)