Re: [PATCH 03/10] media: dt-bindings: vpif: extend the example with an output port

2017-02-15 Thread Laurent Pinchart
Hi Rob, On Wednesday 15 Feb 2017 16:08:22 Rob Herring wrote: > On Tue, Feb 07, 2017 at 05:41:16PM +0100, Bartosz Golaszewski wrote: > > This makes the example more or less correspond with the da850-evm > > hardware setup. > > > > Signed-off-by: Bartosz Golaszewski > > --- > > > > .../devicetre

cron job: media_tree daily build: WARNINGS

2017-02-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: Thu Feb 16 05:00:15 CET 2017 media-tree git hash:9eeb0ed0f30938f31a3d9135a88b9502192c18dd media_build git

Re: [PATCH v4 32/36] media: imx: csi/fim: add support for frame intervals

2017-02-15 Thread Steve Longerbeam
Sorry, I forgot to change authorship on this patch. It should be authored by Russell King . Steve On 02/15/2017 06:19 PM, Steve Longerbeam wrote: Add support to CSI for negotiation of frame intervals, and use this information to configure the frame interval monitor. Signed-off-by: Russell King

[PATCH v4 01/36] [media] dt-bindings: Add bindings for i.MX media driver

2017-02-15 Thread Steve Longerbeam
Add bindings documentation for the i.MX media driver. Signed-off-by: Steve Longerbeam --- Documentation/devicetree/bindings/media/imx.txt | 66 + 1 file changed, 66 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/imx.txt diff --git a/Documentati

[PATCH v4 04/36] ARM: dts: imx6qdl: add capture-subsystem device

2017-02-15 Thread Steve Longerbeam
Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6dl.dtsi | 5 + arch/arm/boot/dts/imx6q.dtsi | 5 + 2 files changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl.dtsi b/arch/arm/boot/dts/imx6dl.dtsi index 371288a..f1743fc 100644 --- a/arch/arm/boot/dts/imx6dl.dtsi +++

[PATCH v4 00/36] i.MX Media Driver

2017-02-15 Thread Steve Longerbeam
In version 4: Changes suggested by Philipp Zabel and Jean-Michel Hautbois : - split out VDIC from imx-ic-prpvf into a distinct VDIC subdev. Changes suggested by Philipp Zabel : - Re-org of pre-process entities. Created an ipuX_ic_prp entity that receives on a single sink pad from the CSIs an

[PATCH v4 02/36] ARM: dts: imx6qdl: Add compatible, clocks, irqs to MIPI CSI-2 node

2017-02-15 Thread Steve Longerbeam
Add to the MIPI CSI2 receiver node: compatible strings, interrupt sources, and clocks. Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6qdl.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index 61569c8..aac7

[PATCH v4 06/36] ARM: dts: imx6-sabrelite: add OV5642 and OV5640 camera sensors

2017-02-15 Thread Steve Longerbeam
Adds the OV5642 parallel-bus sensor, and the OV5640 MIPI CSI-2 sensor. Both hang off the same i2c2 bus, so they require different (and non- default) i2c slave addresses. The OV5642 connects to the parallel-bus mux input port on ipu1_csi0_mux. The OV5640 connects to the input port on the MIPI CSI-

[PATCH v4 03/36] ARM: dts: imx6qdl: Add mipi_ipu1/2 multiplexers, mipi_csi, and their connections

2017-02-15 Thread Steve Longerbeam
From: Philipp Zabel This patch adds the device tree graph connecting the input multiplexers to the IPU CSIs and the MIPI-CSI2 gasket on i.MX6. The MIPI_IPU multiplexers are added as children of the iomuxc-gpr syscon device node. On i.MX6Q/D two two-input multiplexers in front of IPU1 CSI0 and IPU

[PATCH v4 05/36] ARM: dts: imx6qdl-sabrelite: remove erratum ERR006687 workaround

2017-02-15 Thread Steve Longerbeam
There is a pin conflict with GPIO_6. This pin functions as a power input pin to the OV5642 camera sensor, but ENET uses it as the h/w workaround for erratum ERR006687, to wake-up the ARM cores on normal RX and TX packet done events. So we need to remove the h/w workaround to support the OV5642. The

[PATCH v4 07/36] ARM: dts: imx6-sabresd: add OV5642 and OV5640 camera sensors

2017-02-15 Thread Steve Longerbeam
Enables the OV5642 parallel-bus sensor, and the OV5640 MIPI CSI-2 sensor. The OV5642 connects to the parallel-bus mux input port on ipu1_csi0_mux. The OV5640 connects to the input port on the MIPI CSI-2 receiver on mipi_csi. Until the OV5652 sensor module compatible with the SabreSD becomes avai

[PATCH v4 08/36] ARM: dts: imx6-sabreauto: create i2cmux for i2c3

