From 541b3b1c99479e74de72885d16d2bbb4650539d5 Mon Sep 17 00:00:00 2001 From: Keith Short Date: Fri, 29 May 2020 10:33:26 -0600 Subject: volteer: add USB overcurrent notification to AP Enable the USB C0 and USB C1 overcurrent signals to the AP. BUG=b:140561826 BRANCH=none TEST=make buildall TEST=Force overcurrent event by manually setting PPC current limit below PD contract. Signed-off-by: Keith Short Change-Id: I5eea4812c212496f1c483c4149697b2d53a16a37 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2222960 Reviewed-by: Abe Levkoy --- board/malefor/gpio.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'board/malefor') diff --git a/board/malefor/gpio.inc b/board/malefor/gpio.inc index 21a059bf0a..5bc55f95c3 100644 --- a/board/malefor/gpio.inc +++ b/board/malefor/gpio.inc @@ -95,6 +95,8 @@ GPIO(EC_PCH_INT_ODL, PIN(B, 0), GPIO_ODR_HIGH) /* USB and USBC Signals */ GPIO(USB_C1_RT_RST_ODL, PIN(8, 3), GPIO_ODR_LOW) /* USB_C1 Reset on boards board ID >=1 */ +GPIO(USB_C0_OC_ODL, PIN(B, 1), GPIO_ODR_HIGH) +GPIO(USB_C1_OC_ODL, PIN(5, 0), GPIO_ODR_HIGH) /* Don't have a load switch for retimer */ UNIMPLEMENTED(USB_C1_LS_EN) -- cgit v1.2.1