diff options
author | Abe Levkoy <alevkoy@chromium.org> | 2020-10-22 16:56:04 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-10-23 20:13:03 +0000 |
commit | 2d1cd54e17a49aca536fae1b583db61f82cb7e7b (patch) | |
tree | 1d7dd08fce3a813711aef7a796e043b35dd888bc | |
parent | 51a0199ff27d57654979f60895b772ae08becb08 (diff) | |
download | chrome-ec-2d1cd54e17a49aca536fae1b583db61f82cb7e7b.tar.gz |
boldar: Configure temperature sensors
Enable the ADC alternate function to reduce power usage.
BUG=b:155882590
TEST=make buildall
BRANCH=none
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: I29ce0b79c7165212d7089eb4f459c16587204b14
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2493402
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
-rw-r--r-- | board/boldar/gpio.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/boldar/gpio.inc b/board/boldar/gpio.inc index d0055671ca..4a3cd1728c 100644 --- a/board/boldar/gpio.inc +++ b/board/boldar/gpio.inc @@ -182,3 +182,6 @@ ALTERNATE(PIN_MASK(0, BIT(0) | BIT(1) | BIT(2)), 0, MODULE_PMU, 0) /* GPIO00 = GPIO01 = H1_EC_PWR_BTN_ODL GPIO02 = EC_RST_ODL */ +/* Temperature sensors */ +ALTERNATE(PIN_MASK(4, BIT(2) | BIT(4) | BIT(5)), 0, MODULE_ADC, 0) /* TEMP_SENSOR1,2,4 */ +ALTERNATE(PIN(F, 1), 0, MODULE_ADC, 0) /* TEMP_SENSOR3 */ |