thermal: Kconfig: Add IMX_THERMAL entry
authorJagan Teki <jagan@amarulasolutions.com>
Sat, 8 Oct 2016 12:30:09 +0000 (18:00 +0530)
committerStefano Babic <sbabic@denx.de>
Wed, 26 Oct 2016 14:53:16 +0000 (16:53 +0200)
Added kconfig for IMX_THERMAL driver.

Cc: Simon Glass <sjg@chromium.org>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Matteo Lisi <matteo.lisi@engicam.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/thermal/Kconfig

index 8e22ea7060cdb05b377227d17bb39fbf5f366bbf..f0ffbb308308e1c6507ee5c599faf87249c786ee 100644 (file)
@@ -5,3 +5,16 @@ config DM_THERMAL
          temperature sensors to permit warnings, speed throttling or even
          automatic power-off when the temperature gets too high or low. Other
          devices may be discrete but connected on a suitable bus.
+
+if DM_THERMAL
+
+config IMX_THERMAL
+       bool "Temperature sensor driver for Freescale i.MX SoCs"
+       depends on MX6
+       help
+         Support for Temperature Monitor (TEMPMON) found on Freescale i.MX SoCs.
+          It supports one critical trip point and one passive trip point.  The
+          cpufreq is used as the cooling device to throttle CPUs when the
+          passive trip is crossed.
+
+endif # if DM_THERMAL