Re: [PATCH v9 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-08-15 Thread Wu, Songjun
On 8/12/2016 15:32, Hans Verkuil wrote: One quick question: On 08/11/2016 09:06 AM, Songjun Wu wrote: The Image Sensor Controller driver includes two parts. 1) Driver code to implement the ISC function. 2) Device tree binding documentation, it describes how to add the ISC in device tree.

[GIT PULL FOR v4.9] New tw5864 driver (v3)

2016-08-15 Thread Hans Verkuil
Passed v4l2-compliance, see https://patchwork.linuxtv.org/patch/35671/ for more details about the device. Regards, Hans Change since v2: fix commit log of first patch: contained text that should have been removed. Change since v1: fix Kconfig dependency. The following changes since

Re: [PATCH] cec-core.rst: convert old cec.txt to sphinx.

2016-08-15 Thread Hans Verkuil
On 08/15/2016 09:14 AM, Markus Heiser wrote: > Hi Hans, > > you don't need to change the header underlines if you don't want. > Any file could start with e.g. "===" headers marking the top > section and "---" marking the subsections, independent on which > level this file is included in a

Re: [PATCH v9 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-08-15 Thread Wu, Songjun
On 8/15/2016 15:34, Hans Verkuil wrote: On 08/11/2016 09:06 AM, Songjun Wu wrote: The Image Sensor Controller driver includes two parts. 1) Driver code to implement the ISC function. 2) Device tree binding documentation, it describes how to add the ISC in device tree. So close...

Re: [PATCH 2/3] soc-camera/rcar-vin: remove obsolete driver

2016-08-15 Thread Hans Verkuil
On 08/02/2016 09:35 AM, Hans Verkuil wrote: > > > On 08/01/2016 10:41 PM, Niklas Söderlund wrote: >> On 2016-08-01 11:31:11 +0300, Laurent Pinchart wrote: >>> Hi Hans, >>> >>> Thank you for the patch. >>> >>> On Monday 01 Aug 2016 09:54:24 Hans Verkuil wrote: From: Hans Verkuil

Re: [PATCH 0/7] doc-rst: sphinx sub-folders & parseheaders directive

2016-08-15 Thread Markus Heiser
Am 14.08.2016 um 20:09 schrieb Jonathan Corbet : > On Sat, 13 Aug 2016 16:12:41 +0200 > Markus Heiser wrote: > >> this series is a consolidation on Jon's docs-next branch. It merges the >> "sphinx >> sub-folders" patch [1] and the "parseheaders

Re: [PATCH v3 0/9] Add MT8173 Video Decoder Driver

2016-08-15 Thread Hans Verkuil
Hi Tiffany, This needs a v4: the DocBook format has been replaced by sphinx, and I also see that the vb2 queue_setup function is out-of-date (the allocation contexts no longer exist). There were also a lot of comments about the MT21 format. I recommend splitting off the code adding MT21 into

Re: [PATCH v6 4/4] rcar-vin: implement EDID control ioctls

2016-08-15 Thread Ulrich Hecht
On Sat, Aug 13, 2016 at 3:30 PM, Hans Verkuil wrote: > On 07/22/2016 11:09 AM, Ulrich Hecht wrote: >> Adds G_EDID and S_EDID. >> >> Signed-off-by: Ulrich Hecht >> --- >> drivers/media/platform/rcar-vin/rcar-v4l2.c | 33 >>

Re: [PATCH v6 4/4] rcar-vin: implement EDID control ioctls

2016-08-15 Thread Hans Verkuil
On 08/15/2016 10:37 AM, Ulrich Hecht wrote: > On Sat, Aug 13, 2016 at 3:30 PM, Hans Verkuil wrote: >> On 07/22/2016 11:09 AM, Ulrich Hecht wrote: >>> Adds G_EDID and S_EDID. >>> >>> Signed-off-by: Ulrich Hecht >>> --- >>>

Re: [PATCH] cec-core.rst: convert old cec.txt to sphinx.

2016-08-15 Thread Markus Heiser
Hi Hans, you don't need to change the header underlines if you don't want. Any file could start with e.g. "===" headers marking the top section and "---" marking the subsections, independent on which level this file is included in a toctree.