2017-02-15 Thread Steve Longerbeam
The sabreauto uses a steering pin to select between the SDA signal on i2c3 bus, and a data-in pin for an SPI NOR chip. Use i2cmux to control this steering pin. Idle state of the i2cmux selects SPI NOR. This is not a classic way to use i2cmux, since one side of the mux selects something other than a

[PATCH v4 12/36] add mux and video interface bridge entity functions

2017-02-15 Thread Steve Longerbeam
From: Philipp Zabel Signed-off-by: Philipp Zabel - renamed MEDIA_ENT_F_MUX to MEDIA_ENT_F_VID_MUX Signed-off-by: Steve Longerbeam --- Documentation/media/uapi/mediactl/media-types.rst | 22 ++ include/uapi/linux/media.h| 6 ++ 2 files changed,

[PATCH v4 10/36] ARM: dts: imx6-sabreauto: add pinctrl for gpt input capture

2017-02-15 Thread Steve Longerbeam
Add pinctrl groups for both GPT input capture channels. Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi index 967c3b

[PATCH v4 09/36] ARM: dts: imx6-sabreauto: add reset-gpios property for max7310_b

2017-02-15 Thread Steve Longerbeam
The reset pin to the port expander chip (MAX7310) is controlled by a gpio, so define a reset-gpios property to control it. There are three MAX7310's on the SabreAuto CPU card (max7310_[abc]), but all use the same pin for their reset. Since all can't acquire the same pin, assign it to max7310_b, tha

[PATCH v4 14/36] [media] v4l2-mc: add a function to inherit controls from a pipeline

2017-02-15 Thread Steve Longerbeam
v4l2_pipeline_inherit_controls() will add the v4l2 controls from all subdev entities in a pipeline to a given video device. Signed-off-by: Steve Longerbeam --- drivers/media/v4l2-core/v4l2-mc.c | 48 +++ include/media/v4l2-mc.h | 25 +

[PATCH v4 17/36] media: Add userspace header file for i.MX

2017-02-15 Thread Steve Longerbeam
This adds a header file for use by userspace programs wanting to interact with the i.MX media driver. It defines custom v4l2 controls and events generated by the i.MX v4l2 subdevices. Signed-off-by: Steve Longerbeam --- include/uapi/media/Kbuild | 1 + include/uapi/media/imx.h | 29 +++

[PATCH v4 15/36] platform: add video-multiplexer subdevice driver

2017-02-15 Thread Steve Longerbeam
From: Philipp Zabel This driver can handle SoC internal and external video bus multiplexers, controlled either by register bit fields or by a GPIO. The subdevice passes through frame interval and mbus configuration of the active input to the output side. Signed-off-by: Sascha Hauer Signed-off-b

[PATCH v4 11/36] ARM: dts: imx6-sabreauto: add the ADV7180 video decoder

2017-02-15 Thread Steve Longerbeam
Enables the ADV7180 decoder sensor. The ADV7180 connects to the parallel-bus mux input on ipu1_csi0_mux. The ADV7180 power pin is via max7310_b port expander. Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 58 1 file changed, 58 i

[PATCH v4 16/36] UAPI: Add media UAPI Kbuild file

2017-02-15 Thread Steve Longerbeam
Add an empty UAPI Kbuild file for media UAPI headers. Signed-off-by: Steve Longerbeam --- include/uapi/Kbuild | 1 + include/uapi/media/Kbuild | 1 + 2 files changed, 2 insertions(+) create mode 100644 include/uapi/media/Kbuild diff --git a/include/uapi/Kbuild b/include/uapi/Kbuild index

[PATCH v4 13/36] [media] v4l2: add a frame timeout event

2017-02-15 Thread Steve Longerbeam
Add a new FRAME_TIMEOUT event to signal that a video capture or output device has timed out waiting for reception or transmit completion of a video frame. Signed-off-by: Steve Longerbeam --- Documentation/media/uapi/v4l/vidioc-dqevent.rst | 5 + Documentation/media/videodev2.h.rst.exceptions

[PATCH v4 18/36] media: Add i.MX media core driver

2017-02-15 Thread Steve Longerbeam
Add the core media driver for i.MX SOC. Signed-off-by: Steve Longerbeam --- Documentation/media/v4l-drivers/imx.rst | 542 + drivers/staging/media/Kconfig | 2 + drivers/staging/media/Makefile| 1 + drivers/staging/media/imx/K

[PATCH v4 21/36] media: imx: Add VDIC subdev driver

2017-02-15 Thread Steve Longerbeam
This is a media entity subdevice driver for the i.MX Video De-Interlacing or Combining Block. So far this entity does not implement the Combining function but only motion compensated deinterlacing. Video frames are received from the CSI and are routed to the IC PRPVF entity. Signed-off-by: Steve L

