summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'docs-next' of git://git.lwn.net/linux into topic/docs-nextMauro Carvalho Chehab2016-07-239-9/+29
|\ | | | | | | | | | | | | | | | | | | | | | | * 'docs-next' of git://git.lwn.net/linux: doc-rst: kernel-doc: fix handling of address_space tags Revert "doc/sphinx: Enable keep_warnings" doc-rst: kernel-doc directive, fix state machine reporter docs: deprecate kernel-doc-nano-HOWTO.txt doc/sphinx: Enable keep_warnings Documentation: add watermark_scale_factor to the list of vm systcl file kernel-doc: Fix up warning output docs: Get rid of some kernel-documentation warnings
| * doc-rst: kernel-doc: fix handling of address_space tagsMauro Carvalho Chehab2016-07-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The RST cpp:function handler is very pedantic: it doesn't allow any macros like __user on it: Documentation/media/kapi/dtv-core.rst:28: WARNING: Error when parsing function declaration. If the function has no return type: Error in declarator or parameters and qualifiers Invalid definition: Expecting "(" in parameters_and_qualifiers. [error at 8] ssize_t dvb_ringbuffer_pkt_read_user (struct dvb_ringbuffer * rbuf, size_t idx, int offset, u8 __user * buf, size_t len) --------^ If the function has a return type: Error in declarator or parameters and qualifiers If pointer to member declarator: Invalid definition: Expected '::' in pointer to member (function). [error at 37] ssize_t dvb_ringbuffer_pkt_read_user (struct dvb_ringbuffer * rbuf, size_t idx, int offset, u8 __user * buf, size_t len) -------------------------------------^ If declarator-id: Invalid definition: Expecting "," or ")" in parameters_and_qualifiers, got "*". [error at 102] ssize_t dvb_ringbuffer_pkt_read_user (struct dvb_ringbuffer * rbuf, size_t idx, int offset, u8 __user * buf, size_t len) ------------------------------------------------------------------------------------------------------^ So, we have to remove it from the function prototype. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * Revert "doc/sphinx: Enable keep_warnings"Jonathan Corbet2016-07-201-1/+1
| | | | | | | | | | | | | | | | This reverts commit 47d6d752b9e20dbe8a2acd22e887be81a6f39de9. Commit f42ddca7bebc (doc-rst: kernel-doc directive, fix state machine reporter) from Marcus Heiser provides a better fix, so this configuration change is no longer needed.
| * doc-rst: kernel-doc directive, fix state machine reporterMarkus Heiser2016-07-201-3/+9
| | | | | | | | | | | | | | | | | | | | | | Add a reporter replacement that assigns the correct source name and line number to a system message, as recorded in a ViewList. [1] http://mid.gmane.org/CAKMK7uFMQ2wOp99t-8v06Om78mi9OvRZWuQsFJD55QA20BB3iw@mail.gmail.com Signed-off-by: Markus Heiser <markus.heiser@darmarIT.de> Tested-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs: deprecate kernel-doc-nano-HOWTO.txtJonathan Corbet2016-07-205-5/+8
| | | | | | | | | | | | | | | | | | | | Now that the new Sphinx world order is taking over, the information in kernel-doc-nano-HOWTO.txt is outmoded. I hate to remove it altogether, since it's one of those files that people expect to find. But we can add a warning and fix all the other pointers to it. Reminded-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * doc/sphinx: Enable keep_warningsDaniel Vetter2016-07-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unfortunately warnings generated after parsing in sphinx can end up with entirely bogus files and line numbers as sources. Strangely for outright errors this is not a problem. Trying to convert warnings to errors also doesn't fix it. The only way to get useful output out of sphinx to be able to root cause the error seems to be enabling keep_warnings, which inserts a System Message into the actual output. Not pretty at all, but I don't really want to fix up core rst/sphinx code, and this gets the job done meanwhile. Cc: Markus Heiser <markus.heiser@darmarit.de> Cc: Jonathan Corbet <corbet@lwn.net> Cc: linux-doc@vger.kernel.org Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * Documentation: add watermark_scale_factor to the list of vm systcl fileJerome Marchand2016-07-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | Commit 795ae7a0de6b ("mm: scale kswapd watermarks in proportion to memory") properly added the description of the new knob to Documentation/sysctl/vm.txt, but forgot to add it to the list of files in /proc/sys/vm. Let's fix that. Signed-off-by: Jerome Marchand <jmarchan@redhat.com> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * kernel-doc: Fix up warning outputDaniel Vetter2016-07-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | While trying to make gpu docs warning free I stumbled over one output which wasn't following proper compiler error output standards. Fix it up for more quickfix awesomeness. Cc: Jonathan Corbet <corbet@lwn.net> Cc: Jani Nikula <jani.nikula@intel.com> Cc: linux-doc@vger.kernel.org Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * docs: Get rid of some kernel-documentation warningsJonathan Corbet2016-07-171-0/+6
| | | | | | | | | | | | | | | | | | Sphinx wants to interpret all literal blocks as being in the chosen language and complains when an attempt to parse a block fails. kernel-documentation.rst has a few blocks that are not in C; make that explicit to shut down the associated warnings. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* | [media] doc-rst: cec: update documentationHans Verkuil2016-07-196-58/+110
| | | | | | | | | | | | | | | | Update and expand the CEC documentation. Especially w.r.t. non-blocking mode. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: backward compatibility with older Sphinx versionsMauro Carvalho Chehab2016-07-195-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | Sphinx is really evil when an older version finds an extra attribute for the :toctree: tag: it simply ignores everything and produce documents without any chapter inside! As we're now using tags available only on Sphinx 1.4.x, we need to use some creative ways to add a title before the table of contents. Do that by using a css class. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: better name the media booksMauro Carvalho Chehab2016-07-185-15/+23
| | | | | | | | | | | | | | | | | | | | | | The titles at the media books were misleading, and some books were not numbered. Rename the kAPI book to better reflect its contents, be more consistent on the initial rst file for each book and better name them. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: fix media kAPI documentationMauro Carvalho Chehab2016-07-184-35/+1
| | | | | | | | | | | | | | | | | | | | | | I ended by adding twice each media header, because I saw some missing stuff at the documents. It seems it was my mistake, as everything seems to be there. So, remove those extra stuff, to avoid duplicating the documentation of the functions. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] get rid of Documentation/video4linux/lifeview.txtMauro Carvalho Chehab2016-07-183-42/+44
| | | | | | | | | | | | | | | | Move the contents of this file to bttv.rst and saa7134.rst. With that, we can finally remove Documentation/video4linux. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] cx88.rst: add contents of hauppauge-wintv-cx88-ir.txtMauro Carvalho Chehab2016-07-183-108/+62
| | | | | | | | | | | | | | Import the contents of hauppauge-wintv-cx88-ir.txt, after converted to ReST into cx88.rst file. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] cx88.rst: add contents from not-in-cx2388x-datasheet.txtMauro Carvalho Chehab2016-07-182-41/+42
| | | | | | | | | | | | | | There are some information about missing/wrong documentation at cx231xx datasheet. Add it to the cx88 chapter. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] cx2341x.rst: add contents of README.vbiMauro Carvalho Chehab2016-07-182-45/+50
| | | | | | | | | | | | | | | | | | | | Finally, adds the content of README.vbi at cx2341x.rst after its conversion to ReST format. Now, add information about this chipset and its driver is inside a single chapter at the media/v4l-drivers book. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] cx2341x: add contents of README.hm12Mauro Carvalho Chehab2016-07-182-120/+125
| | | | | | | | | | | | | | | | The README.hm12 file describes the proprietary format used by this driver for raw format, called HM12. Add its description at the document, after converted to ReST. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] cx2341x.rst: add contents of fw-osd-api.txtMauro Carvalho Chehab2016-07-183-399/+675
| | | | | | | | | | | | Convert it to ReST format and add to cx2341x.rst file. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] cx2341x.rst: add the contents of fw-upload.txtMauro Carvalho Chehab2016-07-181-0/+53
| | | | | | | | | | | | | | Add the contents of fw-upload.txt, after converting it to ReST format. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] cx2341x.rst: add contents of fw-memory.txtMauro Carvalho Chehab2016-07-182-139/+151
| | | | | | | | | | | | | | Convert the content to ReST and add it at the cx231xx.rst file. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] cx2341x.rst: add contents of fw-dma.txtMauro Carvalho Chehab2016-07-182-96/+99
| | | | | | | | | | | | | | Add the contents of fw-dma.txt, converted to ReST, and drop the old file. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] cx2341x.rst: add the contents of fw-calling.txtMauro Carvalho Chehab2016-07-182-69/+75
| | | | | | | | | | | | Convert it to ReST and add its contents at this file. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] cx2341x.rst: Add the contents of fw-encoder-api.txtMauro Carvalho Chehab2016-07-182-709/+1241
| | | | | | | | | | | | Convert its contents to ReST and add to cx2341x.rst. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] cx2341x.rst: add fw-decoder-registers.txt contentMauro Carvalho Chehab2016-07-182-906/+914
| | | | | | | | | | | | | | Convert the contents of fw-decoder-registers.txt to ReST and add it to cx2341x.rst file. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: start adding documentation for cx2341xMauro Carvalho Chehab2016-07-183-297/+565
| | | | | | | | | | | | | | move the contents of fw-decoder-api.txt to cx2341x and convert it to ReST file, adding it to media/v4l-drivers Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: add documentation for tunersMauro Carvalho Chehab2016-07-182-38/+55
| | | | | | | | | | | | Convert bttv/Tuners to ReST and add it to the media/v4l-drivers book. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: add documentation for bttv driverMauro Carvalho Chehab2016-07-182-61/+96
| | | | | | | | | | | | Convert it to ReST and add it to media/v4l-drivers book. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: move bttv documentation to bttv.rst fileMauro Carvalho Chehab2016-07-1817-1763/+1881
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were several files under Documentation/video4linux/bttv. Instead of simply copying them to the rst folder, I opted to merge into a single document and adjust the headers to adjust the section levels and fix the cards tables. There are two exceptions on the merge: - The Tuners were renamed as a separate document, as they describe a separate driver; - I removed the PROBLEMS section. It describes problems with the very first generation of 3D boards (Mistique/S3). It sounds very unlikely that someone would still need to install a bttv board on such hardware. Also, it is not very well written, IMHO. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] v4l-with-ir.rst: update it to reflect the current statusMauro Carvalho Chehab2016-07-171-41/+39
| | | | | | | | | | | | | | This document were really old. Update it to reflect the current status of the IR drivers for TV. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: add documentation about IR on V4L boardsMauro Carvalho Chehab2016-07-172-6/+10
| | | | | | | | | | | | | | This section is outdated, but let's add it, after converting to ReST, and then fix it. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: add vivid documentationMauro Carvalho Chehab2016-07-172-254/+415
| | | | | | | | | | | | | | | | | | Convert it to ReST and add to media/v4l-drivers book. As the sections here (and on other docs) are numbered, let's also make this book auto-numbered. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: add documentation for Zoran driverMauro Carvalho Chehab2016-07-172-118/+190
| | | | | | | | | | | | Convert it to ReST and add to media/v4l-drivers book. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: add documentation for uvcvideoMauro Carvalho Chehab2016-07-172-16/+33
| | | | | | | | | | | | Convert it to ReST and add to media/v4l-drivers book. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: add soc-camera documentationMauro Carvalho Chehab2016-07-173-22/+32
| | | | | | | | | | | | Convert it to ReST format and add it at media/v4l-drivers book. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: add documentation for si476xMauro Carvalho Chehab2016-07-172-135/+96
| | | | | | | | | | | | Convert it to ReST and add to media/v4l-drivers book. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: add documentation for si4713Mauro Carvalho Chehab2016-07-171-91/+105
| | | | | | | | | | | | Convert it to ReST and add it to the media/v4l-drivers book. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: add documentation for si470xMauro Carvalho Chehab2016-07-172-19/+56
| | | | | | | | | | | | Convert it to ReST and add to media/v4l-drivers book. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: add sh_mobile_ceu_camera crop documentationMauro Carvalho Chehab2016-07-172-28/+30
| | | | | | | | | | | | Convert it to ReST and add it to media/v4l-drivers book. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: add documentation for saa7134Mauro Carvalho Chehab2016-07-172-24/+20
| | | | | | | | | | | | Convert it to ReST and add to the media/v4l-device book. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: add documentation for radiotrackMauro Carvalho Chehab2016-07-172-80/+100
| | | | | | | | | | | | Convert it to ReST and add it to the media/v4l-drivers book. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: add pxa_camera documentationMauro Carvalho Chehab2016-07-172-103/+122
| | | | | | | | | | | | | | Convert pxa_camera to ReST format and add it to the media/v4l-drivers book. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: add documentation for pvrusb2Mauro Carvalho Chehab2016-07-172-88/+77
| | | | | | | | | | | | | | | | | | | | Convert pvrusb2 documentation to ReST file and removed the note about an html version of the documentation, as it is not shipped inside the Kernel. Add it to media/v4l-drivers book. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: add omap4_camera documentationMauro Carvalho Chehab2016-07-172-14/+15
| | | | | | | | | | | | | | Convert the omap4_camera documentation to ReST and add it to the media/v4l-drivers book. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: add omap3isp documentationMauro Carvalho Chehab2016-07-172-66/+70
| | | | | | | | | | | | | | Convert omap3isp documentation to ReST and add it to the media/v4l-drivers book. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: add meye documentationMauro Carvalho Chehab2016-07-172-47/+57
| | | | | | | | | | | | | | Convert the meye documentation to rst and add it to the media/v4l-drivers book. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: Add ivtv documentationMauro Carvalho Chehab2016-07-172-89/+121
| | | | | | | | | | | | | | Convert ivtv documentation to rst, update the links there and add to media/v4l-drivers book. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: add documentation for fimc driverMauro Carvalho Chehab2016-07-172-36/+60
| | | | | | | | | | | | | | Convert the document to rst and add it to the v4l-drivers book. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] doc-rst: add davinci-vpbe documentationMauro Carvalho Chehab2016-07-172-15/+18
| | | | | | | | | | | | Convert it to rst format and add it to the v4l-drivers book. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* | [media] cx88.rst: Update the documentationMauro Carvalho Chehab2016-07-171-35/+17
| | | | | | | | | | | | | | | | | | | | This doc is outdated, and contains information that it is not true anymore. Update it to reflect the changes that this driver suffered since I started working on it. While here, also update Gerd's name. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
OpenPOWER on IntegriCloud