From c0f978320320b5f823033655f6bbfc8445e2b914 Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Thu, 7 Jul 2016 14:30:20 -0700 Subject: [PATCH] reef: Rejigger PROCHOT pins Proto had two pins for PROCHOT# - One to monitor and one to override. Newer boards have only one pin that serves both purposes. BUG=chrome-os-partner:54953 BRANCH=none TEST=built and booted on reef Change-Id: Ida4bc2766caf15562c26e7a4b792a07604361da2 Signed-off-by: David Hendricks Reviewed-on: https://chromium-review.googlesource.com/358940 Reviewed-by: Aaron Durbin --- board/reef/gpio.inc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/board/reef/gpio.inc b/board/reef/gpio.inc index a835d39154..48f2f875d3 100644 --- a/board/reef/gpio.inc +++ b/board/reef/gpio.inc @@ -92,8 +92,12 @@ GPIO(ENABLE_BACKLIGHT, PIN(9, 7), GPIO_ODR_HIGH | GPIO_SEL_1P8V) /* EC_BL_EN_OD GPIO(WIRELESS_GPIO_WLAN_POWER, PIN(6, 6), GPIO_ODR_HIGH) /* EN_PP3300_WLAN_ODL */ -GPIO(CPU_PROCHOT, PIN(7, 4), GPIO_INPUT | GPIO_SEL_1P8V) /* PCH_PROCHOT_ODL */ -GPIO(EC_PCH_PROCHOT_OVERRIDE_ODL,PIN(A, 3), GPIO_ODR_HIGH | GPIO_SEL_1P8V) +/* + * PCH_PROCHOT_ODL is primarily for monitoring the PROCHOT# signal which is + * normally driven by the PMIC. The EC can also drive this signal in the event + * that the ambient or charger temperature sensors exceeds their thresholds. + */ +GPIO(CPU_PROCHOT, PIN(A, 3), GPIO_INPUT | GPIO_SEL_1P8V) /* PCH_PROCHOT_ODL */ GPIO(PCH_PWRBTN_L, PIN(0, 1), GPIO_ODR_HIGH) /* EC_PCH_PWR_BTN_ODL */ GPIO(PCH_WAKE_L, PIN(8, 1), GPIO_ODR_HIGH) /* EC_PCH_WAKE_ODL */