MLK-11600 thermal: imx: notify thermal driver in low_bus_freq_mode
authorBai Ping <b51503@freescale.com>
Tue, 22 Sep 2015 13:46:59 +0000 (21:46 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:39 +0000 (14:48 -0500)
commit3a1d7a0ea62d8ddcb78acf93f8ded263531299e8
tree2a8bd1f79d56891091234211bff1dc5964db4847
parent6871852cae5428d4d7759cc888501ccacdaebeaa
MLK-11600 thermal: imx: notify thermal driver in low_bus_freq_mode

As thermal sensor alarm function needs PLL3 to be always on, but low power
idle needs all PLLs to be off, they are exclusive. Low power idle is only enabled
when system staying at low bus mode which means the overall system power consumption
is NOT high, thermal alarm function can be disabled in this mode to allow low power
idle to be entered, and thermal sensor will still use polling mechanism to monitor
the system temperature. Add busfreq notify to achieve this goal.
(this patch is copied from commit  dd3d1e6c6ff0)

Signed-off-by: Bai Ping <b51503@freescale.com>
drivers/thermal/imx_thermal.c