Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191814
b: refs/heads/master
c: e73a46a
h: refs/heads/master
v: v3
  • Loading branch information
Russell King committed May 2, 2010
1 parent 4369d9d commit 06107de
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 64fceb1dcd1aa6a9f2e53cf8830b38bb007b375b
refs/heads/master: e73a46a3d3df22b379d8adcb59999eafea1d60d5
2 changes: 1 addition & 1 deletion trunk/arch/arm/common/icst307.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ icst307_hz_to_vco(const struct icst_params *p, unsigned long freq)
/*
* f must be between 6MHz and 200MHz (3.3 or 5V)
*/
if (f > ICST307_VCO_MIN && f <= p->vco_max)
if (f > p->vco_min && f <= p->vco_max)
break;
} while (i < ARRAY_SIZE(idx2s));

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/common/icst525.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ icst525_hz_to_vco(const struct icst_params *p, unsigned long freq)
* f must be between 10MHz and
* 320MHz (5V) or 200MHz (3V)
*/
if (f > ICST525_VCO_MIN && f <= p->vco_max)
if (f > p->vco_min && f <= p->vco_max)
break;
} while (i < ARRAY_SIZE(idx2s));

Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/include/asm/hardware/icst.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
struct icst_params {
unsigned long ref;
unsigned long vco_max; /* inclusive */
unsigned long vco_min; /* exclusive */
unsigned short vd_min; /* inclusive */
unsigned short vd_max; /* inclusive */
unsigned char rd_min; /* inclusive */
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/arm/mach-integrator/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ static struct cpufreq_driver integrator_driver;
static const struct icst_params lclk_params = {
.ref = 24000000,
.vco_max = ICST525_VCO_MAX_5V,
.vco_min = ICST525_VCO_MIN,
.vd_min = 8,
.vd_max = 132,
.rd_min = 24,
Expand All @@ -43,6 +44,7 @@ static const struct icst_params lclk_params = {
static const struct icst_params cclk_params = {
.ref = 24000000,
.vco_max = ICST525_VCO_MAX_5V,
.vco_min = ICST525_VCO_MIN,
.vd_min = 12,
.vd_max = 160,
.rd_min = 24,
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-integrator/impd1.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ struct impd1_module {
static const struct icst_params impd1_vco_params = {
.ref = 24000000, /* 24 MHz */
.vco_max = ICST525_VCO_MAX_3V,
.vco_min = ICST525_VCO_MIN,
.vd_min = 12,
.vd_max = 519,
.rd_min = 3,
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-integrator/integrator_cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ static void __init intcp_init_irq(void)
static const struct icst_params cp_auxvco_params = {
.ref = 24000000,
.vco_max = ICST525_VCO_MAX_5V,
.vco_min = ICST525_VCO_MIN,
.vd_min = 8,
.vd_max = 263,
.rd_min = 3,
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-realview/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ struct mmci_platform_data realview_mmc1_plat_data = {
static const struct icst_params realview_oscvco_params = {
.ref = 24000000,
.vco_max = ICST307_VCO_MAX,
.vco_min = ICST307_VCO_MIN,
.vd_min = 4 + 8,
.vd_max = 511 + 8,
.rd_min = 1 + 2,
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-versatile/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ static struct mmci_platform_data mmc0_plat_data = {
static const struct icst_params versatile_oscvco_params = {
.ref = 24000000,
.vco_max = ICST307_VCO_MAX,
.vco_min = ICST307_VCO_MIN,
.vd_min = 4 + 8,
.vd_max = 511 + 8,
.rd_min = 1 + 2,
Expand Down

0 comments on commit 06107de

Please sign in to comment.