docs: dt: Update overlay file extension

Building DTB overlays from .dts files is no longer supported.
Update the documentation to reflect this.

Fixes: 81d362732b ("kbuild: Disallow DTB overlays to built from .dts named source files")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Andrew Davis <afd@ti.com>
Reviewed-by: Yanteng Si <siyanteng@loongson.cn>
Link: https://lore.kernel.org/r/ebce4d9591dd0259a636196dda31d40901dc04b0.1738752288.git.geert+renesas@glider.be
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
This commit is contained in:
Geert Uytterhoeven
2025-02-05 11:46:37 +01:00
committed by Rob Herring (Arm)
parent 2b18eda58c
commit 10fc30eaf3
2 changed files with 12 additions and 12 deletions

View File

@@ -43,10 +43,10 @@ Documentation/devicetree/dynamic-resolution-notes.rst[1]的配套文档。
};
---- foo.dts ---------------------------------------------------------------
覆盖bar.dts,
覆盖bar.dtso,
::
---- bar.dts - 按标签覆盖目标位置 ----------------------------
---- bar.dtso - 按标签覆盖目标位置 ---------------------------
/dts-v1/;
/插件/;
&ocp {
@@ -56,7 +56,7 @@ Documentation/devicetree/dynamic-resolution-notes.rst[1]的配套文档。
... /* 各种属性和子节点 */
};
};
---- bar.dts ---------------------------------------------------------------
---- bar.dtso --------------------------------------------------------------
当加载(并按照[1]中描述的方式解决应该产生foo+bar.dts::
@@ -90,9 +90,9 @@ Documentation/devicetree/dynamic-resolution-notes.rst[1]的配套文档。
DT中的适当位置。在这种情况下可以提供目标路径。通过标签的目标位置的语法是比
较好的因为不管标签在DT中出现在哪里覆盖都可以被应用到任何包含标签的基础DT上。
上面的bar.dts例子被修改为使用目标路径语法即为::
上面的bar.dtso例子被修改为使用目标路径语法,即为::
---- bar.dts - 通过明确的路径覆盖目标位置 --------------------
---- bar.dtso - 通过明确的路径覆盖目标位置 -------------------
/dts-v1/;
/插件/;
&{/ocp} {
@@ -102,7 +102,7 @@ DT中的适当位置。在这种情况下可以提供目标路径。通过标
... /* 各种外围设备和子节点 */
}
};
---- bar.dts ---------------------------------------------------------------
---- bar.dtso --------------------------------------------------------------
内核中关于覆盖的API