Lines Matching +full:foo +full:- +full:bar
1 .. SPDX-License-Identifier: GPL-2.0
2 .. include:: ../disclaimer-zh_CN.rst
4 :Original: Documentation/devicetree/overlay-notes.rst
17 Documentation/devicetree/dynamic-resolution-notes.rst[1]的配套文档。
20 ------------
28 ---- foo.dts ---------------------------------------------------------------
30 /dts-v1/;
32 compatible = "corp,foo";
44 ---- foo.dts ---------------------------------------------------------------
49 ---- bar.dts - 按标签覆盖目标位置 ----------------------------
50 /dts-v1/;
54 bar {
55 compatible = "corp,bar";
59 ---- bar.dts ---------------------------------------------------------------
61 当加载(并按照[1]中描述的方式解决)时,应该产生foo+bar.dts::
63 ---- foo+bar.dts -----------------------------------------------------------
66 compatible = "corp,foo";
78 bar {
79 compatible = "corp,bar";
84 ---- foo+bar.dts -----------------------------------------------------------
86 作为覆盖的结果,已经创建了一个新的设备节点(bar),因此将注册一个bar平台设备,
89 如果基础DT不是用-@选项编译的,那么“&ocp”标签将不能用于将覆盖节点解析到基础
95 ---- bar.dts - 通过明确的路径覆盖目标位置 --------------------
96 /dts-v1/;
100 bar {
101 compatible = "corp,bar";
105 ---- bar.dts ---------------------------------------------------------------
109 -------------------