[PATCH v4 02/12] [media] cxd2880-spi: Add support for CXD2880 SPI interface

2017-10-12 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi This is the SPI adapter part of the driver for the Sony CXD2880 DVB-T2/T tuner + demodulator. Signed-off-by: Yasunari Takiguchi Signed-off-by: Masayuki Yamamoto Signed-off-by: Hideki

[PATCH v4 01/12] [dt-bindings] [media] Add document file for CXD2880 SPI I/F

2017-10-12 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi This is the document file for Sony CXD2880 DVB-T2/T tuner + demodulator. It contains the description of the SPI adapter binding. Signed-off-by: Yasunari Takiguchi Signed-off-by: Masayuki Yamamoto

[PATCH v4 00/12] [dt-bindings] [media] Add document file and driver for Sony CXD2880 DVB-T2/T tuner + demodulator

2017-10-12 Thread Yasunari.Takiguchi
From: Yasunari Takiguchi Hi, This is the patch series (version 4) of Sony CXD2880 DVB-T2/T tuner + demodulator driver.The driver supports DVB-API and interfaces through SPI. We have tested the driver on Raspberry Pi 3 and got picture and sound from a media

cron job: media_tree daily build: ERRORS

2017-10-12 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: Fri Oct 13 05:00:16 CEST 2017 media-tree git hash:8382e556b1a2f30c4bf866f021b33577a64f9ebf media_build

[PATCH v2] media: uvcvideo: Fix uvc dev reference management

2017-10-12 Thread Jeffy Chen
Remove the kref_get() in uvc_register_video(), which is not needed as the kref_init() already initializes refcount to 1 for us. Fixes: 9d15cd958c17 ("media: uvcvideo: Convert from using an atomic variable to a reference count") Signed-off-by: Jeffy Chen --- Changes

Re: [PATCH v3 00/15] V4L2 Explicit Synchronization support

2017-10-12 Thread Brian Starkey
Hi, On Wed, Oct 04, 2017 at 05:08:55PM -0300, Gustavo Padovan wrote: Hi Brian, On Mon, 2017-10-02 at 14:41 +0100, Brian Starkey wrote: Hi Gustavo, On Thu, Sep 07, 2017 at 03:42:11PM -0300, Gustavo Padovan wrote: > From: Gustavo Padovan > > Hi, > > Refer to the

Re: [PATCH] build: Add bsearch if not defined

2017-10-12 Thread Jasmin J.
Hi! Even with this patch Kernel 2.6.x still can't be compiled due to the next error "ida_simple_get" missing. I will try to fix the "ida_simple_get" error tomorrow. BR, Jasmin

[PATCH] build: Add bsearch if not defined

2017-10-12 Thread Jasmin J.
From: Jasmin Jessich Compiling for Kernel 2.6.x failed in "rc-main.c" with linux/bsearch.h: No such file or directory Beside adding the missing function, also the include of "linux/bsearch.h" has been removed by new patch "v2.6_rc_main_bsearch_h.patch". Signed-off-by: Jasmin

[ragnatech:media-tree 2742/2771] drivers/media//dvb-core/dvb_frontend.c:2447:1: warning: the frame size of 1048 bytes is larger than 1024 bytes

2017-10-12 Thread kbuild test robot
tree: git://git.ragnatech.se/linux media-tree head: 8382e556b1a2f30c4bf866f021b33577a64f9ebf commit: d73dcf0cdb95a47f7e4e991ab63dd30f6eb67b4e [2742/2771] media: dvb_frontend: cleanup ioctl handling logic config: i386-randconfig-h1-10130413 (attached as .config) compiler: gcc-6 (Debian

[Patch 4/6] dt-bindings: media: ti-vpe: Document VPE driver

2017-10-12 Thread Benoit Parrot
Device Tree bindings for the Video Processing Engine (VPE) driver. Signed-off-by: Benoit Parrot --- Documentation/devicetree/bindings/media/ti-vpe.txt | 41 ++ 1 file changed, 41 insertions(+) create mode 100644

[Patch 0/6] ARM: dts/hwmod: Add CAL and VPE nodes

2017-10-12 Thread Benoit Parrot
This patch series adds the needed HWMOD and DTSI nodes for the CAL and VPE modules. We also document the VPE DT bindings. Benoit Parrot (6): ARM: dts: DRA72: Add CAL dtsi node ARM: DRA7: hwmod: Add CAL nodes ARM: OMAP: DRA7xx: Make CAM clock domain SWSUP only dt-bindings: media: ti-vpe:

[Patch 2/6] ARM: DRA7: hwmod: Add CAL nodes

2017-10-12 Thread Benoit Parrot
This patch adds the required hwmod nodes to support the Camera Adaptation Layer (CAL) for the DRA72 family of devices. - Added CAL hwmod entry in the DRA72x section. The DRA72x TRM (Literature Number SPRUHP2x) states that CAL only support NO_IDLE, FORCE_IDLE and SMART_IDLE. Although CAL does not

[Patch 6/6] ARM: dts: dra7: Add VPE dtsi node