[PATCH v4 19/36] media: imx: Add Capture Device Interface

2017-02-15 Thread Steve Longerbeam
This is the capture device interface driver that provides the v4l2 user interface. Frames can be received from various sources: - directly from CSI for capturing unconverted images directly from camera sensors. - from the IC pre-process encode task. - from the IC pre-process viewfinder task.

[PATCH v4 26/36] media: imx: add support for bayer formats

2017-02-15 Thread Steve Longerbeam
From: Russell King Add the bayer formats to imx-media's list of supported pixel and bus formats. Signed-off-by: Russell King - added a bayer boolean to struct imx_media_pixfmt. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx-media-utils.c | 68 +

[PATCH v4 20/36] media: imx: Add CSI subdev driver

2017-02-15 Thread Steve Longerbeam
This is a media entity subdevice for the i.MX Camera Sensor Interface module. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/Kconfig | 13 + drivers/staging/media/imx/Makefile|2 + drivers/staging/media/imx/imx-media-csi.c | 1220 +

[PATCH v4 24/36] [media] add Omnivision OV5640 sensor driver

2017-02-15 Thread Steve Longerbeam
This driver is based on ov5640_mipi.c from Freescale imx_3.10.17_1.0.0_beta branch, modified heavily to bring forward to latest interfaces and code cleanup. Signed-off-by: Steve Longerbeam --- .../devicetree/bindings/media/i2c/ov5640.txt | 43 + drivers/media/i2c/Kconfig

[PATCH v4 23/36] media: imx: Add MIPI CSI-2 Receiver subdev driver

2017-02-15 Thread Steve Longerbeam
Adds MIPI CSI-2 Receiver subdev driver. This subdev is required for sensors with a MIPI CSI2 interface. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/Makefile | 1 + drivers/staging/media/imx/imx6-mipi-csi2.c | 573 + 2 files changed, 574 ins

[PATCH v4 27/36] media: imx: csi: add support for bayer formats

2017-02-15 Thread Steve Longerbeam
From: Russell King Bayer formats must be treated as generic data and passthrough mode must be used. Add the correct setup for these formats. Signed-off-by: Russell King - added check to csi_link_validate() to verify that destination is IDMAC output pad when passthrough conditions exist: bay

[PATCH v4 25/36] ARM: imx_v6_v7_defconfig: Enable staging video4linux drivers

2017-02-15 Thread Steve Longerbeam
Enable i.MX v4l2 media staging driver. For video capture on i.MX, the video multiplexer subdev is required. On the SabreAuto, the ADV7180 video decoder is required along with i2c-mux-gpio. The Sabrelite and SabreSD require the OV5640 and the SabreLite requires PWM clocks for the OV5640. Increase m

[PATCH v4 32/36] media: imx: csi/fim: add support for frame intervals

2017-02-15 Thread Steve Longerbeam
Add support to CSI for negotiation of frame intervals, and use this information to configure the frame interval monitor. Signed-off-by: Russell King Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx-media-csi.c | 36 --- drivers/staging/media/imx/imx-

[PATCH v4 28/36] media: imx: csi: fix crop rectangle changes in set_fmt

2017-02-15 Thread Steve Longerbeam
From: Philipp Zabel The cropping rectangle was being modified by the output pad's set_fmt, which is the wrong pad to do this. The crop rectangle should not be modified by the output pad set_fmt. It instead should be reset to the full input frame when the input pad format is set. The output pad s

[PATCH v4 29/36] media: imx: mipi-csi2: enable setting and getting of frame rates

2017-02-15 Thread Steve Longerbeam
From: Russell King Setting and getting frame rates is part of the negotiation mechanism between subdevs. The lack of support means that a frame rate at the sensor can't be negotiated through the subdev path. Add support at MIPI CSI2 level for handling this part of the negotiation. Signed-off-b

[PATCH v4 31/36] media: imx: csi: add __csi_get_fmt

2017-02-15 Thread Steve Longerbeam
Add __csi_get_fmt() and use it to return the correct mbus format (active or try) in get_fmt. Use it in other places as well. Signed-off-by: Steve Longerbeam Suggested-by: Russell King --- drivers/staging/media/imx/imx-media-csi.c | 52 --- 1 file changed, 40 insertio

[PATCH v4 35/36] media: imx: csi: fix crop rectangle reset in sink set_fmt

2017-02-15 Thread Steve Longerbeam
From: Philipp Zabel The csi_try_crop call in set_fmt should compare the cropping rectangle to the currently set input format, not to the previous input format. Signed-off-by: Philipp Zabel Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx-media-csi.c | 11 +-- 1 file c

[PATCH v4 34/36] media: imx: csi: add frame skipping support

