summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.temperature
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/Kconfig.temperature')
-rw-r--r--zephyr/Kconfig.temperature13
1 files changed, 13 insertions, 0 deletions
diff --git a/zephyr/Kconfig.temperature b/zephyr/Kconfig.temperature
index 4af5aa99f8..8affeae907 100644
--- a/zephyr/Kconfig.temperature
+++ b/zephyr/Kconfig.temperature
@@ -10,6 +10,13 @@ menuconfig PLATFORM_EC_TEMP_SENSOR
if PLATFORM_EC_TEMP_SENSOR
+config PLATFORM_EC_TEMP_SENSOR_POWER
+ bool "Temperature sensors are not always powered on"
+ help
+ If enabled, temperature sensors require enabling power rail before
+ being read. Enabling it requires to define a pin enabling the power
+ as GPIO_TEMP_SENSOR_POWER.
+
config PLATFORM_EC_DPTF
bool "Dynamic Platform and Thermal Framework"
default y if PLATFORM_EC_ACPI
@@ -31,6 +38,12 @@ config PLATFORM_EC_THERMISTOR
Enables support for thermistors (resistor whose resistance is
strongly dependent on temperature) as temperature-sensor type.
+config PLATFORM_EC_TEMP_SENSOR_TMP112
+ bool "TMP112 support"
+ help
+ Enables support for the CrosEC TMP112 driver, an i2c peripheral
+ temperature sensor from TI.
+
endif # PLATFORM_EC_TEMP_SENSOR