thermal: ti-bandgap: Add support for temperature sensor
The dra7xx series of SOCs contain a temperature sensor and an
associated analog-to-digital converter (ADC) which produces
an output which is proportional to the SOC temperature.
Add support for this temperature sensor.
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 886f5fa..a71b9be 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -17,4 +17,10 @@
cpufreq is used as the cooling device to throttle CPUs when the
passive trip is crossed.
+config TI_DRA7_THERMAL
+ bool "Temperature sensor driver for TI dra7xx SOCs"
+ help
+ Enable thermal support for for the Texas Instruments DRA752 SoC family.
+ The driver supports reading CPU temperature.
+
endif # if DM_THERMAL