Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
52cc720c
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
161
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看板
提交
52cc720c
编写于
1月 17, 2017
作者:
M
Mark Brown
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'spi/fix/sh-msiof' into spi-linus
上级
3f95ba38
264c3e8d
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
16 addition
and
7 deletion
+16
-7
Documentation/devicetree/bindings/spi/sh-msiof.txt
Documentation/devicetree/bindings/spi/sh-msiof.txt
+13
-6
drivers/spi/spi-sh-msiof.c
drivers/spi/spi-sh-msiof.c
+3
-1
未找到文件。
Documentation/devicetree/bindings/spi/sh-msiof.txt
浏览文件 @
52cc720c
Renesas MSIOF spi controller
Required properties:
- compatible : "renesas,msiof-<soctype>" for SoCs,
"renesas,sh-msiof" for SuperH, or
"renesas,sh-mobile-msiof" for SH Mobile series.
Examples with soctypes are:
"renesas,msiof-r8a7790" (R-Car H2)
- compatible : "renesas,msiof-r8a7790" (R-Car H2)
"renesas,msiof-r8a7791" (R-Car M2-W)
"renesas,msiof-r8a7792" (R-Car V2H)
"renesas,msiof-r8a7793" (R-Car M2-N)
"renesas,msiof-r8a7794" (R-Car E2)
"renesas,msiof-r8a7796" (R-Car M3-W)
"renesas,msiof-sh73a0" (SH-Mobile AG5)
"renesas,sh-mobile-msiof" (generic SH-Mobile compatibile device)
"renesas,rcar-gen2-msiof" (generic R-Car Gen2 compatible device)
"renesas,rcar-gen3-msiof" (generic R-Car Gen3 compatible device)
"renesas,sh-msiof" (deprecated)
When compatible with the generic version, nodes
must list the SoC-specific version corresponding
to the platform first followed by the generic
version.
- reg : A list of offsets and lengths of the register sets for
the device.
If only one register set is present, it is to be used
...
...
@@ -61,7 +67,8 @@ Documentation/devicetree/bindings/pinctrl/renesas,*.
Example:
msiof0: spi@e6e20000 {
compatible = "renesas,msiof-r8a7791";
compatible = "renesas,msiof-r8a7791",
"renesas,rcar-gen2-msiof";
reg = <0 0xe6e20000 0 0x0064>;
interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp0_clks R8A7791_CLK_MSIOF0>;
...
...
drivers/spi/spi-sh-msiof.c
浏览文件 @
52cc720c
...
...
@@ -973,14 +973,16 @@ static const struct sh_msiof_chipdata r8a779x_data = {
};
static
const
struct
of_device_id
sh_msiof_match
[]
=
{
{
.
compatible
=
"renesas,sh-msiof"
,
.
data
=
&
sh_data
},
{
.
compatible
=
"renesas,sh-mobile-msiof"
,
.
data
=
&
sh_data
},
{
.
compatible
=
"renesas,msiof-r8a7790"
,
.
data
=
&
r8a779x_data
},
{
.
compatible
=
"renesas,msiof-r8a7791"
,
.
data
=
&
r8a779x_data
},
{
.
compatible
=
"renesas,msiof-r8a7792"
,
.
data
=
&
r8a779x_data
},
{
.
compatible
=
"renesas,msiof-r8a7793"
,
.
data
=
&
r8a779x_data
},
{
.
compatible
=
"renesas,msiof-r8a7794"
,
.
data
=
&
r8a779x_data
},
{
.
compatible
=
"renesas,rcar-gen2-msiof"
,
.
data
=
&
r8a779x_data
},
{
.
compatible
=
"renesas,msiof-r8a7796"
,
.
data
=
&
r8a779x_data
},
{
.
compatible
=
"renesas,rcar-gen3-msiof"
,
.
data
=
&
r8a779x_data
},
{
.
compatible
=
"renesas,sh-msiof"
,
.
data
=
&
sh_data
},
/* Deprecated */
{},
};
MODULE_DEVICE_TABLE
(
of
,
sh_msiof_match
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录