diff options
author | Wonjoon Lee <woojoo.lee@samsung.com> | 2015-09-01 21:33:56 +0900 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-09-11 00:45:37 -0700 |
commit | 502dc50f04c5df787e95982cef4971b20e501cba (patch) | |
tree | c5b9b550600e72f5d4bc0cd3a1000fa0d0093ee5 /board | |
parent | 3f2dc44158630f0ce93633c21df8daaddb2b7324 (diff) | |
download | chrome-ec-502dc50f04c5df787e95982cef4971b20e501cba.tar.gz |
temp_sensor: Separate ADC interface and thermistor maths
Separate the bd99992gw ADC interface from the NCP15WB thermistor
adc-to-temp maths so that the thermistor can be used with various
other interfaces.
BUG=chrome-os-partner:44764
TEST=make buildall -j
Manual on Glados. Boot to S0, run "temps".
Verify that temperatures start around 28C and begin to increase after
system is powered-on for a long duration.
BRANCH=None
Change-Id: I3e72e9f390feebaac2440dbe722485f8d1cf8c56
Signed-off-by: Wonjoon Lee <woojoo.lee@samsung.com>
Reviewed-on: https://chromium-review.googlesource.com/296871
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/glados/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/glados/board.h b/board/glados/board.h index 836894e759..f2b1dc0434 100644 --- a/board/glados/board.h +++ b/board/glados/board.h @@ -71,6 +71,7 @@ #define CONFIG_TEMP_SENSOR #define CONFIG_TEMP_SENSOR_BD99992GW +#define CONFIG_THERMISTOR_NCP15WB /* * Allow dangerous commands. |