platform/kernel/linux-rpi.git
8 years ago[media] Input: atmel_mxt_ts - output diagnostic debug via V4L2 device
Nick Dyer [Mon, 18 Jul 2016 21:10:32 +0000 (18:10 -0300)]
[media] Input: atmel_mxt_ts - output diagnostic debug via V4L2 device

Register a video device to output T37 diagnostic data.

Signed-off-by: Nick Dyer <nick@shmanahar.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
8 years ago[media] Input: atmel_mxt_ts - add support for T37 diagnostic data
Nick Dyer [Mon, 18 Jul 2016 21:10:31 +0000 (18:10 -0300)]
[media] Input: atmel_mxt_ts - add support for T37 diagnostic data

Atmel maXTouch devices have a T37 object which can be used to read raw
touch deltas from the device. This consists of an array of 16-bit
integers, one for each node on the touchscreen matrix.

Signed-off-by: Nick Dyer <nick@shmanahar.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
8 years ago[media] v4l2-core: Add support for touch devices
Nick Dyer [Mon, 18 Jul 2016 21:10:30 +0000 (18:10 -0300)]
[media] v4l2-core: Add support for touch devices

Some touch controllers send out touch data in a similar way to a
greyscale frame grabber.

Add new device type VFL_TYPE_TOUCH:
- This uses a new device prefix v4l-touch for these devices, to stop
  generic capture software from treating them as webcams. Otherwise,
  touch is treated similarly to video capture.
- Add V4L2_INPUT_TYPE_TOUCH
- Add MEDIA_INTF_T_V4L_TOUCH
- Add V4L2_CAP_TOUCH to indicate device is a touch device

Add formats:
- V4L2_TCH_FMT_DELTA_TD16 for signed 16-bit touch deltas
- V4L2_TCH_FMT_DELTA_TD08 for signed 16-bit touch deltas
- V4L2_TCH_FMT_TU16 for unsigned 16-bit touch data
- V4L2_TCH_FMT_TU08 for unsigned 8-bit touch data

This support will be used by:
- Atmel maXTouch (atmel_mxt_ts)
- Synaptics RMI4.
- sur40

Signed-off-by: Nick Dyer <nick@shmanahar.org>
Tested-by: Chris Healy <cphealy@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
8 years ago[media] Input: atmel_mxt_ts - update MAINTAINERS email address
Nick Dyer [Mon, 18 Jul 2016 21:10:29 +0000 (18:10 -0300)]
[media] Input: atmel_mxt_ts - update MAINTAINERS email address

I'm leaving ITDev, so change to my personal email. My understanding is
that someone at Atmel will take this on once their takeover by Microchip
has settled down.

Signed-off-by: Nick Dyer <nick@shmanahar.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
8 years ago[media] rcar-vin: move media bus information to struct rvin_graph_entity
Niklas Söderlund [Mon, 15 Aug 2016 15:06:35 +0000 (12:06 -0300)]
[media] rcar-vin: move media bus information to struct rvin_graph_entity

The primary reason for this change is to prepare for Gen3 support where
there will be more then one possible video source. Each source will have
its own media bus format and code, so it needs to be moved from the per
device structure to a structure used to represent an individual
connection to a video source.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] rcar-vin: rework how subdevice is found and bound
Niklas Söderlund [Mon, 15 Aug 2016 15:06:34 +0000 (12:06 -0300)]
[media] rcar-vin: rework how subdevice is found and bound

The original drivers code to find a subdevice by looking in the DT grpah
and how the callbacks to the v4l2 async bind framework where poorly
written. The most obvious example of badness was the duplication of data
in the struct rvin_graph_entity.

This patch removes the data duplication, simplifies the parsing of the
DT graph and add checks to the v4l2 callbacks.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] rcar-vin: move chip check for pixelformat support
Niklas Söderlund [Mon, 15 Aug 2016 15:06:33 +0000 (12:06 -0300)]
[media] rcar-vin: move chip check for pixelformat support

The check for if the specific pixelformat is supported on the current
chip should happen in VIDIOC_S_FMT and VIDIOC_TRY_FMT and not when we
try to setup the hardware for streaming.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] rcar-vin: add dependency on MEDIA_CONTROLLER
Niklas Söderlund [Mon, 15 Aug 2016 15:06:32 +0000 (12:06 -0300)]
[media] rcar-vin: add dependency on MEDIA_CONTROLLER

This is done in preparation for Gen3 support where media controller
support will be mandatory for the driver.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] rcar-vin: do not use v4l2_device_call_until_err()
Niklas Söderlund [Mon, 15 Aug 2016 15:06:31 +0000 (12:06 -0300)]
[media] rcar-vin: do not use v4l2_device_call_until_err()

Fix a error from the original driver where v4l2_device_call_until_err()
where used for the pad specific v4l2 operation set_fmt.  Also fix up the
error path from this fix so if there is an error it will be propagated
to the caller.

The error path label have also been renamed as a result from a
nitpicking review comment since we are fixing other issues here.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] rcar-vin: return correct error from platform_get_irq()
Niklas Söderlund [Mon, 15 Aug 2016 15:06:30 +0000 (12:06 -0300)]
[media] rcar-vin: return correct error from platform_get_irq()

Fix a error from the original driver where the wrong error code is
returned if the driver fails to get a IRQ number from
platform_get_irq().

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] rcar-vin: rename entity to digital
Niklas Söderlund [Mon, 15 Aug 2016 15:06:29 +0000 (12:06 -0300)]
[media] rcar-vin: rename entity to digital

When Gen3 support is added to the driver more then one possible video
source entity will be possible. Knowing that the name entity is a bad
one, rename it to digital since it will deal with the digital input
source.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] rcar-vin: arrange enum chip_id in chronological order
Niklas Söderlund [Mon, 15 Aug 2016 15:06:28 +0000 (12:06 -0300)]
[media] rcar-vin: arrange enum chip_id in chronological order

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] rcar-vin: reduce indentation in rvin_s_dv_timings()
Niklas Söderlund [Mon, 15 Aug 2016 15:06:27 +0000 (12:06 -0300)]
[media] rcar-vin: reduce indentation in rvin_s_dv_timings()

Align style with the rest of the driver.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] rcar-vin: fix indentation errors in rcar-v4l2.c
Niklas Söderlund [Mon, 15 Aug 2016 15:06:26 +0000 (12:06 -0300)]
[media] rcar-vin: fix indentation errors in rcar-v4l2.c

Fix broken indentations and line breaks.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years agodocs-rst: add media documentation to PDF output
Mauro Carvalho Chehab [Tue, 16 Aug 2016 16:02:40 +0000 (13:02 -0300)]
docs-rst: add media documentation to PDF output

Now that the build of PDF output on media got fixed, re-add it
to the Sphinx PDF build.

Partially reverts 3eb6cd6834c3 ('Documentation: exclude
media documentation from pdf generation').

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] docs-rst: fix some .. note:: occurrences
Mauro Carvalho Chehab [Mon, 22 Aug 2016 13:49:31 +0000 (10:49 -0300)]
[media] docs-rst: fix some .. note:: occurrences

On some places, either an space or the second ':' is missing.

Fix them.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] index.rst: Fix LaTeX error in interactive mode on Sphinx 1.4.x
Mauro Carvalho Chehab [Sun, 21 Aug 2016 18:14:57 +0000 (15:14 -0300)]
[media] index.rst: Fix LaTeX error in interactive mode on Sphinx 1.4.x

The Sphinx 1.4.x definition for \DUrole is:

\providecommand*{\DUrole}[2]{%
  \ifcsname DUrole#1\endcsname%
    \csname DUrole#1\endcsname{#2}%
  \else% backwards compatibility: try \docutilsrole#1{#2}
    \ifcsname docutilsrole#1\endcsname%
      \csname docutilsrole#1\endcsname{#2}%
    \else%
      #2%
    \fi%
  \fi%
}

This is broken when it is used inside a \begin{alltt} block.
So, replace it by just "#2", as this won't cause troubles, and
it is one of the fallback methods for it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] docs-rst: Convert MC uAPI to use C function references
Mauro Carvalho Chehab [Fri, 19 Aug 2016 19:59:55 +0000 (16:59 -0300)]
[media] docs-rst: Convert MC uAPI to use C function references

Name all ioctl references and make them match the ioctls that
are documented. That will improve the cross-reference index,
as it will have all ioctls and syscalls there.

While here, improve the documentation to make them to look more
like the rest of the document.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] docs-rst: Convert LIRC uAPI to use C function references
Mauro Carvalho Chehab [Fri, 19 Aug 2016 19:59:31 +0000 (16:59 -0300)]
[media] docs-rst: Convert LIRC uAPI to use C function references

Name all ioctl references and make them match the ioctls that
are documented. That will improve the cross-reference index,
as it will have all ioctls and syscalls there.

While here, improve the documentation to make them to look more
like the rest of the document.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] docs-rst: Convert CEC uAPI to use C function references
Mauro Carvalho Chehab [Fri, 19 Aug 2016 19:58:14 +0000 (16:58 -0300)]
[media] docs-rst: Convert CEC uAPI to use C function references

Name all ioctl references and make them match the ioctls that
are documented. That will improve the cross-reference index,
as it will have all ioctls and syscalls there.

While here, improve the documentation to make them to look more
like the rest of the document.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] docs-rst: Convert DVB uAPI to use C function references
Mauro Carvalho Chehab [Fri, 19 Aug 2016 19:56:15 +0000 (16:56 -0300)]
[media] docs-rst: Convert DVB uAPI to use C function references

Name all ioctl references and make them match the ioctls that
are documented. That will improve the cross-reference index,
as it will have all ioctls and syscalls there.

While here, improve the documentation, marking the deprecated
ioctls, and making the non-deprecated ones more like the rest
of the media book.

Also, add a notice for ioctls that still require documentation.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] docs-rst: Convert V4L2 uAPI to use C function references
Mauro Carvalho Chehab [Fri, 19 Aug 2016 19:53:38 +0000 (16:53 -0300)]
[media] docs-rst: Convert V4L2 uAPI to use C function references

Name all ioctl references and make them match the ioctls that
are documented. That will improve the cross-reference index,
as it will have all ioctls and syscalls there.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] docs-next: stop abusing on the cpp domain
Mauro Carvalho Chehab [Fri, 19 Aug 2016 15:00:43 +0000 (12:00 -0300)]
[media] docs-next: stop abusing on the cpp domain

Now that we have an override for the c domain that will do
the right thing for the Kernel, stop abusing on the cpp
domain.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] pixfmt-007.rst: use Sphinx math:: expressions
Mauro Carvalho Chehab [Mon, 15 Aug 2016 13:47:18 +0000 (10:47 -0300)]
[media] pixfmt-007.rst: use Sphinx math:: expressions

Enrich math formulas by using the Sphinx math. That will allow
using those formulas on pdf documents as well.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years agoMerge remote-tracking branch 'docs-next/docs-next' into devel/docs-next
Mauro Carvalho Chehab [Tue, 23 Aug 2016 00:20:18 +0000 (21:20 -0300)]
Merge remote-tracking branch 'docs-next/docs-next' into devel/docs-next

* docs-next/docs-next: (51 commits)
  docs-rst: add package adjustbox
  docs-rst: Fix an warning when in interactive mode
  docs-rst: Use better colors for note/warning/attention boxes
  docs-rst: conf.py: adjust the size of .. note:: tag
  docs-rst: add support for LaTeX output
  doc-rst: migrate ioctl CEC_DQEVENT to c-domain
  doc-rst: Revert "kernel-doc: fix handling of address_space tags"
  doc-rst: moved *duplicate* warnings to nitpicky mode
  doc-rst:c-domain: ref-name of a function declaration
  doc-rst: add boilerplate to customize c-domain
  docs: Sphinxify gdb-kernel-debugging.txt and move to dev-tools
  docs: sphinxify kmemcheck.txt and move to dev-tools
  docs: sphinxify kmemleak.txt and move it to dev-tools
  docs: sphinxify ubsan.txt and move it to dev-tools
  docs: sphinxify kasan.txt and move to dev-tools
  docs: sphinixfy gcov.txt and move to dev-tools
  docs: sphinxify kcov.txt and move to dev-tools
  docs: sphinxify sparse.txt and move to dev-tools
  docs: sphinxify coccinelle.txt and add it to dev-tools
  docs: create a new dev-tools directory
  ...

8 years agoMerge branch 'doc/4.9' into docs-next
Jonathan Corbet [Mon, 22 Aug 2016 21:40:38 +0000 (15:40 -0600)]
Merge branch 'doc/4.9' into docs-next

8 years agodocs-rst: add package adjustbox
Mauro Carvalho Chehab [Mon, 22 Aug 2016 14:04:49 +0000 (11:04 -0300)]
docs-rst: add package adjustbox

We need adjustbox to allow adjusting the size of tables that
are bigger than the line width. There are quite a few of them
at the media books.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
8 years agodocs-rst: Fix an warning when in interactive mode
Mauro Carvalho Chehab [Sun, 21 Aug 2016 18:23:04 +0000 (15:23 -0300)]
docs-rst: Fix an warning when in interactive mode

When XeLaTeX is in interactive mode, it complains that
py@noticelength already exists. Rename it and declare it
only once to avoid such messages.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
8 years agodocs-rst: Use better colors for note/warning/attention boxes
Mauro Carvalho Chehab [Sun, 21 Aug 2016 18:23:03 +0000 (15:23 -0300)]
docs-rst: Use better colors for note/warning/attention boxes

Instead of painting the box with gray, let's use a colored
box. IMHO, that makes easier to warn users about some issue
pointed by the Sphinx. It also matches to what we do already
with the HTML output.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
8 years agodocs-rst: conf.py: adjust the size of .. note:: tag
Mauro Carvalho Chehab [Fri, 19 Aug 2016 12:49:38 +0000 (09:49 -0300)]
docs-rst: conf.py: adjust the size of .. note:: tag

While the current implementation works well when using as a
paragraph, it doesn't work properly if inside a table. As we
have quite a few such cases, fix the logic to take the column
size into account.

PS.: I took the logic there from the latest version of Sphinx.sty

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
8 years agodocs-rst: add support for LaTeX output
Mauro Carvalho Chehab [Thu, 18 Aug 2016 14:53:39 +0000 (11:53 -0300)]
docs-rst: add support for LaTeX output

Sphinx supports LaTeX output. Sometimes, it is interesting to
call it directly, instead of also generating a PDF. As it comes
for free, add a target for it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
8 years agodoc-rst: migrate ioctl CEC_DQEVENT to c-domain
Markus Heiser [Mon, 15 Aug 2016 14:08:28 +0000 (16:08 +0200)]
doc-rst: migrate ioctl CEC_DQEVENT to c-domain

This is only one example, demonstrating the benefits of the patch
series.  The CEC_DQEVENT ioctl is migrated to the sphinx c-domain and
referred by ":name: CEC_DQEVENT".

With this change the indirection using ":ref:`CEC_DQEVENT` is no longer
needed, we can refer the ioctl directly with ":c:func:`CEC_DQEVENT`". As
addition in the index, there is a entry "CEC_DQEVENT (C function)".

Signed-off-by: Markus Heiser <markus.heiser@darmarIT.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
8 years agodoc-rst: Revert "kernel-doc: fix handling of address_space tags"
Markus Heiser [Mon, 15 Aug 2016 14:08:27 +0000 (16:08 +0200)]
doc-rst: Revert "kernel-doc: fix handling of address_space tags"

This reverts commit a88b1672d4ddf9895eb53e6980926d5e960dea8e.

From the origin comit log::

  The RST cpp:function handler is very pedantic: it doesn't allow any
  macros like __user on it

Since the kernel-doc parser does NOT make use of the cpp:domain, there
is no need to change the kernel-doc parser eleminating the address_space
tags.

Signed-off-by: Markus Heiser <markus.heiser@darmarIT.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
8 years agodoc-rst: moved *duplicate* warnings to nitpicky mode
Markus Heiser [Mon, 15 Aug 2016 14:08:26 +0000 (16:08 +0200)]
doc-rst: moved *duplicate* warnings to nitpicky mode

Moved the *duplicate C object description* warnings for function
declarations in the nitpicky mode. In nitpick mode, you can suppress
those warnings (e.g. ioctl) with::

  nitpicky = True
  nitpick_ignore = [
      ("c:func", "ioctl"),
  ]

See Sphinx documentation for the config values for ``nitpick`` and
``nitpick_ignore`` [1].

With this change all the ".. cpp:function:: int ioctl(..)" descriptions
(found in the media book) can be migrated to ".. c:function:: int
ioctl(..)", without getting any warnings. E.g.::

  .. cpp:function:: int ioctl( int fd, int request, struct cec_event *argp )

  .. c:function:: int ioctl( int fd, int request, struct cec_event *argp )

The main effect, is that we get those *CPP-types* back into Sphinx's C-
namespace and we need no longer to distinguish between c/cpp references,
when we refer a function like the ioctl.

[1] http://www.sphinx-doc.org/en/stable/config.html?highlight=nitpick#confval-nitpicky

Signed-off-by: Markus Heiser <markus.heiser@darmarIT.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
8 years agodoc-rst:c-domain: ref-name of a function declaration
Markus Heiser [Mon, 15 Aug 2016 14:08:25 +0000 (16:08 +0200)]
doc-rst:c-domain: ref-name of a function declaration

Add option 'name' to the "c:function:" directive.  With option 'name'
the ref-name of a function can be modified. E.g.::

    .. c:function:: int ioctl( int fd, int request )
       :name: VIDIOC_LOG_STATUS

The func-name (e.g. ioctl) remains in the output but the ref-name
changed from ``ioctl`` to ``VIDIOC_LOG_STATUS``. The index entry for
this function is also changed to ``VIDIOC_LOG_STATUS`` and the function
can now referenced by::

    :c:func:`VIDIOC_LOG_STATUS`

Signed-off-by: Markus Heiser <markus.heiser@darmarIT.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
8 years agodoc-rst: add boilerplate to customize c-domain
Markus Heiser [Mon, 22 Aug 2016 21:16:21 +0000 (15:16 -0600)]
doc-rst: add boilerplate to customize c-domain

Add a sphinx-extension to customize the sphinx c-domain.  No functional
changes right yet, just the boilerplate code.

Signed-off-by: Markus Heiser <markus.heiser@darmarIT.de>
[ jc: coding-style tweak ]
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
8 years ago[media] MAINTAINERS: atmel-isc: add entry for Atmel ISC
Songjun Wu [Wed, 17 Aug 2016 06:05:29 +0000 (03:05 -0300)]
[media] MAINTAINERS: atmel-isc: add entry for Atmel ISC

Add the MAINTAINERS' entry for Microchip / Atmel Image Sensor Controller.

Signed-off-by: Songjun Wu <songjun.wu@microchip.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] atmel-isc: DT binding for Image Sensor Controller driver
Songjun Wu [Wed, 17 Aug 2016 06:05:28 +0000 (03:05 -0300)]
[media] atmel-isc: DT binding for Image Sensor Controller driver

DT binding documentation for ISC driver.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Songjun Wu <songjun.wu@microchip.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] atmel-isc: add the Image Sensor Controller code
Songjun Wu [Wed, 17 Aug 2016 06:05:27 +0000 (03:05 -0300)]
[media] atmel-isc: add the Image Sensor Controller code

Add driver for the Image Sensor Controller. It manages
incoming data from a parallel based CMOS/CCD sensor.
It has an internal image processor, also integrates a
triple channel direct memory access controller master
interface.

Signed-off-by: Songjun Wu <songjun.wu@microchip.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] docs-rst: fix some .. note:: occurrences
Mauro Carvalho Chehab [Mon, 22 Aug 2016 12:19:46 +0000 (09:19 -0300)]
[media] docs-rst: fix some .. note:: occurrences

On some places, either an space or the second ':' is missing.

Fix them.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] docs-rst: fix some LaTeX errors when in interactive mode
Mauro Carvalho Chehab [Sun, 21 Aug 2016 17:07:35 +0000 (14:07 -0300)]
[media] docs-rst: fix some LaTeX errors when in interactive mode

There are several minor issues that are seen when building
PDF on interactive mode.

Fix them.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] docs-rst: v4l2-drivers book: adjust column margins
Mauro Carvalho Chehab [Sat, 20 Aug 2016 12:26:42 +0000 (09:26 -0300)]
[media] docs-rst: v4l2-drivers book: adjust column margins

A few tables are not properly output on LaTeX format.

Fix them.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] v4l2-dev.rst: adjust table to fit into page
Mauro Carvalho Chehab [Sat, 20 Aug 2016 12:25:51 +0000 (09:25 -0300)]
[media] v4l2-dev.rst: adjust table to fit into page

One table here is not being properly displayed on LaTeX
format. Adjust it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] cec-ioc-receive.rst: one table here should be longtable
Mauro Carvalho Chehab [Sat, 20 Aug 2016 01:39:44 +0000 (22:39 -0300)]
[media] cec-ioc-receive.rst: one table here should be longtable

The table is too big to fit into a single page on LaTeX format.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] subdev-formats.rst: adjust tables size for LaTeX output
Mauro Carvalho Chehab [Sat, 20 Aug 2016 01:30:47 +0000 (22:30 -0300)]
[media] subdev-formats.rst: adjust tables size for LaTeX output

There are two big tables here that are very hard to adjust its
size.

The first one would fit into one page, but the latex.py logic
at Sphinx auto-switches to longtable when there are more than 30
rows. There's no way to override without coding.

The second one is really big, and won't fit on a single page.
So, it has to use tiny font to fit.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] extended-controls.rst: avoid going past page with LaTeX
Mauro Carvalho Chehab [Fri, 19 Aug 2016 22:23:37 +0000 (19:23 -0300)]
[media] extended-controls.rst: avoid going past page with LaTeX

It is painful to put code/verbatim code in bold. It seems that
the only way is to arrange it like:
``foo``
    bar

At least on LaTeX output, when this happens, the "foo" string
is not hidentable/breakable. The entire string should fit into
a single line.

Add a workaround for this ReST limitation by splitting the
foo string into two strings, on separate lines. The output
is not the best, but it works.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] Fix a few additional tables at uAPI for LaTeX output
Mauro Carvalho Chehab [Fri, 19 Aug 2016 14:48:14 +0000 (11:48 -0300)]
[media] Fix a few additional tables at uAPI for LaTeX output

There are still a few tables with wrong columns at the uAPI
docs. Fix them.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] docs-rst: fix warnings introduced by LaTeX patchset
Mauro Carvalho Chehab [Fri, 19 Aug 2016 14:14:23 +0000 (11:14 -0300)]
[media] docs-rst: fix warnings introduced by LaTeX patchset

Sphinx is really pedantic with respect to the order where
table tags and references are created. Putting things at
the wrong order causes troubles.

The order that seems to work is:

.. raw:: latex

.. tabularcolumns::

.. _foo_name:

.. cssclass: longtable

.. flat-table::

Reorder the tags to the above order, to avoid troubles, and
fix remaining warnings introduced by media recent patches.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] gen-errors.rst fix error table column limits
Mauro Carvalho Chehab [Fri, 19 Aug 2016 12:46:28 +0000 (09:46 -0300)]
[media] gen-errors.rst fix error table column limits

Fix the generic errors table to avoid column overflows on
LaTeX output.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] uapi/cec: adjust tables on LaTeX output
Mauro Carvalho Chehab [Fri, 19 Aug 2016 12:42:15 +0000 (09:42 -0300)]
[media] uapi/cec: adjust tables on LaTeX output

Fix tables to avoid text to overflow the cell limits.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] cec-core: Convert it to ReST format
Mauro Carvalho Chehab [Fri, 19 Aug 2016 11:46:13 +0000 (08:46 -0300)]
[media] cec-core: Convert it to ReST format

There are some things there that aren't ok for ReST format.

Fix them.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] docs-rst: move cec kAPI documentation to the media book
Mauro Carvalho Chehab [Fri, 19 Aug 2016 11:39:16 +0000 (08:39 -0300)]
[media] docs-rst: move cec kAPI documentation to the media book

The CEC kAPI documentation should also be part of the media book.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] media-types.rst: adjust tables to fit on LaTeX output
Mauro Carvalho Chehab [Fri, 19 Aug 2016 11:20:05 +0000 (08:20 -0300)]
[media] media-types.rst: adjust tables to fit on LaTeX output

A few tables at the media uAPI documentation have columns
not well dimentioned. Adjust them.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] adjust remaining tables at DVB uAPI documentation
Mauro Carvalho Chehab [Fri, 19 Aug 2016 11:00:44 +0000 (08:00 -0300)]
[media] adjust remaining tables at DVB uAPI documentation

There are a few broken tables on LaTeX output at the DVB
uAPI documentation. Fix them.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] fe_property_parameters.rst: Adjust column sizes
Mauro Carvalho Chehab [Fri, 19 Aug 2016 10:43:02 +0000 (07:43 -0300)]
[media] fe_property_parameters.rst: Adjust column sizes

Add position hints for some tables, in order for them to be
shown properly on LaTeX output.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] fix v4l2-selection-*.rst tables for LaTeX output
Mauro Carvalho Chehab [Fri, 19 Aug 2016 10:34:13 +0000 (07:34 -0300)]
[media] fix v4l2-selection-*.rst tables for LaTeX output

Adjust the tables there to fit inside the page margins.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] vidioc-g-tuner.rst: Fix tables to fit at LaTeX output
Mauro Carvalho Chehab [Fri, 19 Aug 2016 09:56:43 +0000 (06:56 -0300)]
[media] vidioc-g-tuner.rst: Fix tables to fit at LaTeX output

Several tables are missing column definitions and/or are too big
to fit into the page. Adjust them.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] vidioc-g-tuner.rst: improve documentation for tuner type
Mauro Carvalho Chehab [Fri, 19 Aug 2016 09:56:36 +0000 (06:56 -0300)]
[media] vidioc-g-tuner.rst: improve documentation for tuner type

The tuner type table misses descriptions for each type. While
most of stuff are obvious, the two SDR definitions aren't.

So, add descriptions to all of them.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] adjust some vidioc-*rst tables with wrong columns
Mauro Carvalho Chehab [Thu, 18 Aug 2016 17:31:47 +0000 (14:31 -0300)]
[media] adjust some vidioc-*rst tables with wrong columns

Adjust simple cases where the columns on some vidioc files
are overriding their neighbours.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] vidioc-g-sliced-vbi-cap.rst: make tables fit on LaTeX output
Mauro Carvalho Chehab [Fri, 19 Aug 2016 08:40:55 +0000 (05:40 -0300)]
[media] vidioc-g-sliced-vbi-cap.rst: make tables fit on LaTeX output