Re: [PATCH v9 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-08-15 Thread Hans Verkuil
On 08/15/2016 08:09 AM, Wu, Songjun wrote: > > > On 8/12/2016 15:32, Hans Verkuil wrote: >> One quick question: >> >> On 08/11/2016 09:06 AM, Songjun Wu wrote: >>> The Image Sensor Controller driver includes two parts. >>> 1) Driver code to implement the ISC function. >>> 2) Device tree binding

Re: [PATCH v9 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-08-15 Thread Wu, Songjun
On 8/15/2016 15:15, Hans Verkuil wrote: On 08/15/2016 08:09 AM, Wu, Songjun wrote: On 8/12/2016 15:32, Hans Verkuil wrote: One quick question: On 08/11/2016 09:06 AM, Songjun Wu wrote: The Image Sensor Controller driver includes two parts. 1) Driver code to implement the ISC function. 2)

[GIT PULL FOR v4.8] Fixed for mediatek encoder

2016-08-15 Thread Hans Verkuil
Various fixes for 4.8 for the new mediatek encoder driver. Hans The following changes since commit b6aa39228966e0d3f0bc3306be1892f87792903a: Merge tag 'v4.8-rc1' into patchwork (2016-08-08 07:30:25 -0300) are available in the git repository at:

Re: [PATCH v9 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-08-15 Thread Hans Verkuil
On 08/11/2016 09:06 AM, Songjun Wu wrote: > The Image Sensor Controller driver includes two parts. > 1) Driver code to implement the ISC function. > 2) Device tree binding documentation, it describes how >to add the ISC in device tree. So close... Running checkpatch gives me: WARNING:

[PATCH] media-types.rst: fix typo

2016-08-15 Thread Hans Verkuil
Fix copy-and-paste error: the radio devices are /dev/radio, not /dev/vbi. Signed-off-by: Hans Verkuil < --- diff --git a/Documentation/media/uapi/mediactl/media-types.rst b/Documentation/media/uapi/mediactl/media-types.rst index 0265edc..a0f737a 100644 ---

[GIT PULL FOR v4.9] Add touch API and atmel_mxt_ts/synaptics drivers

2016-08-15 Thread Hans Verkuil
This patch series adds support for /dev/v4l-touchX devices. Regards, Hans The following changes since commit b6aa39228966e0d3f0bc3306be1892f87792903a: Merge tag 'v4.8-rc1' into patchwork (2016-08-08 07:30:25 -0300) are available in the git repository at:

Re: [PATCH v3 0/9] Add MT8173 Video Decoder Driver

2016-08-15 Thread Tiffany Lin
Hi Hans, I upstream v4 on 8/10, I don't know why this version is not shown in https://patchwork.kernel.org. But I could see it in other link. http://www.spinics.net/lists/arm-kernel/msg523095.html I refine DocBook and vb2 queue_setup function in v4. For the MT21 format, if I put MT21 into

Re: [PATCH v3 0/9] Add MT8173 Video Decoder Driver

2016-08-15 Thread Hans Verkuil
On 08/15/2016 11:03 AM, Tiffany Lin wrote: > Hi Hans, > > I upstream v4 on 8/10, I don't know why this version is not shown in > https://patchwork.kernel.org. > But I could see it in other link. > http://www.spinics.net/lists/arm-kernel/msg523095.html > I refine DocBook and vb2 queue_setup

Re: [PATCH v3 0/9] Add MT8173 Video Decoder Driver

2016-08-15 Thread Tiffany Lin
Hi Hans, On Mon, 2016-08-15 at 11:07 +0200, Hans Verkuil wrote: > On 08/15/2016 11:03 AM, Tiffany Lin wrote: > > Hi Hans, > > > > I upstream v4 on 8/10, I don't know why this version is not shown in > > https://patchwork.kernel.org. > > But I could see it in other link. > >

Re: [PATCH v6 4/4] rcar-vin: implement EDID control ioctls

2016-08-15 Thread Ulrich Hecht
On Mon, Aug 15, 2016 at 10:48 AM, Hans Verkuil wrote: > On 08/15/2016 10:37 AM, Ulrich Hecht wrote: >> On Sat, Aug 13, 2016 at 3:30 PM, Hans Verkuil wrote: >>> On 07/22/2016 11:09 AM, Ulrich Hecht wrote: Adds G_EDID and S_EDID.

