diff options
author | Keith Short <keithshort@chromium.org> | 2022-04-27 09:52:39 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-04-28 23:37:58 +0000 |
commit | cd4e03e727c1adae841b912e2971d0ee84b842f8 (patch) | |
tree | f5b8951125c5536d19d4400f816a6fb5a28933e8 /board/volet | |
parent | a123436acbb7aa28bf31986beb703a3007c63d85 (diff) | |
download | chrome-ec-cd4e03e727c1adae841b912e2971d0ee84b842f8.tar.gz |
volteer: Enable PROCHOT gate based on C10
Enable PROCHOT gating based on the C10 state for all Volteer boards that
support monitoring the C10 signal from the PCH.
BUG=b:185810479
BRANCH=volteer
TEST=Observer AP enters C10 state, EC skips turning on the fans.
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I9adc1902b97a2a85b351c88d1d9c44ed17d1056a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3615480
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'board/volet')
-rw-r--r-- | board/volet/board.h | 1 | ||||
-rw-r--r-- | board/volet/gpio.inc | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/board/volet/board.h b/board/volet/board.h index 4e957c449c..c75eeed31f 100644 --- a/board/volet/board.h +++ b/board/volet/board.h @@ -30,6 +30,7 @@ /* Chipset features */ #define CONFIG_POWER_PP5000_CONTROL +#define CONFIG_CPU_PROCHOT_GATE_ON_C10 /* LED defines */ #define CONFIG_LED_ONOFF_STATES diff --git a/board/volet/gpio.inc b/board/volet/gpio.inc index bf5377a716..16471d0817 100644 --- a/board/volet/gpio.inc +++ b/board/volet/gpio.inc @@ -77,10 +77,10 @@ GPIO(EC_PCH_WAKE_ODL, PIN(7, 4), GPIO_ODR_HIGH) GPIO(EC_ENTERING_RW, PIN(E, 3), GPIO_OUT_LOW) GPIO(EC_PROCHOT_ODL, PIN(6, 3), GPIO_ODR_HIGH) GPIO_INT(EC_PROCHOT_IN_L, PIN(F, 0), GPIO_INT_BOTH, throttle_ap_prochot_input_interrupt) +GPIO_INT(CPU_C10_GATE_L, PIN(6, 7), GPIO_INT_RISING, throttle_ap_c10_input_interrupt) GPIO(SYS_RST_ODL, PIN(C, 5), GPIO_ODR_HIGH) GPIO(EC_PCH_INT_ODL, PIN(B, 0), GPIO_ODR_HIGH) -GPIO(CPU_C10_GATE_L, PIN(6, 7), GPIO_INPUT) /* USB and USBC Signals */ GPIO(EN_PP5000_USBA, PIN(3, 5), GPIO_OUT_LOW) /* Enable USB-A charging - all ports */ |