Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
4de2edbd
cloud-kernel
项目概览
openanolis
/
cloud-kernel
大约 1 年 前同步成功
通知
158
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
4de2edbd
编写于
1月 16, 2010
作者:
R
Russell King
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ARM: ICST: provide definitions for max/min VCO frequencies
Signed-off-by:
N
Russell King
<
rmk+kernel@arm.linux.org.uk
>
上级
643761ac
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
23 addition
and
8 deletion
+23
-8
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/icst307.h
arch/arm/include/asm/hardware/icst307.h
+7
-0
arch/arm/include/asm/hardware/icst525.h
arch/arm/include/asm/hardware/icst525.h
+8
-0
arch/arm/mach-integrator/cpu.c
arch/arm/mach-integrator/cpu.c
+2
-2
arch/arm/mach-integrator/impd1.c
arch/arm/mach-integrator/impd1.c
+1
-1
arch/arm/mach-integrator/integrator_cp.c
arch/arm/mach-integrator/integrator_cp.c
+1
-1
arch/arm/mach-realview/core.c
arch/arm/mach-realview/core.c
+1
-1
arch/arm/mach-versatile/core.c
arch/arm/mach-versatile/core.c
+1
-1
未找到文件。
arch/arm/common/icst307.c
浏览文件 @
4de2edbd
...
...
@@ -53,7 +53,7 @@ icst307_khz_to_vco(const struct icst_params *p, unsigned long freq)
/*
* f must be between 6MHz and 200MHz (3.3 or 5V)
*/
if
(
f
>
6000
&&
f
<=
p
->
vco_max
)
if
(
f
>
ICST307_VCO_MIN
&&
f
<=
p
->
vco_max
)
break
;
}
while
(
i
<
ARRAY_SIZE
(
idx2s
));
...
...
arch/arm/common/icst525.c
浏览文件 @
4de2edbd
...
...
@@ -51,7 +51,7 @@ icst525_khz_to_vco(const struct icst_params *p, unsigned long freq)
* f must be between 10MHz and
* 320MHz (5V) or 200MHz (3V)
*/
if
(
f
>
10000
&&
f
<=
p
->
vco_max
)
if
(
f
>
ICST525_VCO_MIN
&&
f
<=
p
->
vco_max
)
break
;
}
while
(
i
<
ARRAY_SIZE
(
idx2s
));
...
...
arch/arm/include/asm/hardware/icst307.h
浏览文件 @
4de2edbd
...
...
@@ -21,4 +21,11 @@
unsigned
long
icst307_khz
(
const
struct
icst_params
*
p
,
struct
icst_vco
vco
);
struct
icst_vco
icst307_khz_to_vco
(
const
struct
icst_params
*
p
,
unsigned
long
freq
);
/*
* ICST307 VCO frequency must be between 6MHz and 200MHz (3.3 or 5V).
* This frequency is pre-output divider.
*/
#define ICST307_VCO_MIN 6000
#define ICST307_VCO_MAX 200000
#endif
arch/arm/include/asm/hardware/icst525.h
浏览文件 @
4de2edbd
...
...
@@ -19,4 +19,12 @@
unsigned
long
icst525_khz
(
const
struct
icst_params
*
p
,
struct
icst_vco
vco
);
struct
icst_vco
icst525_khz_to_vco
(
const
struct
icst_params
*
p
,
unsigned
long
freq
);
/*
* ICST525 VCO frequency must be between 10MHz and 200MHz (3V) or 320MHz (5V).
* This frequency is pre-output divider.
*/
#define ICST525_VCO_MIN 10000
#define ICST525_VCO_MAX_3V 200000
#define ICST525_VCO_MAX_5V 320000
#endif
arch/arm/mach-integrator/cpu.c
浏览文件 @
4de2edbd
...
...
@@ -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
,
...
...
arch/arm/mach-integrator/impd1.c
浏览文件 @
4de2edbd
...
...
@@ -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
,
...
...
arch/arm/mach-integrator/integrator_cp.c
浏览文件 @
4de2edbd
...
...
@@ -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
,
...
...
arch/arm/mach-realview/core.c
浏览文件 @
4de2edbd
...
...
@@ -275,7 +275,7 @@ struct mmci_platform_data realview_mmc1_plat_data = {
*/
static
const
struct
icst_params
realview_oscvco_params
=
{
.
ref
=
24000
,
.
vco_max
=
200000
,
.
vco_max
=
ICST307_VCO_MAX
,
.
vd_min
=
4
+
8
,
.
vd_max
=
511
+
8
,
.
rd_min
=
1
+
2
,
...
...
arch/arm/mach-versatile/core.c
浏览文件 @
4de2edbd
...
...
@@ -381,7 +381,7 @@ static struct mmci_platform_data mmc0_plat_data = {
*/
static
const
struct
icst_params
versatile_oscvco_params
=
{
.
ref
=
24000
,
.
vco_max
=
200000
,
.
vco_max
=
ICST307_VCO_MAX
,
.
vd_min
=
4
+
8
,
.
vd_max
=
511
+
8
,
.
rd_min
=
1
+
2
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录