Skip to content

Commit

Permalink
media: docs: move user-facing docs to the admin guide
Browse files Browse the repository at this point in the history
Most of the driver-specific documentation is meant to help
users of the media subsystem.

Move them to the admin-guide.

It should be noticed, however, that several of those files
are outdated and will require further work in order to make
them useful again.

Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
mchehab committed Apr 14, 2020
1 parent 2e9a7e0 commit 32e2eae
Show file tree
Hide file tree
Showing 72 changed files with 136 additions and 101 deletions.
1 change: 1 addition & 0 deletions Documentation/admin-guide/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ configure specific aspects of kernel behavior to your liking.
lockup-watchdogs
LSM/index
md
media/index
mm/index
module-signing
mono
Expand Down
4 changes: 2 additions & 2 deletions Documentation/admin-guide/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@
bttv.card= [HW,V4L] bttv (bt848 + bt878 based grabber cards)
bttv.radio= Most important insmod options are available as
kernel args too.
bttv.pll= See Documentation/media/v4l-drivers/bttv.rst
bttv.pll= See Documentation/admin-guide/media/bttv.rst
bttv.tuner=

bulk_remove=off [PPC] This parameter disables the use of the pSeries
Expand Down Expand Up @@ -2705,7 +2705,7 @@
See Documentation/admin-guide/pm/sleep-states.rst.

meye.*= [HW] Set MotionEye Camera parameters
See Documentation/media/v4l-drivers/meye.rst.
See Documentation/admin-guide/media/meye.rst.

mfgpt_irq= [IA-32] Specify the IRQ to use for the
Multi-Function General Purpose Timers on AMD Geode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ General information

This class of cards has a bt878a as the PCI interface, and require the bttv driver
for accessing the i2c bus and the gpio pins of the bt8xx chipset.
Please see Documentation/media/dvb-drivers/cards.rst => o Cards based on the Conexant Bt8xx PCI bridge:
Please see Documentation/admin-guide/media/cards.rst => o Cards based on the Conexant Bt8xx PCI bridge:

Compiling kernel please enable:

Expand All @@ -47,7 +47,7 @@ Loading Modules
Regular case: If the bttv driver detects a bt8xx-based DVB card, all frontend and backend modules will be loaded automatically.
Exceptions are:
- Old TwinHan DST cards or clones with or without CA slot and not containing an Eeprom.
People running udev please see Documentation/media/dvb-drivers/udev.rst.
People running udev please see Documentation/admin-guide/media/udev.rst.

In the following cases overriding the PCI type detection for dvb-bt8xx might be necessary:

Expand All @@ -74,7 +74,7 @@ Useful parameters for verbosity level and debugging the dst module:
The autodetected values are determined by the cards' "response string".
In your logs see f. ex.: dst_get_device_id: Recognize [DSTMCI].
For bug reports please send in a complete log with verbose=4 activated.
Please also see Documentation/media/dvb-drivers/ci.rst.
Please also see Documentation/admin-guide/media/ci.rst.

Running multiple cards
~~~~~~~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -102,7 +102,7 @@ Examples of card ID's:
$ modprobe bttv card=113 card=135

For a full list of card ID's please see Documentation/media/v4l-drivers/bttv-cardlist.rst.
For a full list of card ID's please see Documentation/admin-guide/media/bttv-cardlist.rst.
In case of further problems please subscribe and send questions to the mailing list: [email protected].

Probing the cards with broken PCI subsystem ID
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
104 changes: 104 additions & 0 deletions Documentation/admin-guide/media/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
.. SPDX-License-Identifier: GPL-2.0
.. include:: <isonum.txt>

**Copyright** |copy| 1999-2020 : LinuxTV Developers

This documentation is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation version 2 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.

For more details see the file COPYING in the source distribution of Linux.

.. _uapi-v4l-drivers:

################################################
Video4Linux (V4L) driver-specific documentation
################################################

.. only:: html

.. class:: toc-title

Table of Contents

.. toctree::
:maxdepth: 5
:numbered:

cardlist

v4l-with-ir

bttv
cafe_ccic
cpia2
cx88
davinci-vpbe
fimc
imx
imx7
ipu3
ivtv
meye
omap3isp
omap4_camera
philips
qcom_camss
rcar-fdp1
saa7134
si470x
si4713
si476x
vimc
vivid

##############################################
Linux Digital TV driver-specific documentation
##############################################

.. only:: html

.. class:: toc-title

Table of Contents

.. toctree::
:maxdepth: 5
:numbered:

intro

cards
ci
faq

avermedia
bt8xx
lmedm04
opera-firmware
technisat
ttusb-dec
udev
zr364xx

