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 /include | |
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 'include')
-rw-r--r-- | include/config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 2ca35f73d6..e301633315 100644 --- a/include/config.h +++ b/include/config.h @@ -1497,6 +1497,8 @@ #undef CONFIG_TEMP_SENSOR_TMP006 /* TI TMP006 sensor, on I2C bus */ #undef CONFIG_TEMP_SENSOR_TMP432 /* TI TMP432 sensor, on I2C bus */ +#undef CONFIG_THERMISTOR_NCP15WB /* NCP15WB thermistor */ + /* * If defined, active-high GPIO which indicates temperature sensor chips are * powered. If not defined, temperature sensors are assumed to be always |