summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-integrator
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-01-16 19:08:47 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-05-02 10:35:30 +0200
commit4de2edbd15ff70c77e1d018611d06f7801fc2b72 (patch)
tree576899cd3a6492bb01d8326851ee63e1ea58fc0a /arch/arm/mach-integrator
parentARM: ICST: icst.*_ps_to_vco() functions are unused, remove them (diff)
downloadlinux-4de2edbd15ff70c77e1d018611d06f7801fc2b72.tar.xz
linux-4de2edbd15ff70c77e1d018611d06f7801fc2b72.zip
ARM: ICST: provide definitions for max/min VCO frequencies
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-integrator')
-rw-r--r--arch/arm/mach-integrator/cpu.c4
-rw-r--r--arch/arm/mach-integrator/impd1.c2
-rw-r--r--arch/arm/mach-integrator/integrator_cp.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-integrator/cpu.c b/arch/arm/mach-integrator/cpu.c
index c4e5debeb48c..1671b4a363b1 100644
--- a/arch/arm/mach-integrator/cpu.c
+++ b/arch/arm/mach-integrator/cpu.c
@@ -33,7 +33,7 @@ static struct cpufreq_driver integrator_driver;
static const struct icst_params lclk_params = {
.ref = 24000,
- .vco_max = 320000,
+ .vco_max = ICST525_VCO_MAX_5V,
.vd_min = 8,
.vd_max = 132,
.rd_min = 24,
@@ -42,7 +42,7 @@ static const struct icst_params lclk_params = {
static const struct icst_params cclk_params = {
.ref = 24000,
- .vco_max = 320000,
+ .vco_max = ICST525_VCO_MAX_5V,
.vd_min = 12,
.vd_max = 160,
.rd_min = 24,
diff --git a/arch/arm/mach-integrator/impd1.c b/arch/arm/mach-integrator/impd1.c
index dfb961b67afa..5aca7ebea3ce 100644
--- a/arch/arm/mach-integrator/impd1.c
+++ b/arch/arm/mach-integrator/impd1.c
@@ -42,7 +42,7 @@ struct impd1_module {
static const struct icst_params impd1_vco_params = {
.ref = 24000, /* 24 MHz */
- .vco_max = 200000, /* 200 MHz */
+ .vco_max = ICST525_VCO_MAX_3V,
.vd_min = 12,
.vd_max = 519,
.rd_min = 3,
diff --git a/arch/arm/mach-integrator/integrator_cp.c b/arch/arm/mach-integrator/integrator_cp.c
index 15bfbe2e1df8..27f95106b47c 100644
--- a/arch/arm/mach-integrator/integrator_cp.c
+++ b/arch/arm/mach-integrator/integrator_cp.c
@@ -270,7 +270,7 @@ static void __init intcp_init_irq(void)
static const struct icst_params cp_auxvco_params = {
.ref = 24000,
- .vco_max = 320000,
+ .vco_max = ICST525_VCO_MAX_5V,
.vd_min = 8,
.vd_max = 263,
.rd_min = 3,