diff options
author | Keith Short <keithshort@chromium.org> | 2020-03-24 15:35:58 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-03-28 01:02:14 +0000 |
commit | 68b77f7c6ca95602d9cc5d63798c620e190c30f6 (patch) | |
tree | 8d1f524d730296ac228ee6ce80b1d18d0e01fb25 /baseboard/volteer/baseboard.c | |
parent | 4f312996f9d74ebb2ca62cc053564797bd28f8c4 (diff) | |
download | chrome-ec-68b77f7c6ca95602d9cc5d63798c620e190c30f6.tar.gz |
Volteer: add monitoring for PROCHOT input
Add monotoring of the PROCHOT input to the EC.
BUG=b:152340521
BRANCH=none
TEST=makebuild all
TEST=Assert PROCHOT output from the EC and confirm EC console logging or
PROCHOT input.
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: Ib28537a227ea40ac947f7b999a85354b1ae4c111
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2120067
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Commit-Queue: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'baseboard/volteer/baseboard.c')
-rw-r--r-- | baseboard/volteer/baseboard.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/baseboard/volteer/baseboard.c b/baseboard/volteer/baseboard.c index 84ad7e8089..4f2df794cc 100644 --- a/baseboard/volteer/baseboard.c +++ b/baseboard/volteer/baseboard.c @@ -661,6 +661,9 @@ static void baseboard_init(void) */ pwm_enable(PWM_CH_LED4_SIDESEL, 1); pwm_set_duty(PWM_CH_LED4_SIDESEL, 50); + + /* Enable monitoring of the PROCHOT input to the EC */ + gpio_enable_interrupt(GPIO_EC_PROCHOT_IN_L); } DECLARE_HOOK(HOOK_INIT, baseboard_init, HOOK_PRIO_DEFAULT); |