The tables don't fit at the page on this file. As noticed
before, Sphinx (or LaTeX?) does a crap job on tables with
cell span, and some work has to be done to make it fit.

Move the see also reference to a footnote, break one paragraph
into two and adjust the table columns to make it visible.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] vidioc-enumstd.rst: adjust video standards table
Mauro Carvalho Chehab [Thu, 18 Aug 2016 17:55:24 +0000 (14:55 -0300)]
[media] vidioc-enumstd.rst: adjust video standards table

This table is too big for LaTeX output, and lacks columns
specs for LaTeX format.

Also, it has a hidden column, as there are some cell spans
with the wrong values.

Fix it, so it can be displayed properly on LaTeX/PDF.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] vidioc-dv-timings-cap.rst: Adjust LaTeX columns
Mauro Carvalho Chehab [Thu, 18 Aug 2016 16:59:24 +0000 (13:59 -0300)]
[media] vidioc-dv-timings-cap.rst: Adjust LaTeX columns

Some tables are not properly displayed on LaTeX. Fix them.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] vidioc-dqevent.rst: adjust two table columns for LaTeX output
Mauro Carvalho Chehab [Thu, 18 Aug 2016 16:46:03 +0000 (13:46 -0300)]
[media] vidioc-dqevent.rst: adjust two table columns for LaTeX output

There are two tables with mangled columns. Fix it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] vidioc-decoder-cmd.rst: better adjust column widths
Mauro Carvalho Chehab [Thu, 18 Aug 2016 16:31:34 +0000 (13:31 -0300)]
[media] vidioc-decoder-cmd.rst: better adjust column widths

Better adjust the columns for LaTeX output

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] diff-v4l.rst: Make capabilities table fit in LaTeX
Mauro Carvalho Chehab [Thu, 18 Aug 2016 14:32:30 +0000 (11:32 -0300)]
[media] diff-v4l.rst: Make capabilities table fit in LaTeX

This table has several troubles:
- a duplicated "struct" on its name;
- a reference to a V4L version 1 struct that will never
  point to something (as we got rid of V4L1 API a long
  time ago);
- misses hints for LaTeX output (column size and longtable
  style).

Fix them.

It should be noticed that the first column of this table is
not aligned with the rest. I suspect that this is a bug at
the flat-table extension.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] subdev-formats.rst: adjust most of the tables to fill in page
Mauro Carvalho Chehab [Thu, 18 Aug 2016 13:39:06 +0000 (10:39 -0300)]
[media] subdev-formats.rst: adjust most of the tables to fill in page

Fix mosto fo the tables there in order to make them fit at the
page size.

There are, however, two exceptions: RGB and YUV big tables,
where adding the raw latex adjustbox caused the tables to not
be properly formatted. I suspect that the problem is because
those are long tables, but not really sure.

The thing is that Sphinx lacks an "adjustbox" tag that would
avoid the raw latex hacks.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] dev-subdev.rst: make table fully visible on LaTeX
Mauro Carvalho Chehab [Thu, 18 Aug 2016 12:04:57 +0000 (09:04 -0300)]
[media] dev-subdev.rst: make table fully visible on LaTeX

The table there is too big and doesn't have format hints for
LaTeX output.

Fix it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] dev-rds.rst: adjust table dimentions for LaTeX
Mauro Carvalho Chehab [Thu, 18 Aug 2016 11:16:26 +0000 (08:16 -0300)]
[media] dev-rds.rst: adjust table dimentions for LaTeX

One of the tables has wrong column dimentions. Fix it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] dev-sliced-vbi.rst: Adjust tables on LaTeX output
Mauro Carvalho Chehab [Thu, 18 Aug 2016 10:38:53 +0000 (07:38 -0300)]
[media] dev-sliced-vbi.rst: Adjust tables on LaTeX output

Better format the tables in a way that will fit inside the
page.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] dev-sliced-vbi.rst: use a footnote for VBI images
Mauro Carvalho Chehab [Thu, 18 Aug 2016 10:37:49 +0000 (07:37 -0300)]
[media] dev-sliced-vbi.rst: use a footnote for VBI images

Just like on dvb-raw-vbi.rst, the LaTeX output doesn't work
well with cell spans. Also, this is actually a note, so, move
it to a footnote.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] docs-rst: re-generate vbi_525.pdf and vbi_625.pdf
Mauro Carvalho Chehab [Thu, 18 Aug 2016 10:18:48 +0000 (07:18 -0300)]
[media] docs-rst: re-generate vbi_525.pdf and vbi_625.pdf

Originally, each image were one page big, causing them to be
displayed on separate pages at the PDF output. Re-generate
them from the gif files.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] dev-raw-vbi.rst: adjust table columns for LaTeX output
Mauro Carvalho Chehab [Thu, 18 Aug 2016 10:06:18 +0000 (07:06 -0300)]
[media] dev-raw-vbi.rst: adjust table columns for LaTeX output

Add the needed tags to fix LaTeX output of the tables there.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] dev-raw-vbi.rst: add a footnote for the count limits
Mauro Carvalho Chehab [Thu, 18 Aug 2016 10:06:11 +0000 (07:06 -0300)]
[media] dev-raw-vbi.rst: add a footnote for the count limits

There's a bug with LaTeX output on flat-tables with Sphinx 1.4.5
that prevents references at a cell span to be broken. As the
text is indeed too long, it makes sense to place the reference
to the pictures showing the VBI limits as a footnote.

