Those two files describe userspace-faced information. While part of
it might fit on uAPI, it sounds to me that the admin guide is the
best place for them.

Signed-off-by: Mauro Carvalho Chehab <mchehab+sams...@kernel.org>
Acked-by: Miguel Ojeda <miguel.ojeda.sando...@gmail.com>
---
 .../auxdisplay/cfag12864b.rst}                | 115 ++++++++----------
 .../admin-guide/auxdisplay/index.rst          |  16 +++
 .../auxdisplay/ks0108.rst}                    |  53 ++++----
 Documentation/admin-guide/index.rst           |   1 +
 MAINTAINERS                                   |   2 +-
 drivers/auxdisplay/Kconfig                    |   2 +-
 6 files changed, 97 insertions(+), 92 deletions(-)
 rename Documentation/{auxdisplay/cfag12864b => 
admin-guide/auxdisplay/cfag12864b.rst} (26%)
 create mode 100644 Documentation/admin-guide/auxdisplay/index.rst
 rename Documentation/{auxdisplay/ks0108 => admin-guide/auxdisplay/ks0108.rst} 
(32%)

diff --git a/Documentation/auxdisplay/cfag12864b 
b/Documentation/admin-guide/auxdisplay/cfag12864b.rst
similarity index 26%
rename from Documentation/auxdisplay/cfag12864b
rename to Documentation/admin-guide/auxdisplay/cfag12864b.rst
index 12fd51b8de75..18c2865bd322 100644
--- a/Documentation/auxdisplay/cfag12864b
+++ b/Documentation/admin-guide/auxdisplay/cfag12864b.rst
@@ -1,92 +1,85 @@
-       ===================================
-       cfag12864b LCD Driver Documentation
-       ===================================
+===================================
+cfag12864b LCD Driver Documentation
+===================================
 
-License:               GPLv2
-Author & Maintainer:   Miguel Ojeda Sandonis
-Date:                  2006-10-27
+:License:              GPLv2
+:Author & Maintainer:  Miguel Ojeda Sandonis
+:Date:                 2006-10-27
 
 
 
---------
-0. INDEX
---------
+.. INDEX
 
        1. DRIVER INFORMATION
        2. DEVICE INFORMATION
        3. WIRING
        4. USERSPACE PROGRAMMING
 
-
----------------------
-1. DRIVER INFORMATION
+1. Driver Information
 ---------------------
 
 This driver supports a cfag12864b LCD.
 
 
----------------------
-2. DEVICE INFORMATION
+2. Device Information
 ---------------------
 
-Manufacturer:  Crystalfontz
-Device Name:   Crystalfontz 12864b LCD Series
-Device Code:   cfag12864b
-Webpage:       http://www.crystalfontz.com
-Device Webpage:        http://www.crystalfontz.com/products/12864b/
-Type:          LCD (Liquid Crystal Display)
-Width:         128
-Height:                64
-Colors:                2 (B/N)
-Controller:    ks0108
-Controllers:   2
-Pages:         8 each controller
-Addresses:     64 each page
-Data size:     1 byte each address
-Memory size:   2 * 8 * 64 * 1 = 1024 bytes = 1 Kbyte
+:Manufacturer: Crystalfontz
+:Device Name:  Crystalfontz 12864b LCD Series
+:Device Code:  cfag12864b
+:Webpage:      http://www.crystalfontz.com
+:Device Webpage: http://www.crystalfontz.com/products/12864b/
+:Type:         LCD (Liquid Crystal Display)
+:Width:                128
+:Height:       64
+:Colors:       2 (B/N)
+:Controller:   ks0108
+:Controllers:  2
+:Pages:                8 each controller
+:Addresses:    64 each page
+:Data size:    1 byte each address
+:Memory size:  2 * 8 * 64 * 1 = 1024 bytes = 1 Kbyte
 
 
----------
-3. WIRING
+3. Wiring
 ---------
 
 The cfag12864b LCD Series don't have official wiring.
 
-The common wiring is done to the parallel port as shown:
+The common wiring is done to the parallel port as shown::
 
-Parallel Port                          cfag12864b
+  Parallel Port                          cfag12864b
 
-  Name Pin#                            Pin# Name
+    Name Pin#                            Pin# Name
 
