Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
a9fc7492
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
a9fc7492
编写于
12月 03, 2010
作者:
P
Paul Mundt
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'sh/urgent' into sh-fixes-for-linus
上级
fa3c9f3d
c44352c5
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
5 addition
and
38 deletion
+5
-38
arch/sh/boards/mach-se/7724/setup.c
arch/sh/boards/mach-se/7724/setup.c
+5
-38
未找到文件。
arch/sh/boards/mach-se/7724/setup.c
浏览文件 @
a9fc7492
...
...
@@ -283,31 +283,6 @@ static struct platform_device ceu1_device = {
};
/* FSI */
/*
* FSI-A use external clock which came from ak464x.
* So, we should change parent of fsi
*/
#define FCLKACR 0xa4150008
static
void
fsimck_init
(
struct
clk
*
clk
)
{
u32
status
=
__raw_readl
(
clk
->
enable_reg
);
/* use external clock */
status
&=
~
0x000000ff
;
status
|=
0x00000080
;
__raw_writel
(
status
,
clk
->
enable_reg
);
}
static
struct
clk_ops
fsimck_clk_ops
=
{
.
init
=
fsimck_init
,
};
static
struct
clk
fsimcka_clk
=
{
.
ops
=
&
fsimck_clk_ops
,
.
enable_reg
=
(
void
__iomem
*
)
FCLKACR
,
.
rate
=
0
,
/* unknown */
};
/* change J20, J21, J22 pin to 1-2 connection to use slave mode */
static
struct
sh_fsi_platform_info
fsi_info
=
{
.
porta_flags
=
SH_FSI_BRS_INV
|
...
...
@@ -852,22 +827,14 @@ static int __init devices_setup(void)
gpio_request
(
GPIO_FN_KEYOUT0
,
NULL
);
/* enable FSI */
gpio_request
(
GPIO_FN_FSIMCKB
,
NULL
);
gpio_request
(
GPIO_FN_FSIMCKA
,
NULL
);
gpio_request
(
GPIO_FN_FSIIASD
,
NULL
);
gpio_request
(
GPIO_FN_FSIOASD
,
NULL
);
gpio_request
(
GPIO_FN_FSIIABCK
,
NULL
);
gpio_request
(
GPIO_FN_FSIIALRCK
,
NULL
);
gpio_request
(
GPIO_FN_FSIOABCK
,
NULL
);
gpio_request
(
GPIO_FN_FSIOALRCK
,
NULL
);
gpio_request
(
GPIO_FN_CLKAUDIOAO
,
NULL
);
gpio_request
(
GPIO_FN_FSIIBSD
,
NULL
);
gpio_request
(
GPIO_FN_FSIOBSD
,
NULL
);
gpio_request
(
GPIO_FN_FSIIBBCK
,
NULL
);
gpio_request
(
GPIO_FN_FSIIBLRCK
,
NULL
);
gpio_request
(
GPIO_FN_FSIOBBCK
,
NULL
);
gpio_request
(
GPIO_FN_FSIOBLRCK
,
NULL
);
gpio_request
(
GPIO_FN_CLKAUDIOBO
,
NULL
);
gpio_request
(
GPIO_FN_FSIIASD
,
NULL
);
/* set SPU2 clock to 83.4 MHz */
clk
=
clk_get
(
NULL
,
"spu_clk"
);
...
...
@@ -879,10 +846,10 @@ static int __init devices_setup(void)
/* change parent of FSI A */
clk
=
clk_get
(
NULL
,
"fsia_clk"
);
if
(
!
IS_ERR
(
clk
))
{
clk_register
(
&
fsimcka_clk
);
clk_set_
parent
(
clk
,
&
fsimcka_clk
);
clk_set_
rate
(
clk
,
11000
);
clk_set_rate
(
&
fsimcka_clk
,
11
000
);
/* 48kHz dummy clock was used to make sure 1/1 divide */
clk_set_
rate
(
&
sh7724_fsimcka_clk
,
48000
);
clk_set_
parent
(
clk
,
&
sh7724_fsimcka_clk
);
clk_set_rate
(
clk
,
48
000
);
clk_put
(
clk
);
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录