Skip to content

Convert USB documentation to ReST format

Mauro Carvalho Chehab linux-media linux-pm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest21 patches 6 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/21tmplcvt: make the tool more robustDocumentation/sphinx/tmplcvt+11 -20 replies
2/21driver-api/basics.rst: add device table headerDocumentation/driver-api/basics.rst+6 -00 replies
3/21docs-rst: convert usb docbooks to ReSTDocumentation/DocBook/Makefile Documentation/DocBook/gadget.tmpl Documentation/DocBook/writing_musb_glue_layer.tmpl +7 more+1719 -21670 replies
4/21usb.rst: Enrich its ReST representationDocumentation/driver-api/usb/usb.rst+17 -310 replies
5/21gadget.rst: Enrich its ReST representation and add kernel-doc tagDocumentation/driver-api/usb/gadget.rst+52 -750 replies
6/21writing_usb_driver.rst: Enrich its ReST representationDocumentation/driver-api/usb/writing_usb_driver.rst+82 -1000 replies
7/21writing_musb_glue_layer.rst: Enrich its ReST representationDocumentation/driver-api/usb/writing_musb_glue_layer.rst+292 -3060 replies
8/21usb/anchors.txt: convert to ReST and add to driver-api bookDocumentation/driver-api/usb/anchors.rst Documentation/driver-api/usb/index.rst+21 -160 replies
9/21usb/bulk-streams.txt: convert to ReST and add to driver-api bookDocumentation/driver-api/usb/bulk-streams.rst Documentation/driver-api/usb/index.rst+10 -40 replies
10/21usb/callbacks.txt: convert to ReST and add to driver-api bookDocumentation/driver-api/usb/callbacks.rst Documentation/driver-api/usb/index.rst+43 -190 replies
11/21usb/power-management.txt: convert to ReST and add to driver-api bookDocumentation/driver-api/usb/index.rst Documentation/driver-api/usb/power-management.rst+214 -1910 replies
12/21usb/dma.txt: convert to ReST and add to driver-api bookDocumentation/driver-api/usb/dma.rst Documentation/driver-api/usb/index.rst+28 -240 replies
13/21error-codes.rst: convert to ReST and add to driver-api bookDocumentation/driver-api/usb/error-codes.rst Documentation/driver-api/usb/index.rst Documentation/usb/error-codes.txt+206 -1750 replies
14/21usb/hotplug.txt: convert to ReST and add to driver-api bookDocumentation/driver-api/usb/hotplug.rst Documentation/driver-api/usb/index.rst+37 -300 replies
15/21usb/persist.txt: convert to ReST and add to driver-api bookDocumentation/driver-api/usb/index.rst Documentation/driver-api/usb/persist.rst+14 -90 replies
16/21usb/URB.txt: convert to ReST and update itDocumentation/driver-api/usb/URB.rst Documentation/driver-api/usb/index.rst Documentation/driver-api/usb/usb.rst+127 -970 replies
17/21usb.rst: get rid of some Sphinx errorsDocumentation/driver-api/usb/usb.rst+3 -30 replies
18/21usb: get rid of some ReST doc build errorsdrivers/usb/core/message.c include/linux/usb/composite.h+2 -00 replies
19/21usb: composite.h: fix two warnings when building docsinclude/linux/usb/composite.h+3 -20 replies
20/21usb: gadget.h: be consistent at kernel doc macrosinclude/linux/usb/gadget.h+1 -10 replies
21/21docs-rst: fix usb cross-referencesDocumentation/ABI/stable/sysfs-bus-usb Documentation/driver-api/usb/URB.rst Documentation/driver-api/usb/callbacks.rst +7 more+15 -90 replies

Reviews trailers per patch

None of the 21 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGreg Kroah-Hartman
SeriesA-b
1/21
2/21
3/21
4/21
5/21
6/21
7/21
8/21
9/21
10/21
11/21
12/21
13/21
14/21
15/21
16/21
17/21
18/21
19/21
20/21
21/21

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/21] Convert USB documentation to ReST format

Currently, there are several USB core documents that are at either written in plain text or in DocBook format. Convert them to ReST and add to the driver-api book.

