docs: add a memory-devices subdir to driver-api
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 18 Jun 2019 18:03:13 +0000 (15:03 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 15 Jul 2019 14:03:03 +0000 (11:03 -0300)
There are two docs describing memory device drivers.

Add both to this new chapter of the driver-api.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Documentation/driver-api/index.rst
Documentation/driver-api/memory-devices/index.rst [new file with mode: 0644]
Documentation/driver-api/memory-devices/ti-emif.rst [moved from Documentation/memory-devices/ti-emif.rst with 98% similarity]
Documentation/driver-api/memory-devices/ti-gpmc.rst [moved from Documentation/bus-devices/ti-gpmc.rst with 99% similarity]

index eff22db..d12a80f 100644 (file)
@@ -79,6 +79,7 @@ available subsections can be seen below.
    isapnp
    generic-counter
    lightnvm-pblk
+   memory-devices/index
    men-chameleon-bus
    ntb
    nvmem
diff --git a/Documentation/driver-api/memory-devices/index.rst b/Documentation/driver-api/memory-devices/index.rst
new file mode 100644 (file)
index 0000000..8754982
--- /dev/null
@@ -0,0 +1,16 @@
+=========================
+Memory Controller drivers
+=========================
+
+.. toctree::
+    :maxdepth: 1
+
+    ti-emif
+    ti-gpmc
+
+.. only::  subproject and html
+
+   Indices
+   =======
+
+   * :ref:`genindex`
@@ -1,4 +1,4 @@
-:orphan:
+.. SPDX-License-Identifier: GPL-2.0
 
 ===============================
 TI EMIF SDRAM Controller Driver
similarity index 99%
rename from Documentation/bus-devices/ti-gpmc.rst
rename to Documentation/driver-api/memory-devices/ti-gpmc.rst
index 87c366e..33efcb8 100644 (file)
@@ -1,4 +1,4 @@
-:orphan:
+.. SPDX-License-Identifier: GPL-2.0
 
 ========================================
 GPMC (General Purpose Memory Controller)