2017-02-15 Thread Steve Longerbeam
From: Philipp Zabel The CSI can skip any out of up to 6 input frames, allowing to reduce the frame rate at the output pads by small fractions. Signed-off-by: Philipp Zabel Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx-media-csi.c | 119 +- 1 fil

[PATCH v4 33/36] media: imx: redo pixel format enumeration and negotiation

2017-02-15 Thread Steve Longerbeam
The previous API and negotiation of mbus codes and pixel formats was broken, and has been completely redone. The negotiation of media bus codes should be as follows: CSI: sink pad direct src pad IDMAC src pad - RGB (any)IPU RGB

[PATCH v4 30/36] media: imx: update capture dev format on IDMAC output pad set_fmt

2017-02-15 Thread Steve Longerbeam
When configuring the IDMAC output pad formats (in ipu_csi, ipu_ic_prpenc, and ipu_ic_prpvf subdevs), the attached capture device format must also be updated. Signed-off-by: Steve Longerbeam Suggested-by: Philipp Zabel --- drivers/staging/media/imx/imx-ic-prpencvf.c | 9 + drivers/stagin

[PATCH v4 36/36] media: imx: propagate sink pad formats to source pads

2017-02-15 Thread Steve Longerbeam
Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx-ic-prp.c | 11 ++- drivers/staging/media/imx/imx-ic-prpencvf.c | 22 ++ drivers/staging/media/imx/imx-media-csi.c | 26 +- drivers/staging/media/imx/imx-media-vdic.c | 15

[PATCH v4 22/36] media: imx: Add IC subdev drivers

2017-02-15 Thread Steve Longerbeam
This is a set of four media entity subdevice drivers for the i.MX Image Converter: - Pre-process Router: Takes input frames from CSI0, CSI1, or VDIC. Two output pads enable either or both of the preprocess tasks below. If the input is from one of the CSIs, both proprocess task links can be e

Re: [PATCH v2 3/3] [media] dvbsky: MyGica T230C support

2017-02-15 Thread Stefan Bruens
Hi Antti, first thanks for for the review. Note the t230c_attach is mostly a copy of the t330_attach (which is very similar to the t680c_attach), so any of your comments should probably applied to the other attach functions to have a common coding style. On Mittwoch, 15. Februar 2017 10:27:09

[PATCH] staging: media: use octal permissions

2017-02-15 Thread dc
Replace all instances of permission macros with octal permissions Signed-off-by: David Cako --- drivers/staging/media/lirc/lirc_parallel.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/media/lirc/lirc_parallel.c b/drivers/staging/media/lirc/lir

Re: [PATCH 3/4] smiapp: Get clock rate if it's not available through DT

2017-02-15 Thread kbuild test robot
Hi Sakari, [auto build test WARNING on linus/master] [also build test WARNING on v4.10-rc8] [cannot apply to linuxtv-media/master next-20170215] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits

Re: [PATCH 03/10] media: dt-bindings: vpif: extend the example with an output port

2017-02-15 Thread Rob Herring
On Tue, Feb 07, 2017 at 05:41:16PM +0100, Bartosz Golaszewski wrote: > This makes the example more or less correspond with the da850-evm > hardware setup. > > Signed-off-by: Bartosz Golaszewski > --- > .../devicetree/bindings/media/ti,da850-vpif.txt| 35 > ++ > 1 file ch

Re: [PATCH 03/10] media: dt-bindings: vpif: extend the example with an output port

2017-02-15 Thread Rob Herring
On Tue, Feb 07, 2017 at 05:41:16PM +0100, Bartosz Golaszewski wrote: > This makes the example more or less correspond with the da850-evm > hardware setup. > > Signed-off-by: Bartosz Golaszewski > --- > .../devicetree/bindings/media/ti,da850-vpif.txt| 35 > ++ > 1 file ch

Re: [PATCH 01/10] media: dt-bindings: vpif: fix whitespace errors

2017-02-15 Thread Rob Herring
On Tue, Feb 07, 2017 at 05:41:14PM +0100, Bartosz Golaszewski wrote: > Signed-off-by: Bartosz Golaszewski > --- > Documentation/devicetree/bindings/media/ti,da850-vpif.txt | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) Acked-by: Rob Herring

[PATCH v2] [media] dw2102: don't do DMA on stack

2017-02-15 Thread Jonathan McDowell
(Apologies, the original version of this patch had a stray, unused, "buf_mutex" definition left over from an earlier version before I switched to the existing data_mutex.) I upgraded my media box today from 4.4.48 to 4.9.10 and hit WARNINGs in the dw2102 driver for my TechnoTrend TT-connect S2-460

[PATCH] [media] dw2102: don't do DMA on stack

