Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
4ee23cd7
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
4ee23cd7
编写于
5月 20, 2019
作者:
T
Tony Lindgren
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'omap-for-v5.2/ti-sysc' into fixes
上级
f29f24b5
e4f50c8d
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
17 addition
and
24 deletion
+17
-24
arch/arm/boot/dts/am33xx-l4.dtsi
arch/arm/boot/dts/am33xx-l4.dtsi
+6
-8
arch/arm/boot/dts/am437x-l4.dtsi
arch/arm/boot/dts/am437x-l4.dtsi
+0
-4
drivers/bus/ti-sysc.c
drivers/bus/ti-sysc.c
+11
-12
未找到文件。
arch/arm/boot/dts/am33xx-l4.dtsi
浏览文件 @
4ee23cd7
...
...
@@ -1759,11 +1759,10 @@
target-module@cc000 { /* 0x481cc000, ap 60 46.0 */
compatible = "ti,sysc-omap4", "ti,sysc";
ti,hwmods = "d_can0";
reg = <0xcc000 0x4>;
reg-names = "rev";
/* Domains (P, C): per_pwrdm, l4ls_clkdm */
clocks = <&l4ls_clkctrl AM3_L4LS_D_CAN0_CLKCTRL 0>;
clock-names = "fck";
clocks = <&l4ls_clkctrl AM3_L4LS_D_CAN0_CLKCTRL 0>,
<&dcan0_fck>;
clock-names = "fck", "osc";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0xcc000 0x2000>;
...
...
@@ -1782,11 +1781,10 @@
target-module@d0000 { /* 0x481d0000, ap 62 42.0 */
compatible = "ti,sysc-omap4", "ti,sysc";
ti,hwmods = "d_can1";
reg = <0xd0000 0x4>;
reg-names = "rev";
/* Domains (P, C): per_pwrdm, l4ls_clkdm */
clocks = <&l4ls_clkctrl AM3_L4LS_D_CAN1_CLKCTRL 0>;
clock-names = "fck";
clocks = <&l4ls_clkctrl AM3_L4LS_D_CAN1_CLKCTRL 0>,
<&dcan1_fck>;
clock-names = "fck", "osc";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0xd0000 0x2000>;
...
...
arch/arm/boot/dts/am437x-l4.dtsi
浏览文件 @
4ee23cd7
...
...
@@ -1575,8 +1575,6 @@
target-module@cc000 { /* 0x481cc000, ap 50 46.0 */
compatible = "ti,sysc-omap4", "ti,sysc";
ti,hwmods = "d_can0";
reg = <0xcc000 0x4>;
reg-names = "rev";
/* Domains (P, C): per_pwrdm, l4ls_clkdm */
clocks = <&l4ls_clkctrl AM4_L4LS_D_CAN0_CLKCTRL 0>;
clock-names = "fck";
...
...
@@ -1596,8 +1594,6 @@
target-module@d0000 { /* 0x481d0000, ap 52 3a.0 */
compatible = "ti,sysc-omap4", "ti,sysc";
ti,hwmods = "d_can1";
reg = <0xd0000 0x4>;
reg-names = "rev";
/* Domains (P, C): per_pwrdm, l4ls_clkdm */
clocks = <&l4ls_clkctrl AM4_L4LS_D_CAN1_CLKCTRL 0>;
clock-names = "fck";
...
...
drivers/bus/ti-sysc.c
浏览文件 @
4ee23cd7
...
...
@@ -660,12 +660,6 @@ static int sysc_check_registers(struct sysc *ddata)
nr_regs
++
;
}
if
(
nr_regs
<
1
)
{
dev_err
(
ddata
->
dev
,
"missing registers
\n
"
);
return
-
EINVAL
;
}
if
(
nr_matches
>
nr_regs
)
{
dev_err
(
ddata
->
dev
,
"overlapping registers: (%i/%i)"
,
nr_regs
,
nr_matches
);
...
...
@@ -691,12 +685,18 @@ static int sysc_ioremap(struct sysc *ddata)
{
int
size
;
size
=
max3
(
ddata
->
offsets
[
SYSC_REVISION
],
ddata
->
offsets
[
SYSC_SYSCONFIG
],
ddata
->
offsets
[
SYSC_SYSSTATUS
]);
if
(
ddata
->
offsets
[
SYSC_REVISION
]
<
0
&&
ddata
->
offsets
[
SYSC_SYSCONFIG
]
<
0
&&
ddata
->
offsets
[
SYSC_SYSSTATUS
]
<
0
)
{
size
=
ddata
->
module_size
;
}
else
{
size
=
max3
(
ddata
->
offsets
[
SYSC_REVISION
],
ddata
->
offsets
[
SYSC_SYSCONFIG
],
ddata
->
offsets
[
SYSC_SYSSTATUS
]);
if
(
size
<
0
||
(
size
+
sizeof
(
u32
))
>
ddata
->
module_size
)
return
-
EINVAL
;
if
((
size
+
sizeof
(
u32
))
>
ddata
->
module_size
)
return
-
EINVAL
;
}
ddata
->
module_va
=
devm_ioremap
(
ddata
->
dev
,
ddata
->
module_pa
,
...
...
@@ -1128,7 +1128,6 @@ static const struct sysc_revision_quirk sysc_revision_quirks[] = {
SYSC_QUIRK
(
"cpgmac"
,
0
,
0x1200
,
0x1208
,
0x1204
,
0x4edb1902
,
0xffff00f0
,
0
),
SYSC_QUIRK
(
"dcan"
,
0
,
0
,
-
1
,
-
1
,
0xffffffff
,
0xffffffff
,
0
),
SYSC_QUIRK
(
"dcan"
,
0
,
0
,
-
1
,
-
1
,
0x00001401
,
0xffffffff
,
0
),
SYSC_QUIRK
(
"dmic"
,
0
,
0
,
0x10
,
-
1
,
0x50010000
,
0xffffffff
,
0
),
SYSC_QUIRK
(
"dwc3"
,
0
,
0
,
0x10
,
-
1
,
0x500a0200
,
0xffffffff
,
0
),
SYSC_QUIRK
(
"epwmss"
,
0
,
0
,
0x4
,
-
1
,
0x47400001
,
0xffffffff
,
0
),
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录