2017-10-12 Thread Benoit Parrot
Add the necessary node and configuration data for the VPE (Video Processing Engine) hardware block on DRA7x. The corresponding driver for this entry is in drivers/media/platform/ti-vpe/vpe.c. Signed-off-by: Benoit Parrot --- arch/arm/boot/dts/dra7.dtsi | 26

[Patch 1/6] ARM: dts: DRA72: Add CAL dtsi node

2017-10-12 Thread Benoit Parrot
This patch adds the required dtsi node to support the Camera Adaptation Layer (CAL) for the DRA72 family of devices. - Added CAL entry in dra72x.dtsi. Signed-off-by: Benoit Parrot --- arch/arm/boot/dts/dra72x.dtsi | 31 +++ 1 file changed, 31

[Patch 3/6] ARM: OMAP: DRA7xx: Make CAM clock domain SWSUP only

2017-10-12 Thread Benoit Parrot
HWSUP on this domain is only working when VIP1 probes. If only VIP2 on DRA74x or CAL on DRA72x probes the domain does not get enabled. This might indicates an issue in the HW Auto state-machine for this domain. Work around is to set the CAM domain to use SWSUP only. Signed-off-by: Benoit Parrot

[Patch 5/6] ARM: DRA7: hwmod: Add VPE nodes

2017-10-12 Thread Benoit Parrot
Add hwmod entries for VPE (Video Processing Engine) hardware block found in DRA7x family of devices. DRA75x_DRA74x_ES1.1 Version T Technical Reference Manual (Literature Number SPRUHI2T) states that VPE only support NO_STANDBY, FORCE_STANDBY, NO_IDLE, FORCE_IDLE and SMART_IDLE. The hwmod flags

[PATCH 4/4] media: ov7670: add get_fmt() pad ops callback

2017-10-12 Thread Akinobu Mita
This enables to print the current format on the source pad of the ov7670 subdev by media-ctl. Cc: Jonathan Corbet Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu Mita --- drivers/media/i2c/ov7670.c | 34

[PATCH 3/4] media: ov7670: add media controller support

2017-10-12 Thread Akinobu Mita
Create a source pad and set the media controller type to the sensor. Cc: Jonathan Corbet Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu Mita --- drivers/media/i2c/ov7670.c | 17 + 1 file changed, 17

[PATCH 1/4] media: ov7670: create subdevice device node

2017-10-12 Thread Akinobu Mita
Set the V4L2_SUBDEV_FL_HAS_DEVNODE flag for the subdevice so it is possible to create a subdevice device node. Cc: Jonathan Corbet Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu Mita --- drivers/media/i2c/ov7670.c | 1 + 1

[PATCH 2/4] media: ov7670: use v4l2_async_unregister_subdev()

2017-10-12 Thread Akinobu Mita
The sub-device for ov7670 is registered by v4l2_async_register_subdev(). So it should be unregistered by v4l2_async_unregister_subdev() instead of v4l2_device_unregister_subdev(). Cc: Jonathan Corbet Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu Mita

[PATCH 0/4] media: ov7670: add media controller support

2017-10-12 Thread Akinobu Mita
This series adds media controller support and other related changes to the OV7670 which is cheap and highly available CMOS image sensor for hobbyists. This enables to control a video pipeline system with the OV7670. I've tested this with the xilinx video IP pipeline. Akinobu Mita (4): media:

[PATCH] media: xilinx-video: fix bad of_node_put() on endpoint error

2017-10-12 Thread Akinobu Mita
When iterating through all endpoints using of_graph_get_next_endpoint(), the refcount of the returned endpoint node is incremented and the refcount of the node which is passed as previous endpoint is decremented. So the caller doesn't need to call of_node_put() for each iterated node except for

[PATCH] dt-bindings: media: xilinx: fix typo in example

2017-10-12 Thread Akinobu Mita
Fix typo s/:/;/ Cc: Rob Herring Cc: Hyun Kwon Cc: Laurent Pinchart Signed-off-by: Akinobu Mita --- Documentation/devicetree/bindings/media/xilinx/xlnx,v-tpg.txt | 2 +- 1 file changed, 1

Re: [PATCH v3 04/26] media: lirc_zilog: remove receiver

2017-10-12 Thread Sean Young
Hi Devin, Andy, On Wed, Oct 11, 2017 at 10:25:34PM -0400, Devin Heitmueller wrote: > Hi Andy, > > > 5. Rx and IR Learn both use the same external hardware. Not > > coordinating Rx with Learn mode in the same driver, will prevent Learn > > operation from working. That is, if Learn mode is ever

Re: [PATCH v3 2/2] ARM: dts: tegra20: Add video decoder node

2017-10-12 Thread Dmitry Osipenko
Hello Vladimir, On 12.10.2017 10:43, Vladimir Zapolskiy wrote: > Hello Dmitry, > > On 10/11/2017 11:08 PM, Dmitry Osipenko wrote: >> Add a device node for the video decoder engine found on Tegra20. >> >> Signed-off-by: Dmitry Osipenko >> --- >> arch/arm/boot/dts/tegra20.dtsi