2017-02-15 Thread Jonathan McDowell
I upgraded my media box today from 4.4.48 to 4.9.10 and hit WARNINGs in the dw2102 driver for my TechnoTrend TT-connect S2-4600, one in su3000_power_ctrl() and the other in tt_s2_4600_frontend_attach(). Both were due to the use of buffers on the stack as parameters to dvb_usb_generic_rw() and the r

Re: Cine CT V6.1 code change request

2017-02-15 Thread Martin Herrman
2017-02-15 8:55 GMT+01:00 Hans Verkuil : Hi Hans, Thanks for the quick response! > I'm not sure what this media_build directory is. It certainly is > outdated. The latest media_build is here: > https://git.linuxtv.org/media_build.git/ And thanks for sharing! > Can you show that line and the s

[PATCH 6/6] [media] go7007: improve subscribe event handling

2017-02-15 Thread Gustavo Padovan
From: Gustavo Padovan We already check for the V4L2_EVENT_CTRL inside v4l2_ctrl_subscribe_event() so just move this function to the default: branch of the switch and let it does the job for us. Signed-off-by: Gustavo Padovan --- drivers/media/usb/go7007/go7007-v4l2.c | 5 ++--- 1 file changed,

[PATCH 3/6] [media] solo6x10: improve subscribe event handling

2017-02-15 Thread Gustavo Padovan
From: Gustavo Padovan We already check for the V4L2_EVENT_CTRL inside v4l2_ctrl_subscribe_event() so just move the function to the default: branch of the switch and let it does the job for us. Signed-off-by: Gustavo Padovan --- drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c | 5 ++--- 1 file c

[PATCH 2/6] [media] ivtv: improve subscribe_event handling

2017-02-15 Thread Gustavo Padovan
From: Gustavo Padovan Simplify logic and call v4l2_ctrl_subscribe_event() directly instead of copying its content over to ivtv_subscribe_event(). Signed-off-by: Gustavo Padovan --- drivers/media/pci/ivtv/ivtv-ioctl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/driver

[PATCH 1/6] [media] vb2: only check ret if we assigned it

2017-02-15 Thread Gustavo Padovan
From: Gustavo Padovan Move the ret check to the right level under if (pb). It is not used by the code before that point if pb is NULL. Signed-off-by: Gustavo Padovan --- drivers/media/v4l2-core/videobuf2-core.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/

[PATCH 4/6] [media] tw5864: improve subscribe event handling

2017-02-15 Thread Gustavo Padovan
From: Gustavo Padovan We already check for the V4L2_EVENT_CTRL inside v4l2_ctrl_subscribe_event() so just move this function to the default: branch of the switch and let it does the job for us. Signed-off-by: Gustavo Padovan --- drivers/media/pci/tw5864/tw5864-video.c | 5 ++--- 1 file changed

[PATCH 5/6] [media] vivid: improve subscribe event handling

2017-02-15 Thread Gustavo Padovan
From: Gustavo Padovan We already check for the V4L2_EVENT_CTRL inside v4l2_ctrl_subscribe_event() so just move this fuction to the default: branch of the switch and let it does the job for us. Signed-off-by: Gustavo Padovan --- drivers/media/platform/vivid/vivid-vid-out.c | 4 +--- 1 file chan

Re: [xawtv3] Request: Support for FM RDS