That makes the text easier to read and also solves the issue
with LaTeX output.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] dev-overlay.rst: don't ident a note
Mauro Carvalho Chehab [Wed, 17 Aug 2016 23:38:52 +0000 (20:38 -0300)]
[media] dev-overlay.rst: don't ident a note

There's one note there that it is indented for no good reason.
Fix it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] buffer.rst: Adjust table columns for LaTeX output
Mauro Carvalho Chehab [Wed, 17 Aug 2016 23:35:20 +0000 (20:35 -0300)]
[media] buffer.rst: Adjust table columns for LaTeX output

The table columns are not properly displayed. Also, some
tables are too big to fit into just one page. So, fix them,
in order to better display the tables.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] docs-rst: remove width hints from pixfmt byte order tables
Mauro Carvalho Chehab [Wed, 17 Aug 2016 16:26:23 +0000 (13:26 -0300)]
[media] docs-rst: remove width hints from pixfmt byte order tables

Those hints are wrong, and doesn't really improve the look
of those tables. So, keep them only when they're useful.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] pixfmt-packed-yuv.rst: adjust tables to fit in LaTeX
Mauro Carvalho Chehab [Wed, 17 Aug 2016 18:37:48 +0000 (15:37 -0300)]
[media] pixfmt-packed-yuv.rst: adjust tables to fit in LaTeX

Adjust the table to fit at the LaTeX and PDF outputs, just like
what was done with pixfmt-packed-rgb.rst.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] pixfmt-packed-rgb.rst: adjust tables to fit in LaTeX
Mauro Carvalho Chehab [Wed, 17 Aug 2016 15:02:12 +0000 (12:02 -0300)]
[media] pixfmt-packed-rgb.rst: adjust tables to fit in LaTeX

Adjust the tables to fit at the LaTeX and PDF outputs.

I wrote a previous patch RFC to show the big table in landscape,
but it makes harder to read on displays.

So, instead, let's use the adjustbox to shrink the size of those
long tables, as the table size can still be visible on screen,
and it is a way better to read in horizontal position and
visible if printed.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] pixfmt-packed-rgb.rst: Fix cell spans
Mauro Carvalho Chehab [Wed, 17 Aug 2016 14:57:12 +0000 (11:57 -0300)]
[media] pixfmt-packed-rgb.rst: Fix cell spans

There is an extra column just before eack pack of bits, to
improve table reading, but the header file didn't take this
into account.

Fix it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] docs-rst: add column hints for pixfmt-002 and pixfmt-006
Mauro Carvalho Chehab [Wed, 17 Aug 2016 14:47:21 +0000 (11:47 -0300)]
[media] docs-rst: add column hints for pixfmt-002 and pixfmt-006

Add column hints for LaTeX to format columns on the tables inside
pixfmt-002.rst and pixfmt-006.rst.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] extended-controls.rst: fix table sizes
Mauro Carvalho Chehab [Wed, 17 Aug 2016 14:27:22 +0000 (11:27 -0300)]
[media] extended-controls.rst: fix table sizes

Lots of tables at extended-controls.rst need explicit hints for
LaTeX to adjust their widths. Provide that.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] control.rst: Fix table width
Mauro Carvalho Chehab [Wed, 17 Aug 2016 11:58:00 +0000 (08:58 -0300)]
[media] control.rst: Fix table width

Manually adjust the table width for it to look nice on PDF output.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] docs-rst: add tabularcolumns to all tables
Mauro Carvalho Chehab [Wed, 17 Aug 2016 11:14:19 +0000 (08:14 -0300)]
[media] docs-rst: add tabularcolumns to all tables

LaTeX doesn't handle too well auto-width on tables, and ReST
markup requires an special tag to give it the needed hints.

As we're using A4 paper, we have 17cm of useful spaces. As
most media tables have widths, let's use it to generate the
needed via the following perl script:

my ($line_size, $table_header, $has_cols) = (17.5, 0, 0);
my $out;
my $header = "";
my @widths = ();
sub round { $_[0] > 0 ? int($_[0] + .5) : -int(-$_[0] + .5) }
while (<>) {
if (!$table_header) {
$has_cols = 1 if (m/..\s+tabularcolumns::/);
if (m/..\s+flat-table::/) {
$table_header = 1;
$header = $_;
next;
}
$out .= $_;
next;
}
$header .= $_;
@widths = split(/ /, $1) if (m/:widths:\s+(.*)/);
if (m/^\n$/) {
if (!$has_cols && @widths) {
my ($tot, $t, $i) = (0, 0, 0);
foreach my $v(@widths) { $tot += $v; };
$out .= ".. tabularcolumns:: |";
for ($i = 0; $i < scalar @widths - 1; $i++) {
my $v = $widths[$i];
my $w = round(10 * ($v * $line_size) / $tot) / 10;
$out .= sprintf "p{%.1fcm}|", $w;
$t += $w;
}
my $w = $line_size - $t;
$out .= sprintf "p{%.1fcm}|\n\n", $w;
}
$out .= $header;
$table_header = 0;
$has_cols = 0;
$header = "";
@widths = ();
}
}
print $out;

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] docs-rst: re-generate typical_media_device.pdf
Mauro Carvalho Chehab [Wed, 17 Aug 2016 10:21:15 +0000 (07:21 -0300)]
[media] docs-rst: re-generate typical_media_device.pdf