Re: [PATCH v3 14/14] media: platform: pxa_camera: move pxa_camera out of soc_camera

2016-08-15 Thread Robert Jarzmik
Robert Jarzmik writes: > As the conversion to a v4l2 standalone device is finished, move > pxa_camera one directory up and finish severing any dependency to > soc_camera. > diff --git a/drivers/media/platform/soc_camera/Kconfig >

[ANN] HDMI CEC: added cec-compliance/cec-follower utilities

2016-08-15 Thread Hans Verkuil
Two new CEC utilities have been added to the v4l-utils repository: https://git.linuxtv.org/v4l-utils.git/ The cec-follower utility can emulate a CEC device, implementing the follower functionality needed. The cec-compliance utility can test a remote CEC device and check how compliant it is

[PATCHv3 04/10] [media] rcar-vin: rename entity to digital

2016-08-15 Thread Niklas Söderlund
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 ---

[PATCHv3 08/10] [media] rcar-vin: move chip check for pixelformat support

2016-08-15 Thread Niklas Söderlund
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 ---

[PATCHv3 02/10] [media] rcar-vin: reduce indentation in rvin_s_dv_timings()

2016-08-15 Thread Niklas Söderlund
Align style with the rest of the driver. Signed-off-by: Niklas Söderlund --- drivers/media/platform/rcar-vin/rcar-v4l2.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git

[PATCHv3 09/10] [media] rcar-vin: rework how subdeivce is found and bound

2016-08-15 Thread Niklas Söderlund
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,

[PATCHv3 10/10] [media] rcar-vin: move media bus information to struct rvin_graph_entity

2016-08-15 Thread Niklas Söderlund
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

[PATCHv3 07/10] [media] rcar-vin: add dependency on MEDIA_CONTROLLER

2016-08-15 Thread Niklas Söderlund
This is done in preparation for Gen3 support where media controller support will be mandatory for the driver. Signed-off-by: Niklas Söderlund --- drivers/media/platform/rcar-vin/Kconfig | 2 +- drivers/media/platform/rcar-vin/rcar-v4l2.c | 7 +-- 2

Re: [PATCH v3 09/14] media: platform: pxa_camera: add buffer sequencing

2016-08-15 Thread Hans Verkuil
On 08/15/2016 03:26 PM, Robert Jarzmik wrote: > Robert Jarzmik writes: > >> Add sequence numbers to completed buffers. >> >> Signed-off-by: Robert Jarzmik >> --- >> drivers/media/platform/soc_camera/pxa_camera.c | 5 + >> 1 file changed, 5

Re: [PATCH v3 09/14] media: platform: pxa_camera: add buffer sequencing

2016-08-15 Thread Robert Jarzmik
Hans Verkuil writes: > On 08/15/2016 03:26 PM, Robert Jarzmik wrote: >> Robert Jarzmik writes: >> I've seen no documentation on the rules applicable to this sequence number: >> - should it be reset if a "start streaming" operation occurs ? > >

Re: [PATCH] doc-rst: kernel-doc: fix handling of address_space tags

2016-08-15 Thread Markus Heiser
Am 22.07.2016 um 16:46 schrieb Mauro Carvalho Chehab : > 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

Re: [PATCH v3 3/4] media: Add Mediatek MDP Driver

2016-08-15 Thread Hans Verkuil
On 08/09/2016 03:58 PM, Minghsiu Tsai wrote: > Add MDP driver for MT8173 > > Signed-off-by: Minghsiu Tsai > --- > drivers/media/platform/Kconfig| 16 + > drivers/media/platform/Makefile |2 + >

[PATCH 2/5] doc-rst:c-domain: ref-name of a function declaration

2016-08-15 Thread Markus Heiser
From: Markus Heiser 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

[PATCH 5/5] doc-rst: migrate ioctl CEC_DQEVENT to c-domain

2016-08-15 Thread Markus Heiser
From: Markus Heiser 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

[PATCH 1/5] doc-rst: add boilerplate to customize c-domain

