summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChromeOS Developer <dparker@chromium.org>2013-11-09 16:48:44 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-12-07 00:57:24 +0000
commitd53fe7b79b18441ee88058c09010be44c7b43761 (patch)
treeb2f4faf1613a924fb38fa048264f96812eeb73d0 /include
parentf9e00364ef84180e89e9c4bfb79e0123ee54923d (diff)
downloadchrome-ec-d53fe7b79b18441ee88058c09010be44c7b43761.tar.gz
Basic driver for tmp432 temperature sensor
This allows local and remote temp values to be added to a board's list of temp sensors. It also adds a 'tmp432' EC console command to query temps and set alert thresholds. Fractional degrees are not supported. DPTF support is not addressed. BUG=chrome-os-partner:23985 BRANCH=none TEST=Add tmp432 support to a board with the sensor then run the 'tmp432' and 'temps' EC console commands. Signed-off-by: Dave Parker <dparker@chromium.org> Change-Id: Ifee47cf4d4cf5eedef9ef2bfa2149f183f1d7a7b Reviewed-on: https://chromium-review.googlesource.com/178688 Reviewed-by: Randall Spangler <rspangler@chromium.org> Commit-Queue: Dave Parker <dparker@chromium.org> Tested-by: Dave Parker <dparker@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index bc5e176e52..c1d5c351cd 100644
--- a/include/config.h
+++ b/include/config.h
@@ -662,6 +662,7 @@
/* Support particular temperature sensor chips */
#undef CONFIG_TEMP_SENSOR_G781 /* G781 sensor, on I2C bus */
#undef CONFIG_TEMP_SENSOR_TMP006 /* TI TMP006 sensor, on I2C bus */
+#undef CONFIG_TEMP_SENSOR_TMP432 /* TI TMP432 sensor, on I2C bus */
/*
* If defined, active-high GPIO which indicates temperature sensor chips are