]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MLK-10018-02 thermal: imx: notify thermal driver in low_bus_freq_mode
authorBai Ping <b51503@freescale.com>
Fri, 26 Dec 2014 13:40:40 +0000 (21:40 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:18:56 +0000 (21:18 -0600)
commit1165cf4090da417b38f0ff80adda552beccb8e35
tree5eb7a2f0156690f17eb24a0901b12edfc4dce003
parent884d14e58542125ba5f7568500e646be8ac46cc7
MLK-10018-02 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.

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