summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index b51cbfc5b8..423496b5af 100644
--- a/include/config.h
+++ b/include/config.h
@@ -2704,9 +2704,21 @@
#undef CONFIG_TEMP_SENSOR_TMP432 /* TI TMP432 sensor, on I2C bus */
#undef CONFIG_TEMP_SENSOR_F75303 /* Fintek F75303 sensor, on I2C bus */
+/* Compile common code for thermistor support */
+#undef CONFIG_THERMISTOR
+
+/* Support particular thermistors */
#undef CONFIG_THERMISTOR_NCP15WB /* NCP15WB thermistor */
/*
+ * If defined, image includes lookup tables and helper functions that convert
+ * thermistor ADC readings into degrees K based off of various circuit
+ * configurations.
+ */
+#undef CONFIG_STEINHART_HART_3V3_13K7_47K_4050B
+#undef CONFIG_STEINHART_HART_3V3_51K1_47K_4050B
+
+/*
* If defined, active-high GPIO which indicates temperature sensor chips are
* powered. If not defined, temperature sensors are assumed to be always
* powered.
@@ -3665,6 +3677,12 @@
#endif
/*****************************************************************************/
+/* Define derived thermistor common path */
+#ifdef CONFIG_THERMISTOR_NCP15WB
+#define CONFIG_THERMISTOR
+#endif
+
+/*****************************************************************************/
/*
* Handle task-dependent configs.
*