#################################
CEC driver-specific documentation
#################################

.. only:: html

.. class:: toc-title

Table of Contents

.. toctree::
:maxdepth: 5
:numbered:

pulse8-cec
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
34 changes: 0 additions & 34 deletions Documentation/media/cec-drivers/index.rst

This file was deleted.

11 changes: 0 additions & 11 deletions Documentation/media/dvb-drivers/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,6 @@ For more details see the file COPYING in the source distribution of Linux.
:maxdepth: 5
:numbered:

intro
avermedia
bt8xx
cards
ci
dvb-usb
faq
lmedm04
opera-firmware
technisat
ttusb-dec
udev
frontends
contributors
4 changes: 2 additions & 2 deletions Documentation/media/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ Linux Media Subsystem Documentation

../userspace-api/media/index
../driver-api/media/index
dvb-drivers/index

v4l-drivers/index
cec-drivers/index
dvb-drivers/index

.. only:: html and subproject

Expand Down
25 changes: 0 additions & 25 deletions Documentation/media/v4l-drivers/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,38 +31,13 @@ For more details see the file COPYING in the source distribution of Linux.
:maxdepth: 5
:numbered:

v4l-with-ir
tuners
cardlist
bttv
cafe_ccic
cpia2
cx88
davinci-vpbe
fimc
imx
imx7
ipu3
ivtv
max2175
meye
omap3isp
omap4_camera
philips
pvrusb2
pxa_camera
qcom_camss
radiotrack
rcar-fdp1
saa7134
sh_mobile_ceu_camera
si470x
si4713
si476x
uvcvideo
vimc
vivid
zr364xx

bttv-devel
cpia2_devel
Expand Down
4 changes: 2 additions & 2 deletions Documentation/translations/zh_CN/video4linux/omap3isp.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Chinese translated version of Documentation/media/v4l-drivers/omap3isp.rst
Chinese translated version of Documentation/admin-guide/media/omap3isp.rst

If you have any comment or update to the content, please contact the
original document maintainer directly. However, if you have a problem
Expand All @@ -11,7 +11,7 @@ Maintainer: Laurent Pinchart <[email protected]>
David Cohen <[email protected]>
Chinese maintainer: Fu Wei <[email protected]>
---------------------------------------------------------------------
Documentation/media/v4l-drivers/omap3isp.rst 的中文翻译
Documentation/admin-guide/media/omap3isp.rst 的中文翻译

如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文
交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻
Expand Down
2 changes: 1 addition & 1 deletion Documentation/userspace-api/media/v4l/dev-sliced-vbi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ MPEG stream.
*Historical context*: This format specification originates from a
custom, embedded, sliced VBI data format used by the ``ivtv`` driver.
This format has already been informally specified in the kernel sources
in the file ``Documentation/media/v4l-drivers/cx2341x.rst`` . The
in the file ``Documentation/media/v4l-drivers/cx2341x-uapi.rst`` . The
maximum size of the payload and other aspects of this format are driven
by the CX23415 MPEG decoder's capabilities and limitations with respect
to extracting, decoding, and displaying sliced VBI data embedded within
Expand Down
2 changes: 1 addition & 1 deletion Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ enum v4l2_mpeg_stream_vbi_fmt -
* - ``V4L2_MPEG_STREAM_VBI_FMT_IVTV``
- VBI in private packets, IVTV format (documented in the kernel
sources in the file
``Documentation/media/v4l-drivers/cx2341x.rst``)
``Documentation/media/v4l-drivers/cx2341x-uapi.rst``)



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Image Process Control IDs

``V4L2_CID_DEINTERLACING_MODE (menu)``
The video deinterlacing mode (such as Bob, Weave, ...). The menu items are
driver specific and are documented in :ref:`v4l-drivers`.
driver specific and are documented in :ref:`uapi-v4l-drivers`.

``V4L2_CID_DIGITAL_GAIN (integer)``
Digital gain is the value by which all colour components
Expand Down
2 changes: 1 addition & 1 deletion Documentation/userspace-api/media/v4l/pixfmt-reserved.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ please make a proposal on the linux-media mailing list.
- YUV 4:2:0 format used by the IVTV driver.

The format is documented in the kernel sources in the file
``Documentation/media/v4l-drivers/cx2341x.rst``
``Documentation/media/v4l-drivers/cx2341x-uapi.rst``
* .. _V4L2-PIX-FMT-CPIA1:

- ``V4L2_PIX_FMT_CPIA1``
Expand Down
Loading

0 comments on commit 32e2eae

Please sign in to comment.