Mauro Carvalho Chehab (21):
tmplcvt: make the tool more robust
driver-api/basics.rst: add device table header
docs-rst: convert usb docbooks to ReST
usb.rst: Enrich its ReST representation
gadget.rst: Enrich its ReST representation and add kernel-doc tag writing_usb_driver.rst: Enrich its ReST representation writing_musb_glue_layer.rst: Enrich its ReST representation usb/anchors.txt: convert to ReST and add to driver-api book usb/bulk-streams.txt: convert to ReST and add to driver-api book usb/callbacks.txt: convert to ReST and add to driver-api book usb/power-management.txt: convert to ReST and add to driver-api book usb/dma.txt: convert to ReST and add to driver-api book error-codes.rst: convert to ReST and add to driver-api book usb/hotplug.txt: convert to ReST and add to driver-api book usb/persist.txt: convert to ReST and add to driver-api book usb/URB.txt: convert to ReST and update it
usb.rst: get rid of some Sphinx errors
usb: get rid of some ReST doc build errors
usb: composite.h: fix two warnings when building docs
usb: gadget.h: be consistent at kernel doc macros
docs-rst: fix usb cross-references

 Documentation/ABI/stable/sysfs-bus-usb             |   2 +-
 Documentation/DocBook/Makefile                     |   7 +-
 Documentation/DocBook/gadget.tmpl                  | 793 -------------------
 Documentation/DocBook/writing_musb_glue_layer.tmpl | 873 ---------------------
 Documentation/DocBook/writing_usb_driver.tmpl      | 412 ----------
 Documentation/driver-api/basics.rst                |   6 +
 Documentation/driver-api/index.rst                 |   2 +-
 .../{usb/URB.txt => driver-api/usb/URB.rst}        | 223 +++---
 .../anchors.txt => driver-api/usb/anchors.rst}     |  36 +-
 .../usb/bulk-streams.rst}                          |  13 +-
 .../callbacks.txt => driver-api/usb/callbacks.rst} |  65 +-
 .../{usb/dma.txt => driver-api/usb/dma.rst}        |  51 +-
 Documentation/driver-api/usb/error-codes.rst       | 207 +++++
 Documentation/driver-api/usb/gadget.rst            | 510 ++++++++++++
 .../hotplug.txt => driver-api/usb/hotplug.rst}     |  66 +-
 Documentation/driver-api/usb/index.rst             |  26 +
 .../persist.txt => driver-api/usb/persist.rst}     |  22 +-
 .../usb/power-management.rst}                      | 404 +++++-----
 Documentation/driver-api/{ => usb}/usb.rst         | 222 +++---
 .../driver-api/usb/writing_musb_glue_layer.rst     | 723 +++++++++++++++++
 .../driver-api/usb/writing_usb_driver.rst          | 326 ++++++++
 Documentation/power/swsusp.txt                     |   2 +-
 Documentation/sphinx/tmplcvt                       |  13 +-
 Documentation/usb/error-codes.txt                  | 175 -----
 drivers/staging/most/hdm-usb/hdm_usb.c             |   2 +-
 drivers/usb/core/Kconfig                           |   2 +-
 drivers/usb/core/message.c                         |   1 +
 include/linux/usb/composite.h                      |   6 +-
 include/linux/usb/gadget.h                         |   2 +-
 29 files changed, 2417 insertions(+), 2775 deletions(-)
 delete mode 100644 Documentation/DocBook/gadget.tmpl
 delete mode 100644 Documentation/DocBook/writing_musb_glue_layer.tmpl
 delete mode 100644 Documentation/DocBook/writing_usb_driver.tmpl
 rename Documentation/{usb/URB.txt => driver-api/usb/URB.rst} (50%)
 rename Documentation/{usb/anchors.txt => driver-api/usb/anchors.rst} (75%)
 rename Documentation/{usb/bulk-streams.txt => driver-api/usb/bulk-streams.rst} (94%)
 rename Documentation/{usb/callbacks.txt => driver-api/usb/callbacks.rst} (76%)
 rename Documentation/{usb/dma.txt => driver-api/usb/dma.rst} (79%)
 create mode 100644 Documentation/driver-api/usb/error-codes.rst
 create mode 100644 Documentation/driver-api/usb/gadget.rst
 rename Documentation/{usb/hotplug.txt => driver-api/usb/hotplug.rst} (76%)
 create mode 100644 Documentation/driver-api/usb/index.rst
 rename Documentation/{usb/persist.txt => driver-api/usb/persist.rst} (94%)
 rename Documentation/{usb/power-management.txt => driver-api/usb/power-management.rst} (69%)
 rename Documentation/driver-api/{ => usb}/usb.rst (85%)
 create mode 100644 Documentation/driver-api/usb/writing_musb_glue_layer.rst
 create mode 100644 Documentation/driver-api/usb/writing_usb_driver.rst
 delete mode 100644 Documentation/usb/error-codes.txt
Signature · 1 line
2.9.3