2016-08-15 Thread Markus Heiser
From: Markus Heiser Add a sphinx-extension to customize the sphinx c-domain. No functional changes right yet, just the boilerplate code. Signed-off-by: Markus Heiser --- Documentation/conf.py | 2 +-

[RFC PATCH 0/5] doc-rst: improvements Sphinx's C-domain

2016-08-15 Thread Markus Heiser
From: Markus Heiser Hi, this is my approach to eliminate some distortions we have with the c/cpp Sphinx domains. The C domain is simple: it assumes that all functions, enums, etc are global, e. g. there should be just one function called "ioctl", or "open". With the

[PATCH 4/5] doc-rst: Revert "kernel-doc: fix handling of address_space tags"

2016-08-15 Thread Markus Heiser
From: Markus Heiser 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

[PATCH 3/5] doc-rst: moved *duplicate* warnings to nitpicky mode

2016-08-15 Thread Markus Heiser
From: Markus Heiser 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

Re: [PATCH v3 09/14] media: platform: pxa_camera: add buffer sequencing

2016-08-15 Thread Robert Jarzmik
Robert Jarzmik writes: > Add sequence numbers to completed buffers. > > Signed-off-by: Robert Jarzmik > --- > drivers/media/platform/soc_camera/pxa_camera.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git

[PATCHv3 01/10] [media] rcar-vin: fix indentation errors in rcar-v4l2.c

2016-08-15 Thread Niklas Söderlund
Fix broken indentations and line breaks. Signed-off-by: Niklas Söderlund --- drivers/media/platform/rcar-vin/rcar-v4l2.c | 46 + 1 file changed, 21 insertions(+), 25 deletions(-) diff --git

[PATCHv3 05/10] [media] rcar-vin: return correct error from platform_get_irq()

2016-08-15 Thread Niklas Söderlund
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 --- drivers/media/platform/rcar-vin/rcar-core.c | 4 ++-- 1 file changed, 2

[PATCHv3 00/10] rcar-vin: clean up and prepare for Gen3

2016-08-15 Thread Niklas Söderlund
Hi, This series cleans up issues that have been found in the driver and prepares it for Gen3 support. The series is based on v4.8-rc1 and is tested om Koelsch. The most noteworthy fix in in the series is patch 9/10 that fixes a of_node_put() warning during loading of the driver. The series is

[PATCHv3 06/10] [media] rcar-vin: do not use v4l2_device_call_until_err()

2016-08-15 Thread Niklas Söderlund
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

[PATCHv3 03/10] [media] rcar-vin: arrange enum chip_id in chronological order

2016-08-15 Thread Niklas Söderlund
Signed-off-by: Niklas Söderlund --- drivers/media/platform/rcar-vin/rcar-vin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/rcar-vin/rcar-vin.h b/drivers/media/platform/rcar-vin/rcar-vin.h index

[PATCH v2] dma-buf: Wait on the reservation object when sync'ing before CPU access

2016-08-15 Thread Chris Wilson
Rendering operations to the dma-buf are tracked implicitly via the reservation_object (dmabuf->resv). This is used to allow poll() to wait upon outstanding rendering (or just query the current status of rendering). The dma-buf sync ioctl allows userspace to prepare the dma-buf for CPU access,

[PATCH] doc-rst: add index to sub-folders

2016-08-15 Thread Markus Heiser
From: Markus Heiser Add a index if only a sub-folder is build e.g.:: make SPHINXDIRS=media cleandocs htmldocs BTW: removed dead search link in the top-index file Signed-off-by: Markus Heiser --- Documentation/gpu/conf.py | 2 ++

TS discontinuity invalid eit section

2016-08-15 Thread Nedveďal Marián
Hi, I have PCI_e tbs6928(FE)-linux tbs driver; usb TT 3650CI-media build drivers. For both cards noticing the same problem-astra 23.5;dvb-s2 transp.(not all). It's about problem drivers.Tested with dvblast, mumudvb, vdr. ~$ dvblast -f 12363000 ... warning: TS discontinuity on pid 18

Re: [PATCH v2] dma-buf: Wait on the reservation object when sync'ing before CPU access

