Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
e73a46a3
Commit
e73a46a3
authored
Jan 16, 2010
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: ICST: move minimum VCO frequency to icst_params
Signed-off-by:
Russell King
<
rmk+kernel@arm.linux.org.uk
>
parent
64fceb1d
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
2 deletions
+9
-2
arch/arm/common/icst307.c
arch/arm/common/icst307.c
+1
-1
arch/arm/common/icst525.c
arch/arm/common/icst525.c
+1
-1
arch/arm/include/asm/hardware/icst.h
arch/arm/include/asm/hardware/icst.h
+1
-0
arch/arm/mach-integrator/cpu.c
arch/arm/mach-integrator/cpu.c
+2
-0
arch/arm/mach-integrator/impd1.c
arch/arm/mach-integrator/impd1.c
+1
-0
arch/arm/mach-integrator/integrator_cp.c
arch/arm/mach-integrator/integrator_cp.c
+1
-0
arch/arm/mach-realview/core.c
arch/arm/mach-realview/core.c
+1
-0
arch/arm/mach-versatile/core.c
arch/arm/mach-versatile/core.c
+1
-0
No files found.
arch/arm/common/icst307.c
View file @
e73a46a3
...
...
@@ -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
));
...
...
arch/arm/common/icst525.c
View file @
e73a46a3
...
...
@@ -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
));
...
...
arch/arm/include/asm/hardware/icst.h
View file @
e73a46a3
...
...
@@ -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 */
...
...
arch/arm/mach-integrator/cpu.c
View file @
e73a46a3
...
...
@@ -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
,
...
...
@@ -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
,
...
...
arch/arm/mach-integrator/impd1.c
View file @
e73a46a3
...
...
@@ -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
,
...
...
arch/arm/mach-integrator/integrator_cp.c
View file @
e73a46a3
...
...
@@ -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
,
...
...
arch/arm/mach-realview/core.c
View file @
e73a46a3
...
...
@@ -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
,
...
...
arch/arm/mach-versatile/core.c
View file @
e73a46a3
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment