diff options
author | Keith Short <keithshort@chromium.org> | 2022-04-27 09:48:45 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-04-28 23:37:57 +0000 |
commit | a123436acbb7aa28bf31986beb703a3007c63d85 (patch) | |
tree | 53d8a401cf9fcc0f97381a12abaadd2c7d8fc15e /util/config_allowed.txt | |
parent | d2e7a65e711220ca1faab4b815b0cf9244ca9ced (diff) | |
download | chrome-ec-a123436acbb7aa28bf31986beb703a3007c63d85.tar.gz |
throttle_ap: Add option to gate PROCHOT based on C10
For some x86 boards, the PROCHOT signal is not valid once the AP enters
the C10 state. Add an option to gate PROCHOT detection if the C10 state
is asserted. When the AP exits C10, the EC rechecks the PROCHOT state.
Note that only the Volteer baseboard enables the PROCHOT interrupt, so
it is the only board that is updated to call
throttle_ap_config_prochot().
All gpio.inc files that connect to throttle_ap_prochot_input_interrupt()
all use the pin name EC_PROCHOT_IN_L. Confirmed with these searches:
$ grep -r "GPIO_INT.*throttle_ap_prochot_input_interrupt" . \
| wc -l
31
$ grep -r "EC_PROCHOT_IN_L.*throttle_ap_prochot_input_interrupt" . \
| wc -l
31
$ grep -r "gpio_enable_interrupt.*EC_PROCHOT_IN_L" .
./baseboard/volteer/power.c: \
gpio_enable_interrupt(GPIO_EC_PROCHOT_IN_L);
BUG=b:185810479
BRANCH=volteer
TEST=make buildall
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I73fb328675d9faade13fe0192570dc838de028a6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3615479
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'util/config_allowed.txt')
-rw-r--r-- | util/config_allowed.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/config_allowed.txt b/util/config_allowed.txt index f34197d4b6..d8e6959794 100644 --- a/util/config_allowed.txt +++ b/util/config_allowed.txt @@ -338,6 +338,7 @@ CONFIG_CONSOLE_INPUT_LINE_SIZE CONFIG_CONSOLE_UART CONFIG_CONSOLE_VERBOSE CONFIG_CPU_PROCHOT_ACTIVE_LOW +CONFIG_CPU_PROCHOT_GATE_ON_C10 CONFIG_CRC8 CONFIG_CROS_EC_RO_MEM_SIZE CONFIG_CROS_EC_RW_MEM_SIZE |