2016-08-15 Thread Daniel Vetter
On Mon, Aug 15, 2016 at 04:42:18PM +0100, Chris Wilson wrote: > Rendering operations to the dma-buf are tracked implicitly via the > reservation_object (dmabuf->resv). This is used to allow poll() to > wait upon outstanding rendering (or just query the current status of > rendering). The dma-buf

[PATCH RFC 1/5] [media] pixfmt-007.rst: use Sphinx math:: expressions

2016-08-15 Thread Mauro Carvalho Chehab
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 --- Documentation/conf.py | 9 +- Documentation/media/uapi/v4l/pixfmt-007.rst | 175

[PATCH RFC 3/5] [media] docs-rst: get rid of extra less or equal symbols

2016-08-15 Thread Mauro Carvalho Chehab
The LaTeX output format doesn't support less or equal UTF-8 symbols. So, we need to get rid of them or to convert to math expressions. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/cec/cec-ioc-adap-g-log-addrs.rst | 2 +-

[PATCH RFC 5/5] HACK!!!!

2016-08-15 Thread Mauro Carvalho Chehab
Please, never apply this! This hack comments out some stuff, in order to fix a few table outputs when using Sphinx LaTeX output and pdflatex. Please notice that this *won't* fix all bugs. A lot more similar hacks is needed, as it seems that Sphinx LaTeX is broken for non-trivial tables.

[PATCH RFC 4/5] [media] vidioc-enumstd.rst: fix a broken reference

2016-08-15 Thread Mauro Carvalho Chehab
Somehow, the conversion broke a reference here. Re-add it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/v4l/vidioc-enumstd.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/media/uapi/v4l/vidioc-enumstd.rst

[PATCH RFC 2/5] [media] pixfmt-nv12mt.rst: use PNG instead of GIF

2016-08-15 Thread Mauro Carvalho Chehab
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,

[PATCH RFC 0/5] Start changing media docs to build with PDF

2016-08-15 Thread Mauro Carvalho Chehab
This series are experimental patches that change some things at the media books in order to make pdflatex to produce a valid document. The first patch use Sphinx math extension. Please notice that it only works if the rst2pdf extension is disabled, as otherwise Sphinx 1.4.x will complain about

[PATCH v2] dma-buf: Wait on the reservation object when sync'ing before CPU access

2016-08-15 Thread Chris Wilson
Rendering operations to the dma-buf are tracked implicitly via the reservation_object (dmabuf->resv). This is used to allow poll() to wait upon outstanding rendering (or just query the current status of rendering). The dma-buf sync ioctl allows userspace to prepare the dma-buf for CPU access,

[PATCH] MAINTAINERS: atmel-isc: add entry for Atmel ISC

2016-08-15 Thread Nicolas Ferre
Add the MAINTAINERS' entry for Microchip / Atmel Image Sensor Controller. Signed-off-by: Nicolas Ferre Cc: Songjun Wu --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH v4 05/13] media: platform: pxa_camera: trivial move of functions

2016-08-15 Thread Robert Jarzmik
Move the functions in the file to be regrouped into meaningful blocks : 1. pxa camera core handling functions, manipulating the herdware 2. videobuf2 functions, dealing with video buffers 3. video ioctl (vidioc) related functions 4. driver probing, removal, suspend and resume This patch

[PATCH v4 13/13] media: platform: pxa_camera: move pxa_camera out of soc_camera

2016-08-15 Thread Robert Jarzmik
As the conversion to a v4l2 standalone device is finished, move pxa_camera one directory up and finish severing any dependency to soc_camera. Signed-off-by: Robert Jarzmik --- drivers/media/platform/Kconfig |8 + drivers/media/platform/Makefile

[PATCH v4 09/13] media: platform: pxa_camera: remove set_crop

2016-08-15 Thread Robert Jarzmik
This is to be seen as a regression as the set_crop function is removed. This is a temporary situation in the v4l2 porting, and will have to be added later. Signed-off-by: Robert Jarzmik --- drivers/media/platform/soc_camera/pxa_camera.c | 76 -- 1

[PATCH v4 07/13] media: platform: pxa_camera: make printk consistent