-Strobe ( 1)------------------------------(17) Enable
-Data 0 ( 2)------------------------------( 4) Data 0
-Data 1 ( 3)------------------------------( 5) Data 1
-Data 2 ( 4)------------------------------( 6) Data 2
-Data 3 ( 5)------------------------------( 7) Data 3
-Data 4 ( 6)------------------------------( 8) Data 4
-Data 5 ( 7)------------------------------( 9) Data 5
-Data 6 ( 8)------------------------------(10) Data 6
-Data 7 ( 9)------------------------------(11) Data 7
-       (10)                      [+5v]---( 1) Vdd
-       (11)                      [GND]---( 2) Ground
-       (12)                      [+5v]---(14) Reset
-       (13)                      [GND]---(15) Read / Write
-  Line (14)------------------------------(13) Controller Select 1
-       (15)
-  Init (16)------------------------------(12) Controller Select 2
-Select (17)------------------------------(16) Data / Instruction
-Ground (18)---[GND]              [+5v]---(19) LED +
-Ground (19)---[GND]
-Ground (20)---[GND]              E    A             Values:
-Ground (21)---[GND]       [GND]---[P1]---(18) Vee    - R = Resistor = 22 ohm
-Ground (22)---[GND]                |                 - P1 = Preset = 10 Kohm
-Ground (23)---[GND]       ----   S ------( 3) V0     - P2 = Preset = 1 Kohm
-Ground (24)---[GND]       |  |
-Ground (25)---[GND] [GND]---[P2]---[R]---(20) LED -
+  Strobe ( 1)------------------------------(17) Enable
+  Data 0 ( 2)------------------------------( 4) Data 0
+  Data 1 ( 3)------------------------------( 5) Data 1
+  Data 2 ( 4)------------------------------( 6) Data 2
+  Data 3 ( 5)------------------------------( 7) Data 3
+  Data 4 ( 6)------------------------------( 8) Data 4
+  Data 5 ( 7)------------------------------( 9) Data 5
+  Data 6 ( 8)------------------------------(10) Data 6
+  Data 7 ( 9)------------------------------(11) Data 7
+         (10)                      [+5v]---( 1) Vdd
+         (11)                      [GND]---( 2) Ground
+         (12)                      [+5v]---(14) Reset
+         (13)                      [GND]---(15) Read / Write
+    Line (14)------------------------------(13) Controller Select 1
+         (15)
+    Init (16)------------------------------(12) Controller Select 2
+  Select (17)------------------------------(16) Data / Instruction
+  Ground (18)---[GND]              [+5v]---(19) LED +
+  Ground (19)---[GND]
+  Ground (20)---[GND]              E    A             Values:
+  Ground (21)---[GND]       [GND]---[P1]---(18) Vee    - R = Resistor = 22 ohm
+  Ground (22)---[GND]                |                 - P1 = Preset = 10 Kohm
+  Ground (23)---[GND]       ----   S ------( 3) V0     - P2 = Preset = 1 Kohm
+  Ground (24)---[GND]       |  |
+  Ground (25)---[GND] [GND]---[P2]---[R]---(20) LED -
 
 
-------------------------
-4. USERSPACE PROGRAMMING
+4. Userspace Programming
 ------------------------
 
 The cfag12864bfb describes a framebuffer device (/dev/fbX).
diff --git a/Documentation/admin-guide/auxdisplay/index.rst 
b/Documentation/admin-guide/auxdisplay/index.rst
new file mode 100644
index 000000000000..e466f0595248
--- /dev/null
+++ b/Documentation/admin-guide/auxdisplay/index.rst
@@ -0,0 +1,16 @@
+=========================
+Auxiliary Display Support
+=========================
+
+.. toctree::
+    :maxdepth: 1
+
+    ks0108.rst
+    cfag12864b.rst
+
+.. only::  subproject and html
+
+   Indices
+   =======
+
+   * :ref:`genindex`
diff --git a/Documentation/auxdisplay/ks0108 
b/Documentation/admin-guide/auxdisplay/ks0108.rst
similarity index 32%
rename from Documentation/auxdisplay/ks0108
rename to Documentation/admin-guide/auxdisplay/ks0108.rst
index 8ddda0c8ceef..c0b7faf73136 100644
--- a/Documentation/auxdisplay/ks0108
+++ b/Documentation/admin-guide/auxdisplay/ks0108.rst
@@ -1,50 +1,45 @@
-       ==========================================
-       ks0108 LCD Controller Driver Documentation
-       ==========================================
+==========================================
+ks0108 LCD Controller Driver Documentation
+==========================================
 
