From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peng Fan Date: Mon, 19 Sep 2016 13:55:45 +0800 Subject: [U-Boot] [PATCH v2 03/17] thermal: Kconfig: Add IMX_THERMAL entry In-Reply-To: <1474058929-17637-4-git-send-email-jagan@amarulasolutions.com> References: <1474058929-17637-1-git-send-email-jagan@amarulasolutions.com> <1474058929-17637-4-git-send-email-jagan@amarulasolutions.com> Message-ID: <20160919055543.GB15814@linux-7smt.suse> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Jagan, On Sat, Sep 17, 2016 at 02:18:35AM +0530, Jagan Teki wrote: >Added kconfig for IMX_THERMAL driver. > >Cc: Simon Glass >Cc: Fabio Estevam >Cc: Stefano Babic >Cc: Peng Fan >Cc: Matteo Lisi >Cc: Michael Trimarchi >Signed-off-by: Jagan Teki >--- > 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