[ARM] pxa: add vcc_core regulation for cpufreq on pxa2xx
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sun, 17 May 2009 21:03:55 +0000 (23:03 +0200)
committerEric Miao <eric.y.miao@gmail.com>
Fri, 5 Jun 2009 02:33:07 +0000 (10:33 +0800)
commit3dbeef231e2247f91784f33555ed6f7da7a6f726
treea62d7ea155b2e7569f03cd10a0b2ded5de1ce56e
parentdd5b94aba709aae68d1ba11b5f963df54efa58bb
[ARM] pxa: add vcc_core regulation for cpufreq on pxa2xx

Add voltage regulation capability to pxa2xx cpufreq
driver. The cpufreq will ask for a "vcc_core" regulator to
the regulator framework.

If a regulator is found at probe time, it will be used with
values specified in PXA270 Electrical, Mechanical, and
Thermal Specifications.

If not, it will be assumed for now that frequency change
will work without voltage control. This assumes that the
IPL/SPL installs sane values to an existing voltage
regulator (ie. voltage high enough to support the full
range).

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
arch/arm/mach-pxa/cpufreq-pxa2xx.c