[PATCH] doc-rst: support *sphinx build themes*

2016-08-05 Thread Markus Heiser
From: Markus Heiser Load an additional configuration file into conf.py namespace. The name of the configuration file is taken from the environment SPHINX_CONF. The external configuration file extends (or overwrites) the configuration values from the origin conf.py.

Re: [PATCHv2] s5p-tv: remove obsolete driver

2016-08-05 Thread Sylwester Nawrocki
On 08/05/2016 03:38 PM, Hans Verkuil wrote: > The s5p-tv driver has been replaced by the exynos drm driver for quite a > long time now. Remove this driver to avoid having duplicate drivers, > of which this one is considered dead code by Samsung. > > Signed-off-by: Hans Verkuil

Re: [PATCHv2] v4l2-common: add s_selection helper function

2016-08-05 Thread Hans Verkuil
Hi Tiffany, We just had a long discussion about whether or not -ERANGE should be returned if the constraint flags could not be satisfied, and the end result was that the driver should not return an error in that case, but just select a rectangle that works with the hardware and is closest to the

Re: [PATCH v6 11/11] Input: sur40 - use new V4L2 touch input type

2016-08-05 Thread Pavel Machek
On Thu 2016-06-30 18:38:54, Nick Dyer wrote: > Support both V4L2_TCH_FMT_TU08 and V4L2_PIX_FMT_GREY for backwards > compatibility. > > Note: I have not tested these changes (I have no access to the hardware) > so not signing off. Sign off means something else, see docs... and sign patches off

Re: [v4l-utils RFC 0/3] mediatext library and test program

2016-08-05 Thread Sakari Ailus
Hi Hans, On Fri, Jul 22, 2016 at 03:09:47PM +0200, Hans Verkuil wrote: > Hi Sakari, > > First a practical matter: you should consider using the v4l-helpers.h: it > will shield you and probably the end-user as well from lots of > complexities, esp. the single vs multiplanar differences. > > I

Re: Functions and data structure cross references with Sphinx

2016-08-05 Thread Mauro Carvalho Chehab
Em Fri, 5 Aug 2016 14:22:19 +0200 Markus Heiser escreveu: > Am 05.08.2016 um 12:47 schrieb Mauro Carvalho Chehab > : > > > Em Fri, 5 Aug 2016 09:29:23 +0200 > > Markus Heiser escreveu: > > > > Is there a way

Re: Functions and data structure cross references with Sphinx

2016-08-05 Thread Markus Heiser
Am 05.08.2016 um 12:47 schrieb Mauro Carvalho Chehab : > Em Fri, 5 Aug 2016 09:29:23 +0200 > Markus Heiser escreveu: > >> Am 01.08.2016 um 13:25 schrieb Mauro Carvalho Chehab >> : >> >>> There's one remaining

Re: Sphinx-doc: build over N processes in parallel

2016-08-05 Thread Markus Heiser
Am 05.08.2016 um 13:41 schrieb Mauro Carvalho Chehab : > Em Fri, 5 Aug 2016 11:56:44 +0200 > Markus Heiser escreveu: > >> Am 20.07.2016 um 16:04 schrieb Mauro Carvalho Chehab >> : >> >>> >>> A completely

Re: Sphinx-doc: build over N processes in parallel

2016-08-05 Thread Mauro Carvalho Chehab
Em Fri, 5 Aug 2016 11:56:44 +0200 Markus Heiser escreveu: > Am 20.07.2016 um 16:04 schrieb Mauro Carvalho Chehab > : > > > > > A completely unrelated question: it seems that Sphinx is using just > > one CPU to do its builds: > > > > %Cpu0

[PATCH v3.1 05/11] v4l: Add packed Bayer raw12 pixel formats

2016-08-05 Thread Sakari Ailus
These formats are compressed 12-bit raw bayer formats with four different pixel orders. They are similar to 10-bit variants. The formats added by this patch are V4L2_PIX_FMT_SBGGR12P V4L2_PIX_FMT_SGBRG12P V4L2_PIX_FMT_SGRBG12P V4L2_PIX_FMT_SRGGB12P Signed-off-by:

Re: [PATCH v3 00/11] New raw bayer format definitions, fixes

2016-08-05 Thread Sakari Ailus
On Fri, Aug 05, 2016 at 01:45:30PM +0300, Sakari Ailus wrote: > Hi all, > > This is a third version of the new bayer format patchset. The second version > of the set may be found here: > > > > These patches fix and add new raw bayer

Re: [RFC 05/16] media: devnode: Refcount the media devnode