Re: [PATCH v3 04/26] media: lirc_zilog: remove receiver

2017-10-12 Thread Sean Young
On Wed, Oct 11, 2017 at 08:25:12PM -0400, Devin Heitmueller wrote: > > There's an ir_lock mutex in the driver to prevent simultaneous access to > > the Rx and Tx functions of the z8. Accessing Rx and Tx functions of the > > chip together can cause it to do the wrong thing (sometimes hang?),

Re: [PATCH v3 2/2] ARM: dts: tegra20: Add video decoder node

2017-10-12 Thread Dmitry Osipenko
On 12.10.2017 13:57, Jon Hunter wrote: > > On 12/10/17 11:51, Dmitry Osipenko wrote: >> On 12.10.2017 11:49, Jon Hunter wrote: >>> >>> On 11/10/17 21:08, Dmitry Osipenko wrote: Add a device node for the video decoder engine found on Tegra20. Signed-off-by: Dmitry Osipenko

Re: [PATCH v3 2/2] ARM: dts: tegra20: Add video decoder node

2017-10-12 Thread Jon Hunter
On 12/10/17 11:51, Dmitry Osipenko wrote: > On 12.10.2017 11:49, Jon Hunter wrote: >> >> On 11/10/17 21:08, Dmitry Osipenko wrote: >>> Add a device node for the video decoder engine found on Tegra20. >>> >>> Signed-off-by: Dmitry Osipenko >>> --- >>>

Re: [PATCH v3 2/2] ARM: dts: tegra20: Add video decoder node

2017-10-12 Thread Dmitry Osipenko
On 12.10.2017 11:49, Jon Hunter wrote: > > On 11/10/17 21:08, Dmitry Osipenko wrote: >> Add a device node for the video decoder engine found on Tegra20. >> >> Signed-off-by: Dmitry Osipenko >> --- >> arch/arm/boot/dts/tegra20.dtsi | 17 + >> 1 file changed, 17

Re: [PATCHv2 0/9] omapdrm: hdmi4: add CEC support

2017-10-12 Thread Tomi Valkeinen
 Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki On 12/10/17 12:42, Hans Verkuil wrote: > On 10/12/17 10:03, Tomi Valkeinen wrote: >> >> Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. >>

Re: [PATCHv2 0/9] omapdrm: hdmi4: add CEC support

2017-10-12 Thread Hans Verkuil
On 10/12/17 10:03, Tomi Valkeinen wrote: > > Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. > Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki > > On 12/10/17 09:50, Hans Verkuil wrote: > >>> I can't test with a TV, so no CEC for me... But otherwise I think the

Re: [PATCH v3 2/2] ARM: dts: tegra20: Add video decoder node

2017-10-12 Thread Jon Hunter
On 11/10/17 21:08, Dmitry Osipenko wrote: > Add a device node for the video decoder engine found on Tegra20. > > Signed-off-by: Dmitry Osipenko > --- > arch/arm/boot/dts/tegra20.dtsi | 17 + > 1 file changed, 17 insertions(+) > > diff --git

Re: [PATCHv2 0/9] omapdrm: hdmi4: add CEC support

2017-10-12 Thread Tomi Valkeinen
 Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki On 12/10/17 09:50, Hans Verkuil wrote: >> I can't test with a TV, so no CEC for me... But otherwise I think the >> series works ok now, and looks ok. So I'll apply,

Re: [PATCH] uvcvideo: Apply flags from device to actual properties

2017-10-12 Thread Edgar Thier
Use flags the device exposes for UVC controls. This allows the device to define which property flags are set. Since some cameras offer auto-adjustments for properties (e.g. auto-gain), the values of other properties (e.g. gain) can change in the camera. Examining the flags ensures that the

Re: [PATCH v3 2/2] ARM: dts: tegra20: Add video decoder node

2017-10-12 Thread Vladimir Zapolskiy
Hello Dmitry, On 10/11/2017 11:08 PM, Dmitry Osipenko wrote: > Add a device node for the video decoder engine found on Tegra20. > > Signed-off-by: Dmitry Osipenko > --- > arch/arm/boot/dts/tegra20.dtsi | 17 + > 1 file changed, 17 insertions(+) > > diff --git

Re: [PATCHv2 0/9] omapdrm: hdmi4: add CEC support

2017-10-12 Thread Hans Verkuil
Hi Tomi, On 08/22/2017 11:44 AM, Tomi Valkeinen wrote: > Hi Hans, > >>> > Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. > Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki > > On 11/08/17 13:57, Tomi Valkeinen wrote: >>> I'm doing some testing with this

Re: [PATCH v5 3/3] intel-ipu3: cio2: Add new MIPI-CSI2 driver

2017-10-12 Thread Sakari Ailus
Hi Yong, One more comment below... On Thu, Oct 12, 2017 at 01:02:54AM +, Zhi, Yong wrote: ... > > > +/*** V4L2 sub-device asynchronous registration > > callbacks***/ > > > + > > > +struct sensor_async_subdev { > > > + struct v4l2_async_subdev asd; > > > + struct csi2_bus_info