MLK-11252-02 cpufreq: imx: add dc regulator in cpufreq driver
authorBai Ping <b51503@freescale.com>
Thu, 16 Jul 2015 11:08:28 +0000 (19:08 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:10 +0000 (14:49 -0500)
commit8b84e5196a1b278f497fe1ffdd3d1e6a64211c02
treea6a876a3d20098cac78a7300f376a495cbd7a758
parentf1d3570908eb9b26d499d2a590a5b2386db41e03
MLK-11252-02 cpufreq: imx: add dc regulator in cpufreq driver

In some i.MX6 board (i.MX6UL EVK), it will have a additional
GPIO controlled DC-DC regulator. we need to change this regulator's
voltage According the maximum frequency that CPU can run at.

At present, we only need to set the voltage to minimum one, we need
to set the voltage to the maximum before suspend, resume back to the
minimum voltage after suspend.

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