diff mbox series

[v4,1/2] doc: Add mention of the /config binding

Message ID 20210919215111.3830278-2-sjg@chromium.org
State Accepted, archived
Commit 9ac134876a82ae3d1b71556fe073bc33440b7a27
Delegated to: Heinrich Schuchardt
Headers show
Series doc: Clarify how U-Boot makes use of devicetree | expand

Commit Message

Simon Glass Sept. 19, 2021, 9:51 p.m. UTC
The devicetree binding files are in their own directory and use a simple
text format. Add a link for the binding for the /config node, since it
is otherwise hard to find.

Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Simon Glass <sjg@chromium.org>
---

Changes in v4:
- Add a patch to refer to the /config binding from docs

 doc/develop/config_binding.rst | 10 ++++++++++
 doc/develop/index.rst          |  1 +
 2 files changed, 11 insertions(+)
 create mode 100644 doc/develop/config_binding.rst
diff mbox series

Patch

diff --git a/doc/develop/config_binding.rst b/doc/develop/config_binding.rst
new file mode 100644
index 00000000000..c90e99c7baa
--- /dev/null
+++ b/doc/develop/config_binding.rst
@@ -0,0 +1,10 @@ 
+.. SPDX-License-Identifier: GPL-2.0+
+
+U-Boot configuration node
+=========================
+
+U-Boot supports a number of runtime configuration options which can be selected
+in the devicetree.
+
+These are documented in
+:download:`The /config node <../../doc/device-tree-bindings/config.txt>`.
diff --git a/doc/develop/index.rst b/doc/develop/index.rst
index 2a32645cfd2..24056b10fdd 100644
--- a/doc/develop/index.rst
+++ b/doc/develop/index.rst
@@ -12,6 +12,7 @@  Implementation
    bloblist
    ci_testing
    commands
+   config_binding
    devicetree/index
    driver-model/index
    global_data