[U-Boot] [PATCH v2 03/17] thermal: Kconfig: Add IMX_THERMAL entry

Peng Fan van.freenix at gmail.com
Mon Sep 19 07:55:45 CEST 2016


Hi Jagan,
On Sat, Sep 17, 2016 at 02:18:35AM +0530, Jagan Teki wrote:
>Added kconfig for IMX_THERMAL driver.
>
>Cc: Simon Glass <sjg at chromium.org>
>Cc: Fabio Estevam <fabio.estevam at nxp.com>
>Cc: Stefano Babic <sbabic at denx.de>
>Cc: Peng Fan <peng.fan at nxp.com>
>Cc: Matteo Lisi <matteo.lisi at engicam.com>
>Cc: Michael Trimarchi <michael at amarulasolutions.com>
>Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
>---
> drivers/thermal/Kconfig | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
>diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
>index 8e22ea7..f0ffbb3 100644
>--- a/drivers/thermal/Kconfig
>+++ b/drivers/thermal/Kconfig
>@@ -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

MX6 and MX7.
Also I think this line could be dropped, add "selects IMX_THERMAL" in board Kconfig
entry.

Regards,
Peng.

>+	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
>-- 
>2.7.4
>
>_______________________________________________
>U-Boot mailing list
>U-Boot at lists.denx.de
>http://lists.denx.de/mailman/listinfo/u-boot


More information about the U-Boot mailing list