2016-08-15 Thread Robert Jarzmik
Make all print consistent by always using : - dev_xxx(pcdev_to_dev(pcdev), ) This prepares the soc_camera adherence removal by making these call rely on only pcdev, and not the soc_camera icd structure. Signed-off-by: Robert Jarzmik ---

[PATCH v4 11/13] media: platform: pxa_camera: add debug register access

2016-08-15 Thread Robert Jarzmik
Add pxa_camera registers access through advanced video debugging. Signed-off-by: Robert Jarzmik --- drivers/media/platform/soc_camera/pxa_camera.c | 32 ++ 1 file changed, 32 insertions(+) diff --git

[PATCH v4 12/13] media: platform: pxa_camera: change stop_streaming semantics

2016-08-15 Thread Robert Jarzmik
Instead of the legacy behavior where it was required to wait for all video buffers to be finished by the hardware, use a cancel like strategy : as soon as the stop_streaming() call is done, abort all DMA transfers, report the already buffers as failed and return. This makes stop_streaming() more

[PATCH v4 01/13] media: mt9m111: make a standalone v4l2 subdevice

2016-08-15 Thread Robert Jarzmik
Remove the soc_camera adherence. Mostly the change removes the power manipulation provided by soc_camera, and instead : - powers on the sensor when the s_power control is activated - powers on the sensor in initial probe - enables and disables the MCLK provided to it in power on/off

[PATCH v4 03/13] media: mt9m111: move mt9m111 out of soc_camera

2016-08-15 Thread Robert Jarzmik
As the mt9m111 is now working as a standalone v4l2 subdevice sensor, move it out of soc_camera directory and severe its dependency on soc_camera. Signed-off-by: Robert Jarzmik --- drivers/media/i2c/Kconfig |7 + drivers/media/i2c/Makefile |

[PATCH v4 06/13] media: platform: pxa_camera: introduce sensor_call

2016-08-15 Thread Robert Jarzmik
Introduce sensor_call(), which will be used for all sensor invocations. This is a preparation move to v4l2 device conversion, ie. soc_camera adherence removal. Signed-off-by: Robert Jarzmik --- drivers/media/platform/soc_camera/pxa_camera.c | 27

[PATCH v4 00/13] pxa_camera transition to v4l2 standalone device

2016-08-15 Thread Robert Jarzmik
Hi Hans, Now only your comments have been taken between v3 and v4, the buffer sequence number reset, and the rebase on top of v4.8-rc1, which makes the diffstat with the former submission : drivers/media/i2c/mt9m111.c | 14 ++ drivers/media/platform/pxa_camera.c |

[PATCH v4 04/13] media: platform: pxa_camera: convert to vb2

2016-08-15 Thread Robert Jarzmik
Convert pxa_camera from videobuf to videobuf2. As the soc_camera was already compatible with videobuf2, the port is quite straightforward. The special case of this code in which the vb2 to prepare is "too big" in terms of size for the new capture format, the pxa_camera will fail. Signed-off-by:

[PATCH v4 02/13] media: mt9m111: use only the SRGB colorspace

2016-08-15 Thread Robert Jarzmik
mt9m111 being a camera sensor, its colorspace should always be SRGB, for both RGB based formats or YCbCr based ones. Signed-off-by: Robert Jarzmik --- drivers/media/i2c/soc_camera/mt9m111.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH v4 10/13] media: platform: pxa_camera: make a standalone v4l2 device

2016-08-15 Thread Robert Jarzmik
This patch removes the soc_camera API dependency from pxa_camera. In the current status : - all previously captures are working the same on pxa270 - the s_crop() call was removed, judged not working (see what happens soc_camera_s_crop() when get_crop() == NULL) - if the pixel clock is

[PATCH v4 08/13] media: platform: pxa_camera: add buffer sequencing

2016-08-15 Thread Robert Jarzmik
Add sequence numbers to completed buffers. Signed-off-by: Robert Jarzmik --- Since v3: reset buffer sequence number in start_streaming() --- drivers/media/platform/soc_camera/pxa_camera.c | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH RFC v2 6/9] [media] vidioc-enumstd.rst: fix a broken reference