There are some texts there on the wrong place. Re-generate it
from the svg file.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] vidioc-querycap.rst: Better format tables on PDF output
Mauro Carvalho Chehab [Tue, 16 Aug 2016 15:07:10 +0000 (12:07 -0300)]
[media] vidioc-querycap.rst: Better format tables on PDF output

Both tables on this rst file were not shown right, as they miss
the proper tag (tabularcolumns) to specify the column widths
required for PDF and LaTeX output.

Also, the second table is too big to fit into one page. So,
it should use the longtable class to allow it to be split into
two pages.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] docs-rst: get rid of code-block inside tables
Mauro Carvalho Chehab [Mon, 15 Aug 2016 20:52:13 +0000 (17:52 -0300)]
[media] docs-rst: get rid of code-block inside tables

There are two tables with a C code-block inside it. Unfortunately,
that causes LaTeX output to break. Yet, there's nothing special
there, so let's remove the code-block from them.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] docs-rst: better use the .. note:: tag
Mauro Carvalho Chehab [Mon, 15 Aug 2016 20:49:50 +0000 (17:49 -0300)]
[media] docs-rst: better use the .. note:: tag

Change multi-line note tags to be more symetric, e. g. not starting
the text together witht the tag.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] vidioc-enumstd.rst: remove bullets from sound carrier
Mauro Carvalho Chehab [Mon, 15 Aug 2016 16:37:54 +0000 (13:37 -0300)]
[media] vidioc-enumstd.rst: remove bullets from sound carrier

The items at the sound carrier had a bullet. Those are not needed.

So, get rid of them.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] vidioc-enumstd.rst: fix a broken reference
Mauro Carvalho Chehab [Mon, 15 Aug 2016 16:05:05 +0000 (13:05 -0300)]
[media] vidioc-enumstd.rst: fix a broken reference

Somehow, the conversion broke a reference here. Re-add it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years ago[media] pixfmt-nv12mt.rst: use PNG instead of GIF
Mauro Carvalho Chehab [Mon, 15 Aug 2016 14:01:30 +0000 (11:01 -0300)]
[media] pixfmt-nv12mt.rst: use PNG instead of GIF

pdflatex doesn't like gif images:
None:None: WARNING: no matching candidate for image URI u'media/uapi/v4l/pixfmt-nv12mt_files/nv12mt.*'
None:None: WARNING: no matching candidate for image URI u'media/uapi/v4l/pixfmt-nv12mt_files/nv12mt_example.*'

But it works fine with png. So, convert them. As a plus, PNG images
are smaller.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
8 years agoMerge branch 'doc/4.9' into docs-next
Jonathan Corbet [Fri, 19 Aug 2016 17:51:08 +0000 (11:51 -0600)]
Merge branch 'doc/4.9' into docs-next

8 years agoMerge branch 'dev-tools' into doc/4.9
Jonathan Corbet [Fri, 19 Aug 2016 17:38:36 +0000 (11:38 -0600)]
Merge branch 'dev-tools' into doc/4.9

Coalesce development-tool documents into a single directory and sphinxify
them.

8 years agodocs: Sphinxify gdb-kernel-debugging.txt and move to dev-tools
Jonathan Corbet [Mon, 8 Aug 2016 21:55:49 +0000 (15:55 -0600)]
docs: Sphinxify gdb-kernel-debugging.txt and move to dev-tools

Acked-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
8 years agodocs: sphinxify kmemcheck.txt and move to dev-tools
Jonathan Corbet [Sun, 7 Aug 2016 22:12:28 +0000 (16:12 -0600)]
docs: sphinxify kmemcheck.txt and move to dev-tools

Cc: Vegard Nossum <vegardno@ifi.uio.no>
Cc: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
8 years agodocs: sphinxify kmemleak.txt and move it to dev-tools
Jonathan Corbet [Sun, 7 Aug 2016 21:46:10 +0000 (15:46 -0600)]
docs: sphinxify kmemleak.txt and move it to dev-tools

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
8 years agodocs: sphinxify ubsan.txt and move it to dev-tools
Jonathan Corbet [Sun, 7 Aug 2016 21:35:42 +0000 (15:35 -0600)]
docs: sphinxify ubsan.txt and move it to dev-tools

Acked-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
8 years agodocs: sphinxify kasan.txt and move to dev-tools
Jonathan Corbet [Sun, 7 Aug 2016 21:31:03 +0000 (15:31 -0600)]
docs: sphinxify kasan.txt and move to dev-tools

No textual changes beyond formatting.

Acked-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Acked-by: Alexander Potapenko <glider@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
8 years agodocs: sphinixfy gcov.txt and move to dev-tools
Jonathan Corbet [Sun, 7 Aug 2016 21:26:20 +0000 (15:26 -0600)]
docs: sphinixfy gcov.txt and move to dev-tools

No textual changes beyond formatting.

Cc: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
8 years agodocs: sphinxify kcov.txt and move to dev-tools
Jonathan Corbet [Sun, 7 Aug 2016 21:13:00 +0000 (15:13 -0600)]
docs: sphinxify kcov.txt and move to dev-tools

Another document added to the dev-tools collection.

Cc: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
8 years agodocs: sphinxify sparse.txt and move to dev-tools
Jonathan Corbet [Sun, 7 Aug 2016 21:09:14 +0000 (15:09 -0600)]
docs: sphinxify sparse.txt and move to dev-tools

Fold the sparse document into the development tools set; no changes to the
text itself beyond formatting.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>