summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'topic/docs-next' into v4l_for_linusMauro Carvalho Chehab2016-07-27619-10988/+88276
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * topic/docs-next: (322 commits) [media] cx23885-cardlist.rst: add a new card [media] doc-rst: add some needed escape codes [media] doc-rst: kapi: use :c:func: instead of :cpp:func doc-rst: kernel-doc: fix a change introduced by mistake [media] v4l2-ioctl.h add debug info for struct v4l2_ioctl_ops [media] dvb_ringbuffer.h: some documentation improvements [media] v4l2-ctrls.h: fully document the header file [media] doc-rst: Fix some typedef ugly warnings [media] doc-rst: reorganize the kAPI v4l2 chapters [media] rename v4l2-framework.rst to v4l2-intro.rst [media] move V4L2 clocks to a separate .rst file [media] v4l2-fh.rst: add cross references and markups [media] v4l2-fh.rst: add fh contents from v4l2-framework.rst [media] v4l2-fh.h: add documentation for it [media] v4l2-event.rst: add cross-references and markups [media] v4l2-event.h: document all functions [media] v4l2-event.rst: add text from v4l2-framework.rst [media] v4l2-framework.rst: remove videobuf quick chapter [media] v4l2-dev: add cross-references and improve markup [media] doc-rst: move v4l2-dev doc to a separate file ...
| * [media] cx23885-cardlist.rst: add a new cardMauro Carvalho Chehab2016-07-231-0/+1
| | | | | | | | | | | | add card Hauppauge WinTV-QuadHD-DVB to the list. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] doc-rst: add some needed escape codesMauro Carvalho Chehab2016-07-235-43/+43
| | | | | | | | | | | | | | Some extra escape codes are needed to avoid Sphinx to not identify the tags. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] doc-rst: kapi: use :c:func: instead of :cpp:funcMauro Carvalho Chehab2016-07-237-106/+106
| | | | | | | | | | | | | | | | | | References at the rst files for C functions generated via kernel-doc should use :c:func:. Fix it. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * doc-rst: kernel-doc: fix a change introduced by mistakeMauro Carvalho Chehab2016-07-231-1/+1
| | | | | | | | | | | | | | | | changeset b7e67f6c1bf7 ("doc-rst: linux_tv: supress lots of warnings") were meant to touch only on media files, but it also touched at this script by mistake. Revert such change. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] v4l2-ioctl.h add debug info for struct v4l2_ioctl_opsMauro Carvalho Chehab2016-07-232-0/+268
| | | | | | | | | | | | | | This struct is mentioned at the kAPI docbook. So, let's document it. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] dvb_ringbuffer.h: some documentation improvementsMauro Carvalho Chehab2016-07-231-5/+10
| | | | | | | | | | | | | | | | | | Better document a note on this header. While here, better format dvb_ringbuffer_pkt_read_user() to adjust it to CodingStyle. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] v4l2-ctrls.h: fully document the header fileMauro Carvalho Chehab2016-07-231-86/+279
| | | | | | | | | | | | | | | | There are lots of undocumented stuff on this header. Document them. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] doc-rst: Fix some typedef ugly warningsMauro Carvalho Chehab2016-07-232-2/+4
| | | | | | | | | | | | | | Sphinx can't handle well typedefs. Change two typedef occurrences, in order to cleanup some of such warnings. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] doc-rst: reorganize the kAPI v4l2 chaptersMauro Carvalho Chehab2016-07-2318-62/+51
| | | | | | | | | | | | | | Reorganize the order of the document, putting the chapters on a more logical order and renaming some sections. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] rename v4l2-framework.rst to v4l2-intro.rstMauro Carvalho Chehab2016-07-232-1/+1
| | | | | | | | | | | | | | Now that the only remaining chapters at v4l2-framework are the introduction ones, let' s rename the file. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] move V4L2 clocks to a separate .rst fileMauro Carvalho Chehab2016-07-233-25/+30
| | | | | | | | | | | | | | | | | | | | | | | | Move the v4l2 clocks stuff from v4l2-framework to a separate file and adds an attention that came from the v4l2-clk.h. Note: as this is meant to be a temporary kAPI, and it is used only by two drivers (soc_camera and em28xx), where the first one is in deprecation process, it probably not a worth effort to document its header. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] v4l2-fh.rst: add cross references and markupsMauro Carvalho Chehab2016-07-231-55/+56
| | | | | | | | | | | | | | Add cross-references with the kernel-doc functions/structs and improve the markups. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] v4l2-fh.rst: add fh contents from v4l2-framework.rstMauro Carvalho Chehab2016-07-232-133/+134
| | | | | | | | | | | | | | Move the v4l2_fh specific content from v4l2-framework.rst to v4l2-fh.rst. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] v4l2-fh.h: add documentation for itMauro Carvalho Chehab2016-07-233-32/+100
| | | | | | | | | | | | This header file was undocumented. Add documentation for it. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] v4l2-event.rst: add cross-references and markupsMauro Carvalho Chehab2016-07-231-56/+81
| | | | | | | | | | | | | | Improve events documentation by adding cross references, sub-titles and other markup elements. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] v4l2-event.h: document all functionsMauro Carvalho Chehab2016-07-231-12/+113
| | | | | | | | | | | | | | | | Several functions weren't documented. Document them all. While here, makes checkpatch.pl happy. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] v4l2-event.rst: add text from v4l2-framework.rstMauro Carvalho Chehab2016-07-232-107/+107
| | | | | | | | | | | | | | | | | | Move the v4l2 event-specific text from v4l2-framework.rst to v4l2-event.rst. That helps to keep the text together with the functions it describes, and makes easier to identify documentation gaps. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] v4l2-framework.rst: remove videobuf quick chapterMauro Carvalho Chehab2016-07-231-16/+0
| | | | | | | | | | | | | | | | As we merged the videobuf chapter at the kABI section, and it is a way more complete, just remove the small videobuf chapter that came from framework.txt. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] v4l2-dev: add cross-references and improve markupMauro Carvalho Chehab2016-07-233-171/+195
| | | | | | | | | | | | | | Add cross-references for the functions/structs and add the markup tags to improve its display. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] doc-rst: move v4l2-dev doc to a separate fileMauro Carvalho Chehab2016-07-233-344/+344
| | | | | | | | | | | | | | Move the documentation for video device node creation to a separate file. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] doc-rst: document v4l2-dev.hMauro Carvalho Chehab2016-07-233-83/+320
| | | | | | | | | | | | | | Add documentation for v4l2-dev.h, and put it at v4l2-framework.rst, where struct video_device is currently documented. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] mc-core: Fix a cross-referenceMauro Carvalho Chehab2016-07-231-1/+1
| | | | | | | | | | | | The v4l2_subdev reference was using the wrong tag. Fix it. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] v4l2-common.h: Add documentation for other functionsMauro Carvalho Chehab2016-07-231-5/+38
| | | | | | | | | | | | | | Not all functions at v4l2-common.h are documented. Add documentation for some other ones. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] v4l2-common.h: document the subdev functionsMauro Carvalho Chehab2016-07-232-7/+48
| | | | | | | | | | | | | | | | | | There are some subdev-specific functions at v4l2-common.h that are mentioned at v4l2-subdev.rst. Document them. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] v4l2-subdev.rst: add cross references to new sectionsMauro Carvalho Chehab2016-07-231-70/+82
| | | | | | | | | | | | | | The two new sections were missing cross-references, and had some other minor issues with the markups. Add such things. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] v4l2-subdev.rst: add two sections from v4l2-framework.rstMauro Carvalho Chehab2016-07-232-165/+166
| | | | | | | | | | | | | | | | There are two additional subdev-specific sections at the v4l2-framework file. Move them to the subdev chapter, in order to better organize the book. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] v4l2-async: document the remaining stuffMauro Carvalho Chehab2016-07-231-0/+39
| | | | | | | | | | | | | | | | There are one enum and 4 functions undocumented there. Document them. That will fix the broken links at the v4l2-subdev.rst file. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] doc-rst: merge v4l2-async.rst with v4l2-subdev.rstMauro Carvalho Chehab2016-07-233-5/+5
| | | | | | | | | | | | | | The Async API is actually part of the v4l2 subdev. Move its declarations to it. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] v4l2-subdev.rst: add cross-referencesMauro Carvalho Chehab2016-07-231-77/+85
| | | | | | | | | | | | | | Enrich the subdevice description by linking it to the functions and structs from v4l2-subdev.h. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] v4l2-subdev.h: Improve documentationMauro Carvalho Chehab2016-07-232-199/+383
| | | | | | | | | | | | | | | | | | | | | | This header were poorly documented, and weren't using the kernel-doc format. Document everything but the macros using the right format. While here, also fix the other comments to match the Linux CodingStyle. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] v4l2-subdev.rst: add documentation from v4l2-framework.rstMauro Carvalho Chehab2016-07-232-257/+256
| | | | | | | | | | | | | | | | There are lots of documentation about V4L2 subdevices at v4l2-framework.rst. Move them to its specific chapter at v4l2-subdev.rst. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] v4l2-device.rst: do cross references with kernel-docMauro Carvalho Chehab2016-07-231-64/+66
| | | | | | | | | | | | | | | | | | | | This document describes the main kAPI interfaces for the v4l2-device.h header. Add cross references to the documentation produced via kernel-doc. While here, also use monotonic font for constants. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] v4l2-device.rst: add contents from v4l2-frameworkMauro Carvalho Chehab2016-07-232-140/+139
| | | | | | | | | | | | | | | | Part of the contents of v4l2-framework is related to the kAPI defined by v4l2-device. Move such contents to the v4l2-device.rst. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] doc-rst: Split v4l-core into one file per kAPIMauro Carvalho Chehab2016-07-2318-38/+85
| | | | | | | | | | | | | | | | | | | | | | Sphinx produce a 1:1 mapping between a rst file and an html file. So, we need to split the kernel-doc tags on multiple documents. A side effect is that we're now having a better name for each section of the kAPI documentation. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] v4l2-device.h: document functionsMauro Carvalho Chehab2016-07-232-55/+145
| | | | | | | | | | | | | | The functions at v4l2-device.h are not using the proper markups. Add it, and include at the v4l2-core.rst. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] doc-rst: Fix license for the media booksMauro Carvalho Chehab2016-07-233-15/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The kAPI, v4l-drivers and dvb-drivers never used the GNU FDL license. The addition of such license header were just due to copy-and-paste. So, let's fix it. As the media_kapi were part of device-drivers.tmp, it is under GPL v2+. The other two books is an agregation of files without any license explicitly specified. So, they're all bound to the Kernel's COPYING license. So, they're GPL v2 only. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] media-entry.h: Fix a note markupMauro Carvalho Chehab2016-07-231-4/+4
| | | | | | | | | | | | | | | | | | The Sphinx note markup for media_remove_intf_links() is wrong: there's a missing space. While here, let's auto-numerate the two notes. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] doc-rst: better organize the media booksMauro Carvalho Chehab2016-07-238-42/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The uAPI book has 5 parts, but they lost numeration after conversion to rst. Manually number those parts, and make the main index with 1 depth, to only show the parts and the annexes. At each part, use :maxwidth: 5, in order to show a more complete index. While here, fix the cross-references between different books. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * [media] doc-rst: Fix some Sphinx warningsMauro Carvalho Chehab2016-07-234-3/+13
| | | | | | | | | | | | | | Fix all remaining media warnings with ReST that are fixable without changing at the Sphinx code. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * Merge branch 'patchwork' into topic/docs-nextMauro Carvalho Chehab2016-07-231510-10419/+22254
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * patchwork: (1492 commits) [media] cec: always check all_device_types and features [media] cec: poll should check if there is room in the tx queue [media] vivid: support monitor all mode [media] cec: fix test for unconfigured adapter in main message loop [media] cec: limit the size of the transmit queue [media] cec: zero unused msg part after msg->len [media] cec: don't set fh to NULL in CEC_TRANSMIT [media] cec: clear all status fields before transmit and always fill in sequence [media] cec: CEC_RECEIVE overwrote the timeout field [media] cxd2841er: Reading SNR for DVB-C added [media] cxd2841er: Reading BER and UCB for DVB-C added [media] cxd2841er: fix switch-case for DVB-C [media] cxd2841er: fix signal strength scale for ISDB-T [media] cxd2841er: adjust the dB scale for DVB-C [media] cxd2841er: provide signal strength for DVB-C [media] cxd2841er: fix BER report via DVBv5 stats API [media] mb86a20s: apply mask to val after checking for read failure [media] airspy: fix error logic during device register [media] s5p-cec/TODO: add TODO item [media] cec/TODO: drop comment about sphinx documentation ... Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
| * \ 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
| * | | [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>