2016-08-15 Thread Mauro Carvalho Chehab
Somehow, the conversion broke a reference here. Re-add it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/v4l/vidioc-enumstd.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/media/uapi/v4l/vidioc-enumstd.rst

[PATCH RFC v2 7/9] [media] vidioc-enumstd.rst: remove bullets from sound carrier

2016-08-15 Thread Mauro Carvalho Chehab
The items at the sound carrier had a bullet. Those are not needed. So, get rid of them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/v4l/vidioc-enumstd.rst | 25 - 1 file changed, 12 insertions(+), 13 deletions(-) diff

[PATCH RFC v2 0/9] Make PDF output for media book to work

2016-08-15 Thread Mauro Carvalho Chehab
This patch series fix the severe issues related to LaTeX output with media. After applying it, "make pdfdocs" generates the Kernel documentation with all books upstream, including the media books. There are still some caveats, but the end result can be seen at:

[PATCH 1/9] docs-rst: allow generating some LaTeX pages in landscape

2016-08-15 Thread Mauro Carvalho Chehab
Portrait is too small for some tables used at the media docs. So, allow documents to tell Sphinx to generate some pages in landscape by using: .. raw:: latex \begin{landscape} .. raw:: latex \end{landscape} Signed-off-by: Mauro Carvalho Chehab ---

[PATCH RFC v2 5/9] [media] pixfmt-nv12mt.rst: use PNG instead of GIF

2016-08-15 Thread Mauro Carvalho Chehab
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,

[PATCH RFC v2 9/9] HACK: make pdfdocs build with media books

2016-08-15 Thread Mauro Carvalho Chehab
- PLEASE DO NOT APPLY THIS UPSTREAM - This hack addresses two issues with pdf generation from media books: 1) Sphinx doesn't do the right thing if a block of code is inside a table. This sounds a Sphinx bug. Perhaps it can be

[PATCH RFC v2 8/9] [media] docs-rst: better use the .. note:: tag

2016-08-15 Thread Mauro Carvalho Chehab
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 --- Documentation/media/uapi/cec/cec-func-close.rst | 4 +++- Documentation/media/uapi/cec/cec-func-ioctl.rst |

[PATCH RFC v2 3/9] docs-rst: Don't mangle with UTF-8 chars on LaTeX/PDF output

2016-08-15 Thread Mauro Carvalho Chehab
pdflatex doesn't accept using some UTF-8 chars, like "equal or less than" or "equal or greater than" chars. However, the media documents use them. So, we need to use XeLaTeX for conversion, and a font that accepts such characters. Signed-off-by: Mauro Carvalho Chehab

[PATCH RFC v2 4/9] [media] pixfmt-007.rst: use Sphinx math:: expressions

2016-08-15 Thread Mauro Carvalho Chehab
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 --- Documentation/conf.py | 9 +- Documentation/media/uapi/v4l/pixfmt-007.rst | 175

[PATCH RFC v2 2/9] docs-rst: improve output for .. notes:: on LaTeX

2016-08-15 Thread Mauro Carvalho Chehab
The output for those notes are bad in pdf, as they're not in a box with a different color. Also, it causes the output to not build if the note is inside a table. Change its implementation to avoid the above troubles. The logic there came from:

Re: [PATCH 0/7] doc-rst: sphinx sub-folders & parseheaders directive

2016-08-15 Thread Jonathan Corbet
On Mon, 15 Aug 2016 10:21:07 +0200 Markus Heiser wrote: > Jonathan, we had this already, I gave you the links to "python community > norms" and tools, please read/use them. > > * https://www.python.org/dev/peps/pep-0008/ > * https://www.pylint.org/ > > Some of these

[PATCH RFC] [media] pixfmt-packed-rgb.rst: rotate a big table

2016-08-15 Thread Mauro Carvalho Chehab
Rotates the big RGB packed table to landscape. This is actually an example patch that depends on the past RFCv2 9 patches series I sent before. It uses LaTex adjustbox extension to rotate the packed RGB big table, and rotate it to landscape. This way, the table appears on the entire page. It

cron job: media_tree daily build: WARNINGS

2016-08-15 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Tue Aug 16 04:00:22 CEST 2016 git branch: test git hash: b6aa39228966e0d3f0bc3306be1892f87792903a gcc