MLK-9739 cpufreq: imx: add request busfreq support for cpufreq
authorBai Ping <b51503@freescale.com>
Fri, 24 Oct 2014 08:13:51 +0000 (16:13 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:39 +0000 (14:48 -0500)
commit0c129441c2f3dec0a6e4c68dccf992535f0e9eca
treecd08696566bdf0e204cb22c38451e1ca9fe008a7
parent2aabf771f085bd5180cf4ab64daf9e8009484998
MLK-9739 cpufreq: imx: add request busfreq support for cpufreq

Request high bus frequency before scaling up the CPU frequency
and release high bus frequency after scaling down the CPU frequency

Doing so makes a balance between high performance and lower power
consumption.

Signed-off-by: Bai Ping <b51503@freescale.com>
(cherry picked from commit 35c91da2591a70858d5eec184c662851e39082d2)
drivers/cpufreq/imx6q-cpufreq.c