2016-08-05 Thread Sakari Ailus
Hi Hans, Hans Verkuil wrote: > > > On 07/15/2016 12:35 AM, Sakari Ailus wrote: >> Add reference count to the media devnode. The media_devnode is intended to >> be embedded in another struct such as media_device. >> >> Signed-off-by: Sakari Ailus >> --- >>

[PATCH v3 07/11] doc-rst: Add 14-bit raw bayer pixel format definitions

2016-08-05 Thread Sakari Ailus
The formats added by this patch are: V4L2_PIX_FMT_SBGGR14 V4L2_PIX_FMT_SGBRG14 V4L2_PIX_FMT_SGRBG14 V4L2_PIX_FMT_SRGGB14 Signed-off-by: Jouni Ukkonen Signed-off-by: Sakari Ailus Acked-by: Hans Verkuil

[PATCH v3 01/11] doc-rst: Correct the ordering of LSBs of the 10-bit raw packed formats

2016-08-05 Thread Sakari Ailus
The 10-bit packed raw bayer format documented that the data of the first pixel of a four-pixel group was found in the first byte and the two highest bits of the fifth byte. This was not entirely correct. The two bits in the fifth byte are the two lowest bits. The second pixel occupies the second

[PATCH v3 10/11] doc-rst: 16-bit BGGR is always 16 bits

2016-08-05 Thread Sakari Ailus
The V4L2_PIX_FMT_SBGGR16 format is documented to contain samples of fewer than 16 bits. However, we do have specific definitions for smaller sample sizes. Therefore, this note is redundant from the API point of view. Currently only two drivers, am437x and davinci, use the V4L2_PIX_FMT_SBGGR16

[PATCH v3 05/11] v4l: Add packed Bayer raw12 pixel formats

2016-08-05 Thread Sakari Ailus
These formats are compressed 12-bit raw bayer formats with four different pixel orders. They are similar to 10-bit variants. The formats added by this patch are V4L2_PIX_FMT_SBGGR12P V4L2_PIX_FMT_SGBRG12P V4L2_PIX_FMT_SGRBG12P V4L2_PIX_FMT_SRGGB12P Signed-off-by:

Re: Functions and data structure cross references with Sphinx

2016-08-05 Thread Mauro Carvalho Chehab
Em Fri, 5 Aug 2016 09:29:23 +0200 Markus Heiser escreveu: > Am 01.08.2016 um 13:25 schrieb Mauro Carvalho Chehab > : > > > There's one remaining major issue I noticed after the conversion of the > > media books to Sphinx: > > > > While

[PATCH v3 09/11] media: Add 1X16 16-bit raw bayer media bus code definitions

2016-08-05 Thread Sakari Ailus
The codes will be called: MEDIA_BUS_FMT_SBGGR16_1X16 MEDIA_BUS_FMT_SGBRG16_1X16 MEDIA_BUS_FMT_SGRBG16_1X16 MEDIA_BUS_FMT_SRGGB16_1X16 Signed-off-by: Sakari Ailus --- Documentation/media/uapi/v4l/subdev-formats.rst | 290

[PATCH v3 08/11] doc-rst: Add packed Bayer raw14 pixel formats

2016-08-05 Thread Sakari Ailus
These formats are compressed 14-bit raw bayer formats with four different pixel orders. They are similar to 10-bit variants. The formats added by this patch are V4L2_PIX_FMT_SBGGR14P V4L2_PIX_FMT_SGBRG14P V4L2_PIX_FMT_SGRBG14P V4L2_PIX_FMT_SRGGB14P Signed-off-by:

[PATCH v3 00/11] New raw bayer format definitions, fixes

2016-08-05 Thread Sakari Ailus
Hi all, This is a third version of the new bayer format patchset. The second version of the set may be found here: These patches fix and add new raw bayer format definitions. 12-bit packed V4L2 format definition is added as well as

[PATCH v3 03/11] doc-rst: Clean up raw bayer pixel format definitions

2016-08-05 Thread Sakari Ailus
- Explicitly state that the most significant n bits are zeroed on 10 and 12 bpp formats. - Remove extra comma from the last entry of the format list - Add a missing colon before a list - Use figures versus word numerals consistently Signed-off-by: Sakari Ailus ---

[PATCH v3 06/11] media: Add 1X14 14-bit raw bayer media bus code definitions

2016-08-05 Thread Sakari Ailus
From: Jouni Ukkonen The codes will be called: MEDIA_BUS_FMT_SBGGR14_1X14 MEDIA_BUS_FMT_SGBRG14_1X14 MEDIA_BUS_FMT_SGRBG14_1X14 MEDIA_BUS_FMT_SRGGB14_1X14 Signed-off-by: Jouni Ukkonen Signed-off-by: Sakari Ailus

