From dfda7899b7eb703e987851abe01b2d8d4e35e90f Mon Sep 17 00:00:00 2001 From: Edward Hill Date: Mon, 15 Jan 2018 15:12:35 -0800 Subject: [PATCH] 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 Reviewed-on: https://chromium-review.googlesource.com/867235 Reviewed-by: Aaron Durbin --- board/grunt/gpio.inc | 2 ++ 1 file changed, 2 insertions(+) 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)