Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
f13e1dfb
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看板
提交
f13e1dfb
编写于
8月 20, 2019
作者:
R
Rob Herring
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'dt/linus' into dt/next
上级
523c6202
83f82d7a
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
32 addition
and
19 deletion
+32
-19
Documentation/devicetree/bindings/Makefile
Documentation/devicetree/bindings/Makefile
+3
-1
Documentation/devicetree/bindings/net/fsl-fec.txt
Documentation/devicetree/bindings/net/fsl-fec.txt
+17
-13
Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml
...ntation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml
+2
-1
drivers/of/irq.c
drivers/of/irq.c
+1
-1
drivers/of/resolver.c
drivers/of/resolver.c
+9
-3
未找到文件。
Documentation/devicetree/bindings/Makefile
浏览文件 @
f13e1dfb
...
...
@@ -19,7 +19,9 @@ quiet_cmd_mk_schema = SCHEMA $@
DT_DOCS
=
$(
shell
\
cd
$(srctree)
/
$(src)
&&
\
find
*
\(
-name
'*.yaml'
!
-name
$(DT_TMP_SCHEMA)
\)
\
find
*
\(
-name
'*.yaml'
!
\
-name
$(DT_TMP_SCHEMA)
!
\
-name
'*.example.dt.yaml'
\)
\
)
DT_SCHEMA_FILES
?=
$(
addprefix
$(src)
/,
$(DT_DOCS)
)
...
...
Documentation/devicetree/bindings/net/fsl-fec.txt
浏览文件 @
f13e1dfb
...
...
@@ -7,18 +7,6 @@ Required properties:
- phy-mode : See ethernet.txt file in the same directory
Optional properties:
- phy-reset-gpios : Should specify the gpio for phy reset
- phy-reset-duration : Reset duration in milliseconds. Should present
only if property "phy-reset-gpios" is available. Missing the property
will have the duration be 1 millisecond. Numbers greater than 1000 are
invalid and 1 millisecond will be used instead.
- phy-reset-active-high : If present then the reset sequence using the GPIO
specified in the "phy-reset-gpios" property is reversed (H=reset state,
L=operation state).
- phy-reset-post-delay : Post reset delay in milliseconds. If present then
a delay of phy-reset-post-delay milliseconds will be observed after the
phy-reset-gpios has been toggled. Can be omitted thus no delay is
observed. Delay is in range of 1ms to 1000ms. Other delays are invalid.
- phy-supply : regulator that powers the Ethernet PHY.
- phy-handle : phandle to the PHY device connected to this device.
- fixed-link : Assume a fixed link. See fixed-link.txt in the same directory.
...
...
@@ -47,11 +35,27 @@ Optional properties:
For imx6sx, "int0" handles all 3 queues and ENET_MII. "pps" is for the pulse
per second interrupt associated with 1588 precision time protocol(PTP).
Optional subnodes:
- mdio : specifies the mdio bus in the FEC, used as a container for phy nodes
according to phy.txt in the same directory
Deprecated optional properties:
To avoid these, create a phy node according to phy.txt in the same
directory, and point the fec's "phy-handle" property to it. Then use
the phy's reset binding, again described by phy.txt.
- phy-reset-gpios : Should specify the gpio for phy reset
- phy-reset-duration : Reset duration in milliseconds. Should present
only if property "phy-reset-gpios" is available. Missing the property
will have the duration be 1 millisecond. Numbers greater than 1000 are
invalid and 1 millisecond will be used instead.
- phy-reset-active-high : If present then the reset sequence using the GPIO
specified in the "phy-reset-gpios" property is reversed (H=reset state,
L=operation state).
- phy-reset-post-delay : Post reset delay in milliseconds. If present then
a delay of phy-reset-post-delay milliseconds will be observed after the
phy-reset-gpios has been toggled. Can be omitted thus no delay is
observed. Delay is in range of 1ms to 1000ms. Other delays are invalid.
Example:
ethernet@83fec000 {
...
...
Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml
浏览文件 @
f13e1dfb
...
...
@@ -37,7 +37,8 @@ properties:
hwlocks
:
true
st,syscfg
:
$ref
:
"
/schemas/types.yaml#/definitions/phandle-array"
allOf
:
-
$ref
:
"
/schemas/types.yaml#/definitions/phandle-array"
description
:
Should be phandle/offset/mask
items
:
-
description
:
Phandle to the syscon node which includes IRQ mux selection.
...
...
drivers/of/irq.c
浏览文件 @
f13e1dfb
...
...
@@ -277,7 +277,7 @@ EXPORT_SYMBOL_GPL(of_irq_parse_raw);
* of_irq_parse_one - Resolve an interrupt for a device
* @device: the device whose interrupt is to be resolved
* @index: index of the interrupt to resolve
* @out_irq: structure of_
irq
filled by this function
* @out_irq: structure of_
phandle_args
filled by this function
*
* This function resolves an interrupt for a node by walking the interrupt tree,
* finding which interrupt controller node it is attached to, and returning the
...
...
drivers/of/resolver.c
浏览文件 @
f13e1dfb
...
...
@@ -206,16 +206,22 @@ static int adjust_local_phandle_references(struct device_node *local_fixups,
for_each_child_of_node
(
local_fixups
,
child
)
{
for_each_child_of_node
(
overlay
,
overlay_child
)
if
(
!
node_name_cmp
(
child
,
overlay_child
))
if
(
!
node_name_cmp
(
child
,
overlay_child
))
{
of_node_put
(
overlay_child
);
break
;
}
if
(
!
overlay_child
)
if
(
!
overlay_child
)
{
of_node_put
(
child
);
return
-
EINVAL
;
}
err
=
adjust_local_phandle_references
(
child
,
overlay_child
,
phandle_delta
);
if
(
err
)
if
(
err
)
{
of_node_put
(
child
);
return
err
;
}
}
return
0
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录