From 652a49bc68ce3cf0355bde357b3998bd63e73915 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Tue, 18 Jun 2019 15:03:13 -0300 Subject: [PATCH] docs: add a memory-devices subdir to driver-api There are two docs describing memory device drivers. Add both to this new chapter of the driver-api. Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/index.rst | 1 + .../driver-api/memory-devices/index.rst | 16 ++++++++++++++++ .../{ => driver-api}/memory-devices/ti-emif.rst | 2 +- .../memory-devices}/ti-gpmc.rst | 2 +- 4 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 Documentation/driver-api/memory-devices/index.rst rename Documentation/{ => driver-api}/memory-devices/ti-emif.rst (98%) rename Documentation/{bus-devices => driver-api/memory-devices}/ti-gpmc.rst (99%) diff --git a/Documentation/driver-api/index.rst b/Documentation/driver-api/index.rst index eff22db0ed14..d12a80f386a6 100644 --- a/Documentation/driver-api/index.rst +++ b/Documentation/driver-api/index.rst @@ -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 index 000000000000..87549828f6ab --- /dev/null +++ b/Documentation/driver-api/memory-devices/index.rst @@ -0,0 +1,16 @@ +========================= +Memory Controller drivers +========================= + +.. toctree:: + :maxdepth: 1 + + ti-emif + ti-gpmc + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/Documentation/memory-devices/ti-emif.rst b/Documentation/driver-api/memory-devices/ti-emif.rst similarity index 98% rename from Documentation/memory-devices/ti-emif.rst rename to Documentation/driver-api/memory-devices/ti-emif.rst index c9242294e63c..dea2ad9bcd7e 100644 --- a/Documentation/memory-devices/ti-emif.rst +++ b/Documentation/driver-api/memory-devices/ti-emif.rst @@ -1,4 +1,4 @@ -:orphan: +.. SPDX-License-Identifier: GPL-2.0 =============================== TI EMIF SDRAM Controller Driver diff --git a/Documentation/bus-devices/ti-gpmc.rst b/Documentation/driver-api/memory-devices/ti-gpmc.rst similarity index 99% rename from Documentation/bus-devices/ti-gpmc.rst rename to Documentation/driver-api/memory-devices/ti-gpmc.rst index 87c366e418be..33efcb81f080 100644 --- a/Documentation/bus-devices/ti-gpmc.rst +++ b/Documentation/driver-api/memory-devices/ti-gpmc.rst @@ -1,4 +1,4 @@ -:orphan: +.. SPDX-License-Identifier: GPL-2.0 ======================================== GPMC (General Purpose Memory Controller) -- 2.30.2