docs: xilinx: convert eemi.txt to eemi.rst
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 12 Jun 2019 17:53:02 +0000 (14:53 -0300)
committerJonathan Corbet <corbet@lwn.net>
Fri, 14 Jun 2019 20:32:10 +0000 (14:32 -0600)
This is a very trivial conversion: adjust the title markup
and add a few literal block markups to produce a better
visual when parsed and avoid warnings.

As newer documents related to xilinx could be added in the future,
create a new index file for it.

At its new index.rst, let's add a :orphan: while this is not linked to
the main index.rst file, in order to avoid build warnings.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/xilinx/eemi.rst [moved from Documentation/xilinx/eemi.txt with 92% similarity]
Documentation/xilinx/index.rst [new file with mode: 0644]

similarity index 92%
rename from Documentation/xilinx/eemi.txt
rename to Documentation/xilinx/eemi.rst
index 5f39b4f..9dcbc6f 100644 (file)
@@ -1,6 +1,6 @@
----------------------------------------------------------------------
+====================================
 Xilinx Zynq MPSoC EEMI Documentation
----------------------------------------------------------------------
+====================================
 
 Xilinx Zynq MPSoC Firmware Interface
 -------------------------------------
@@ -21,7 +21,7 @@ The zynqmp-firmware driver maintain all EEMI APIs in zynqmp_eemi_ops
 structure. Any driver who want to communicate with PMC using EEMI APIs
 can call zynqmp_pm_get_eemi_ops().
 
-Example of EEMI ops:
+Example of EEMI ops::
 
        /* zynqmp-firmware driver maintain all EEMI APIs */
        struct zynqmp_eemi_ops {
@@ -34,7 +34,7 @@ Example of EEMI ops:
                .query_data = zynqmp_pm_query_data,
        };
 
-Example of EEMI ops usage:
+Example of EEMI ops usage::
 
        static const struct zynqmp_eemi_ops *eemi_ops;
        u32 ret_payload[PAYLOAD_ARG_CNT];
diff --git a/Documentation/xilinx/index.rst b/Documentation/xilinx/index.rst
new file mode 100644 (file)
index 0000000..01cc1a0
--- /dev/null
@@ -0,0 +1,17 @@
+:orphan:
+
+===========
+Xilinx FPGA
+===========
+
+.. toctree::
+    :maxdepth: 1
+
+    eemi
+
+.. only::  subproject and html
+
+   Indices
+   =======
+
+   * :ref:`genindex`