-License:               GPLv2
-Author & Maintainer:   Miguel Ojeda Sandonis
-Date:                  2006-10-27
+:License:              GPLv2
+:Author & Maintainer:  Miguel Ojeda Sandonis
+:Date:                 2006-10-27
 
 
 
---------
-0. INDEX
---------
+.. INDEX
 
        1. DRIVER INFORMATION
        2. DEVICE INFORMATION
        3. WIRING
 
 
----------------------
-1. DRIVER INFORMATION
+1. Driver Information
 ---------------------
 
 This driver supports the ks0108 LCD controller.
 
 
----------------------
-2. DEVICE INFORMATION
+2. Device Information
 ---------------------
 
-Manufacturer:  Samsung
-Device Name:   KS0108 LCD Controller
-Device Code:   ks0108
-Webpage:       -
-Device Webpage:        -
-Type:          LCD Controller (Liquid Crystal Display Controller)
-Width:         64
-Height:                64
-Colors:                2 (B/N)
-Pages:         8
-Addresses:     64 each page
-Data size:     1 byte each address
-Memory size:   8 * 64 * 1 = 512 bytes
+:Manufacturer: Samsung
+:Device Name:  KS0108 LCD Controller
+:Device Code:  ks0108
+:Webpage:      -
+:Device Webpage: -
+:Type:         LCD Controller (Liquid Crystal Display Controller)
+:Width:                64
+:Height:       64
+:Colors:       2 (B/N)
+:Pages:                8
+:Addresses:    64 each page
+:Data size:    1 byte each address
+:Memory size:  8 * 64 * 1 = 512 bytes
 
 
----------
-3. WIRING
+3. Wiring
 ---------
 
 The driver supports data parallel port wiring.
@@ -52,4 +47,4 @@ The driver supports data parallel port wiring.
 If you aren't building LCD related hardware, you should check
 your LCD specific wiring information in the same folder.
 
-For example, check Documentation/auxdisplay/cfag12864b.
+For example, check Documentation/admin-guide/auxdisplay/cfag12864b.rst
diff --git a/Documentation/admin-guide/index.rst 
b/Documentation/admin-guide/index.rst
index 33feab2f4084..99d84f5f80db 100644
--- a/Documentation/admin-guide/index.rst
+++ b/Documentation/admin-guide/index.rst
@@ -98,6 +98,7 @@ configure specific aspects of kernel behavior to your liking.
    iostats
    kernel-per-CPU-kthreads
    laptops/index
+   auxdisplay/index
    lcd-panel-cgram
    ldm
    lockup-watchdogs
diff --git a/MAINTAINERS b/MAINTAINERS
index e5593c66f904..2055887f07ef 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -8991,7 +8991,7 @@ F:        kernel/kprobes.c
 KS0108 LCD CONTROLLER DRIVER
 M:     Miguel Ojeda Sandonis <miguel.ojeda.sando...@gmail.com>
 S:     Maintained
-F:     Documentation/auxdisplay/ks0108
+F:     Documentation/admin-guide/auxdisplay/ks0108.rst
 F:     drivers/auxdisplay/ks0108.c
 F:     include/linux/ks0108.h
 
diff --git a/drivers/auxdisplay/Kconfig b/drivers/auxdisplay/Kconfig
index dd61fdd400f0..6b476e663e80 100644
--- a/drivers/auxdisplay/Kconfig
+++ b/drivers/auxdisplay/Kconfig
@@ -97,7 +97,7 @@ config CFAG12864B
          say Y. You also need the ks0108 LCD Controller driver.
 
          For help about how to wire your LCD to the parallel port,
-         check Documentation/auxdisplay/cfag12864b
+         check Documentation/admin-guide/auxdisplay/cfag12864b.rst
 
          Depends on the x86 arch and the framebuffer support.
 
-- 
2.21.0

Reply via email to