2017-02-15 Thread Markus Rechberger
Hi, On Wed, Feb 15, 2017 at 5:28 PM, Devin Heitmueller wrote: > Hi George, > > The big problem is that almost none of the hardware tuners out there > which support FM have support for RDS. You generally need an extra > chip, and very few devices have it (IIRC, none of the ones that are > support

Re: [PATCH] staging:bcm2048 : Add parentheses around variable x

2017-02-15 Thread Tabrez Khan
On Fri, Feb 3, 2017 at 3:42 PM, Dan Carpenter wrote: > On Sat, Dec 03, 2016 at 03:14:26PM +0530, Tabrez khan wrote: >> Add parentheses around variable x for the readability purpose. >> > > It's not really about readability... > > regards, > dan carpenter > I will resend it again. -- Regards Tab

Re: [PATCH v3 6/7] dt-bindings: media: Add Renesas R-Car DRIF binding

2017-02-15 Thread Rob Herring
On Tue, Feb 07, 2017 at 03:02:36PM +, Ramesh Shanmugasundaram wrote: > Add binding documentation for Renesas R-Car Digital Radio Interface > (DRIF) controller. > > Signed-off-by: Ramesh Shanmugasundaram > > --- > .../devicetree/bindings/media/renesas,drif.txt | 186 > ++

Re: [PATCH] omap3isp: add support for CSI1 bus

2017-02-15 Thread Pavel Machek
On Wed 2017-02-15 17:57:46, Sebastian Reichel wrote: > Hi, > > On Wed, Feb 15, 2017 at 11:23:01AM +0100, Pavel Machek wrote: > > It seems csiphy_routing_cfg_3430 is not called at all. I added > > printks, but they don't trigger. If you have an idea what is going on > > there, it would help... > >

Re: [PATCH v3 2/7] dt-bindings: media: Add MAX2175 binding description

2017-02-15 Thread Rob Herring
On Tue, Feb 07, 2017 at 03:02:32PM +, Ramesh Shanmugasundaram wrote: > Add device tree binding documentation for MAX2175 Rf to bits tuner > device. > > Signed-off-by: Ramesh Shanmugasundaram > > --- > .../devicetree/bindings/media/i2c/max2175.txt | 61 > ++ > .../d

Re: [PATCH] omap3isp: add support for CSI1 bus

2017-02-15 Thread Sebastian Reichel
Hi, On Wed, Feb 15, 2017 at 11:23:01AM +0100, Pavel Machek wrote: > It seems csiphy_routing_cfg_3430 is not called at all. I added > printks, but they don't trigger. If you have an idea what is going on > there, it would help... You added printk to csiphy_routing_cfg_3630 instead of csiphy_routin

Re: [xawtv3] Request: Support for FM RDS

2017-02-15 Thread Devin Heitmueller
Hi George, The big problem is that almost none of the hardware tuners out there which support FM have support for RDS. You generally need an extra chip, and very few devices have it (IIRC, none of the ones that are supported in Linux have been available in retail for a number of years). Don't ge

[xawtv3] Request: Support for FM RDS

2017-02-15 Thread George Pojar
FM RDS would be a great feature in radio console application. It would be nice to see what the name of the song is that is playing (that is, if the station supports RDS).

[GIT PULL FOR v4.11] RC deadlocks

2017-02-15 Thread Sean Young
Hi Mauro, Two deadlocks which would be nice to have fixed for v4.11. Both were introduced by the wakeup changes; I guess that teaches me for working without lockdep enabled. Thanks, Sean The following changes since commit 9eeb0ed0f30938f31a3d9135a88b9502192c18dd: [media] mtk-vcodec: fix build

Re: [PATCH v2 1/2] Add Documentation for Media Device, Video Device, and Synopsys DW MIPI CSI-2 Host

2017-02-15 Thread Ramiro Oliveira
Hi Rob, Sorry for the late reply, but I just now found your reply. Thanks for your feedback. On 12/19/2016 5:38 PM, Rob Herring wrote: > On Mon, Dec 12, 2016 at 03:00:35PM +, Ramiro Oliveira wrote: >> Create device tree bindings documentation for Media and Video Device, as well >> as the DW

Re: [regression] dvb_usb_cxusb (was Re: ir-keytable: infinite loops, segfaults)

2017-02-15 Thread Sean Young
On Wed, Feb 08, 2017 at 10:30:30PM +1100, Vincent McIntyre wrote: > Hi > > I have been working with Sean on figuring out the protocol used by a > dvico remote. > I thought the patch he sent was at fault but I backed it out and tried again. > > I've attached a full dmesg but the core of it is when

Re: [PATCH v1.1 5/8] v4l: Switch from V4L2 OF not V4L2 fwnode API

2017-02-15 Thread Benoit Parrot
For: ov2569.c, am437x/am437x-vpfe.c and ti-cal/cal.c: Acked-by: Benoit Parrot Sakari Ailus wrote on Tue [2017-Feb-14 09:12:32 +0200]: > Switch users of the v4l2_of_ APIs to the more generic v4l2_fwnode_ APIs. > > Existing OF matching continues to be supported. omap3isp and smiapp > drivers

Re: Bug#854100: libdvbv5-0: fails to tune / scan

2017-02-15 Thread Mauro Carvalho Chehab
Em Wed, 15 Feb 2017 11:13:18 -0200 Mauro Carvalho Chehab escreveu: > Hi Gregor, > > Em Mon, 13 Feb 2017 08:04:48 -0200 > Mauro Carvalho Chehab escreveu: > > > Em Fri, 10 Feb 2017 22:02:01 +0100 > > Gregor Jasny escreveu: > > > > > Hello Mauro & DVB-S maintainers, > > > > > > could you pleas

Re: [Patch 2/2] media: ti-vpe: vpe: allow use of user specified stride

2017-02-15 Thread Benoit Parrot
Tomi Valkeinen wrote on Wed [2017-Feb-15 13:22:42 +0200]: > Hi, > > On 13/02/17 15:06, Benoit Parrot wrote: > > Bytesperline/stride was always overwritten by VPE to the most > > adequate value based on needed alignment. > > > > However in order to make use of arbitrary size DMA buffer it > > is

Re: Bug#854100: libdvbv5-0: fails to tune / scan

2017-02-15 Thread Mauro Carvalho Chehab
Hi Gregor, Em Mon, 13 Feb 2017 08:04:48 -0200 Mauro Carvalho Chehab escreveu: > Em Fri, 10 Feb 2017 22:02:01 +0100 > Gregor Jasny escreveu: > > > Hello Mauro & DVB-S maintainers, > > > > could you please have a look at the bug report below? Marcel was so kind > > to bisect the problem to the

Re: [patch] staging: bcm2835-camera: free first element in array

2017-02-15 Thread walter harms
Am 15.02.2017 13:25, schrieb Dan Carpenter: > We should free gdev[0] so the > should be >=. > > Fixes: 7b3ad5abf027 ("staging: Import the BCM2835 MMAL-based V4L2 camera > driver.") > Signed-off-by: Dan Carpenter > > diff --git a/drivers/staging/media/platform/bcm2835/bcm2835-camera.c > b/dri

[patch] staging: bcm2835-camera: free first element in array

2017-02-15 Thread Dan Carpenter
We should free gdev[0] so the > should be >=. Fixes: 7b3ad5abf027 ("staging: Import the BCM2835 MMAL-based V4L2 camera driver.") Signed-off-by: Dan Carpenter diff --git a/drivers/staging/media/platform/bcm2835/bcm2835-camera.c b/drivers/staging/media/platform/bcm2835/bcm2835-camera.c index ca1

Re: [RFC simple allocator v2 1/2] Create Simple Allocator module

2017-02-15 Thread Mark Brown
On Tue, Feb 14, 2017 at 09:59:55PM +0200, Laurent Pinchart wrote: > On Tuesday 14 Feb 2017 20:44:44 Daniel Vetter wrote: > > ADF was probably the best example in this. KMS also took a while until all > > the fbdev wheels have been properly reinvented (some are still the same old > > squeaky onces

Re: [RFC 08/13] smiapp-pll: Take existing divisor into account in minimum divisor check

2017-02-15 Thread Pali Rohár
On Wednesday 15 February 2017 00:05:03 Sakari Ailus wrote: > Hi Pavel, > > On Tue, Feb 14, 2017 at 02:40:04PM +0100, Pavel Machek wrote: > > From: Sakari Ailus > > > > Required added multiplier (and divisor) calculation did not take into > > account the existing divisor when checking the values

Re: [RFC 08/13] smiapp-pll: Take existing divisor into account in minimum divisor check

2017-02-15 Thread Pavel Machek
On Wed 2017-02-15 00:05:03, Sakari Ailus wrote: > Hi Pavel, > > On Tue, Feb 14, 2017 at 02:40:04PM +0100, Pavel Machek wrote: > > From: Sakari Ailus > > > > Required added multiplier (and divisor) calculation did not take into > > account the existing divisor when checking the values against the

Re: [Patch 2/2] media: ti-vpe: vpe: allow use of user specified stride

2017-02-15 Thread Tomi Valkeinen
Hi, On 13/02/17 15:06, Benoit Parrot wrote: > Bytesperline/stride was always overwritten by VPE to the most > adequate value based on needed alignment. > > However in order to make use of arbitrary size DMA buffer it > is better to use the user space provide stride instead. > > The driver will s

Re: [RFC 06/13] v4l2-async: per notifier locking

2017-02-15 Thread Pavel Machek
Hi! > > From: Sebastian Reichel > > > > Without this, camera support breaks boot on N900. > > That's kind of vague. I just checked my original patch and it looks > like I did not bother to write a proper patch description. I suggest > to make this > > "Fix v4l2-async locking, so that v4l2_asyn

Re: [PATCH] smiapp: add CCP2 support

2017-02-15 Thread Pavel Machek
Hi! > > > I pushed the two DT patches here: > > > > > > https://git.linuxtv.org/sailus/media_tree.git/commit/?h=ccp2> > > > > Thanks for a branch. If you could the two patches that look ok there, > > it would mean less work for me, I could just mark those two as applied > > here. > > I think a

Re: [PATCH] omap3isp: add support for CSI1 bus

2017-02-15 Thread Pavel Machek
Hi! > > + if (enable) { > > + csirxfe = OMAP343X_CONTROL_CSIRXFE_PWRDNZ | > > + OMAP343X_CONTROL_CSIRXFE_RESET; > > + > > + if (buscfg->phy_layer) > > + csirxfe |= OMAP343X_CONTROL_CSIRXFE_SELFORM;

Re: [PATCH] omap3isp: add support for CSI1 bus

2017-02-15 Thread Pavel Machek
Hi! > > diff --git a/drivers/media/platform/omap3isp/isp.c > > b/drivers/media/platform/omap3isp/isp.c index 0321d84..88bc7c6 100644 > > --- a/drivers/media/platform/omap3isp/isp.c > > +++ b/drivers/media/platform/omap3isp/isp.c > > @@ -2024,21 +2024,92 @@ enum isp_of_phy { > > ISP_OF_PHY_CSIP

Re: [PATCH v3 00/24] i.MX Media Driver

2017-02-15 Thread Philipp Zabel
Hi Steve, On Tue, 2017-02-14 at 18:27 -0800, Steve Longerbeam wrote: [...] > > > > # Provide an EDID to the HDMI source > > v4l2-ctl -d /dev/v4l-subdev2 --set-edid=file=edid-1080p.hex > > I can probably generate this Intel hex file myself from sysfs > edid outputs, but for convenience do you mind

КЛИЕНСКИЕ БАЗЫ тел +79139230330 Skype: prodawez390 Email: prodawez...@gmail.com Viber\whatsapp\telegram +79139230330 Узнайте подробнее!!!

2017-02-15 Thread linux-media@vger.kernel.org

Re: [RFC simple allocator v2 1/2] Create Simple Allocator module

2017-02-15 Thread Benjamin Gaignard
2017-02-14 20:59 GMT+01:00 Laurent Pinchart : > Hi Daniel, > > On Tuesday 14 Feb 2017 20:44:44 Daniel Vetter wrote: >> On Tue, Feb 14, 2017 at 8:39 PM, Laurent Pinchart wrote: >> > On Tuesday 14 Feb 2017 20:33:58 Daniel Vetter wrote: >> >> On Mon, Feb 13, 2017 at 3:45 PM, Benjamin Gaignard wrote: >

Re: next build: 9 warnings 0 failures (next/next-20170215)

2017-02-15 Thread Hans Verkuil
On 02/15/2017 09:39 AM, Arnd Bergmann wrote: > On Wed, Feb 15, 2017 at 9:30 AM, Hans Verkuil wrote: >> On 02/15/2017 09:24 AM, Arnd Bergmann wrote: >>> On Wed, Feb 15, 2017 at 9:02 AM, Olof's autobuilder wrote: > 1 drivers/media/platform/coda/imx-vdoa.c:333:571: warning: passing

Re: [RFC simple allocator v2 1/2] Create Simple Allocator module

2017-02-15 Thread Benjamin Gaignard
2017-02-14 20:30 GMT+01:00 Laurent Pinchart : > Hi Benjamin, > > Thank you for the patch. I've CC'ed the linux-api mailing list. > > On Monday 13 Feb 2017 15:45:05 Benjamin Gaignard wrote: >> This is the core of simple allocator module. >> It aim to offert one common ioctl to allocate specific memo

Re: next build: 9 warnings 0 failures (next/next-20170215)

2017-02-15 Thread Arnd Bergmann
On Wed, Feb 15, 2017 at 9:30 AM, Hans Verkuil wrote: > On 02/15/2017 09:24 AM, Arnd Bergmann wrote: >> On Wed, Feb 15, 2017 at 9:02 AM, Olof's autobuilder wrote: >>> 1 drivers/media/platform/coda/imx-vdoa.c:333:571: warning: passing >>> argument 1 of 'platform_driver_unregister' discards

Re: next build: 9 warnings 0 failures (next/next-20170215)

2017-02-15 Thread Hans Verkuil
On 02/15/2017 09:24 AM, Arnd Bergmann wrote: > On Wed, Feb 15, 2017 at 9:02 AM, Olof's autobuilder wrote: >> Here are the build results from automated periodic testing. > >> >> Warnings: 9 > > It seems we're closing in on zero again, with just two build regressions > agains

Re: [PATCH v2 3/3] [media] dvbsky: MyGica T230C support

2017-02-15 Thread Antti Palosaari
On 02/15/2017 03:51 AM, Stefan Brüns wrote: Mygica T230 DVB-T/T2/C USB stick support. It uses the same FX2/Si2168 bridge/demodulator combo as the other devices supported by the driver, but uses the Si2141 tuner. Several DVB-T (MPEG2) and DVB-T2 (H.265) channels were tested, as well as the include

Re: next build: 9 warnings 0 failures (next/next-20170215)

2017-02-15 Thread Arnd Bergmann
On Wed, Feb 15, 2017 at 9:02 AM, Olof's autobuilder wrote: > Here are the build results from automated periodic testing. > > Warnings: 9 It seems we're closing in on zero again, with just two build regressions against 4.10 in linux-next. I did patches for both, and they mad

Re: [PATCH v3 1/2] v4l: Add camera voice coil lens control class, current control

2017-02-15 Thread Pavel Machek
Hi! > On 02/15/17 00:47, Pavel Machek wrote: > > On Tue 2017-02-14 14:20:22, Sakari Ailus wrote: > >> Add a V4L2 control class for voice coil lens driver devices. These are > >> simple devices that are used to move a camera lens from its resting > >> position. > >> > >> Signed-off-by: Sakari Ailus