[PATCH v3 11/11] doc-rst: Add 16-bit raw bayer pixel format definitions

2016-08-05 Thread Sakari Ailus
The formats added by this patch are: V4L2_PIX_FMT_SBGGR16 V4L2_PIX_FMT_SGBRG16 V4L2_PIX_FMT_SGRBG16 V4L2_PIX_FMT_SRGGB16 already existed before the patch. Rework the documentation to match that of the other sample depths. Also align the description of

[PATCH v3 02/11] doc-rst: Fix number of zeroed high order bits in 12-bit raw format defs

2016-08-05 Thread Sakari Ailus
The number of high order bits in samples was documented to be 6 for 12-bit data. This is clearly wrong, fix it. Signed-off-by: Sakari Ailus Acked-by: Hans Verkuil --- Documentation/media/uapi/v4l/pixfmt-srggb12.rst | 2 +- 1 file changed, 1

[PATCH v3 04/11] doc-rst: Unify documentation of the 8-bit bayer formats

2016-08-05 Thread Sakari Ailus
The other raw bayer formats had a single sample depth dependent definition whereas the 8-bit formats had one page for each. Unify the documentation of the 8-bit formats. Signed-off-by: Sakari Ailus --- Documentation/media/uapi/v4l/pixfmt-rgb.rst| 3 -

Re: [PATCHv6] support for AD5820 camera auto-focus coil

2016-08-05 Thread Pali Rohár
On Friday 05 August 2016 12:26:11 Pavel Machek wrote: > > This adds support for AD5820 autofocus coil, found for example in > Nokia N900 smartphone. > > Signed-off-by: Pavel Machek Acked-by: Pali Rohár > --- > v2: simple cleanups, fix error paths, simplify

[PATCHv6] support for AD5820 camera auto-focus coil

2016-08-05 Thread Pavel Machek
This adds support for AD5820 autofocus coil, found for example in Nokia N900 smartphone. Signed-off-by: Pavel Machek --- v2: simple cleanups, fix error paths, simplify probe v3: more cleanups, remove printk, add include v4: remove header file. v5: switch to devm_ , style

Sphinx-doc: build over N processes in parallel

2016-08-05 Thread Markus Heiser
Am 20.07.2016 um 16:04 schrieb Mauro Carvalho Chehab : > > A completely unrelated question: it seems that Sphinx is using just > one CPU to do its builds: > > %Cpu0 : 3,0 us, 7,6 sy, 0,0 ni, 89,4 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 > st > %Cpu1 :100,0 us, 0,0

Re: [PATCH] doc-rst: customize RTD theme, drop padding of inline literal

2016-08-05 Thread Hans Verkuil
On 08/05/2016 11:19 AM, Markus Heiser wrote: > From: Markus Heiser > > Remove the distracting (left/right) padding of inline literals. (HTML > ). Requested and discussed in [1]. > > [1] http://www.spinics.net/lists/linux-media/msg103991.html > > Signed-off-by:

[PATCH] doc-rst: customize RTD theme, drop padding of inline literal

2016-08-05 Thread Markus Heiser
From: Markus Heiser Remove the distracting (left/right) padding of inline literals. (HTML ). Requested and discussed in [1]. [1] http://www.spinics.net/lists/linux-media/msg103991.html Signed-off-by: Markus Heiser ---

Re: doc-rst: too much space around ``foo`` text

2016-08-05 Thread Markus Heiser
Am 05.08.2016 um 09:39 schrieb Hans Verkuil : > Hi Markus, > > Did you have time to look at this yet? It is for me something that is really > distracting. I tried to track this down myself but I just don't know enough > about > html/css. > > The text ``V4L2_XFER_FUNC_709``

Re: doc-rst: too much space around ``foo`` text

2016-08-05 Thread Hans Verkuil
Hi Markus, Did you have time to look at this yet? It is for me something that is really distracting. I tried to track this down myself but I just don't know enough about html/css. The text ``V4L2_XFER_FUNC_709`` is translated to: V4L2_XFER_FUNC_709. And it is the part that adds the extra

Re: Functions and data structure cross references with Sphinx

2016-08-05 Thread Markus Heiser
Am 01.08.2016 um 13:25 schrieb Mauro Carvalho Chehab : > There's one remaining major issue I noticed after the conversion of the > media books to Sphinx: > > While sphinx complains if a cross-reference (using :ref:) points to an > undefined reference, the same doesn't