docs: dt: Group DT docs into relevant sub-sections
authorRob Herring <robh@kernel.org>
Thu, 25 Mar 2021 16:47:10 +0000 (10:47 -0600)
committerRob Herring <robh@kernel.org>
Sat, 27 Mar 2021 18:58:04 +0000 (12:58 -0600)
The DT docs are currently all just lumped together in the doc build.
Let's organize the documents by kernel specifics, overlays and bindings.

As writing-schema.rst is about bindings, let's move it to the bindings
directory.

Cc: Frank Rowand <frowand.list@gmail.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/20210325164713.1296407-6-robh@kernel.org
Documentation/devicetree/bindings/index.rst
Documentation/devicetree/bindings/writing-schema.rst [moved from Documentation/devicetree/writing-schema.rst with 100% similarity]
Documentation/devicetree/index.rst

index 3837b17..d9002a3 100644 (file)
@@ -1,12 +1,9 @@
 .. SPDX-License-Identifier: GPL-2.0
 
-===========
-Device Tree
-===========
-
 .. toctree::
    :maxdepth: 1
 
    ABI
-   submitting-patches
    writing-bindings
+   writing-schema
+   submitting-patches
index 32509e8..70b5dcd 100644 (file)
@@ -4,14 +4,26 @@
 Open Firmware and Devicetree
 =============================
 
+Kernel Devicetree Usage
+=======================
 .. toctree::
    :maxdepth: 1
 
    usage-model
-   writing-schema
+   of_unittest
+
+Devicetree Overlays
+===================
+.. toctree::
+   :maxdepth: 1
+
    changesets
    dynamic-resolution-notes
-   of_unittest
    overlay-notes
 
+Devicetree Bindings
+===================
+.. toctree::
+   :maxdepth: 1
+
    bindings/index