Re: [PATCH v2 05/19] ARM: dts: imx6-sabresd: add OV5642 and OV5640 camera sensors

2017-01-06 Thread Steve Longerbeam
On 01/04/2017 07:26 AM, Fabio Estevam wrote: On Tue, Jan 3, 2017 at 6:57 PM, Steve Longerbeam wrote: + camera: ov5642@3c { + compatible = "ovti,ov5642"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ov56

Re: [PATCH v2 15/19] media: imx: Add MIPI CSI-2 Receiver subdev driver

2017-01-06 Thread Steve Longerbeam
On 01/04/2017 07:05 AM, Vladimir Zapolskiy wrote: On 01/03/2017 10:57 PM, Steve Longerbeam wrote: 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

Re: [PATCH v2 14/19] media: imx: Add Camera Interface subdev driver

2017-01-06 Thread Steve Longerbeam
On 01/04/2017 06:55 AM, Vladimir Zapolskiy wrote: On 01/03/2017 10:57 PM, Steve Longerbeam wrote: diff --git a/drivers/staging/media/imx/Makefile b/drivers/staging/media/imx/Makefile index d2a962c..fe9e992 100644 --- a/drivers/staging/media/imx/Makefile +++ b/drivers/staging/media/imx

Re: [PATCH v2 13/19] media: imx: Add IC subdev drivers

2017-01-06 Thread Steve Longerbeam
On 01/04/2017 06:48 AM, Vladimir Zapolskiy wrote: On 01/03/2017 10:57 PM, Steve Longerbeam wrote: + + ret = ic_ops[priv->task_id]->init(priv); + if (ret) + return ret; + + ret = v4l2_async_register_subdev(&priv->sd); + if (ret) +

Re: [PATCH v2 12/19] media: imx: Add SMFC subdev driver

2017-01-06 Thread Steve Longerbeam
On 01/04/2017 06:23 AM, Vladimir Zapolskiy wrote: On 01/03/2017 10:57 PM, Steve Longerbeam wrote: This is a media entity subdevice driver for the i.MX Sensor Multi-FIFO Controller module. Video frames are received from the CSI and can be routed to various sinks including the i.MX Image

Re: [PATCH v2 11/19] media: imx: Add CSI subdev driver

2017-01-06 Thread Steve Longerbeam
driver = { + .probe = imx_csi_probe, + .remove = imx_csi_remove, + .id_table = imx_csi_ids, + .driver = { + .name = "imx-ipuv3-csi", + .owner = THIS_MODULE, Please drop .owner. ok, I tested this and there are no regressions, done for all

Re: [PATCH v2 10/19] media: Add i.MX media core driver

2017-01-05 Thread Steve Longerbeam
On 01/04/2017 05:33 AM, Vladimir Zapolskiy wrote: Hi Steve, On 01/03/2017 10:57 PM, Steve Longerbeam wrote: Add the core media driver for i.MX SOC. Signed-off-by: Steve Longerbeam --- Documentation/devicetree/bindings/media/imx.txt | 205 + v2 was sent before getting Rob's r

Re: [PATCH v2 05/19] ARM: dts: imx6-sabresd: add OV5642 and OV5640 camera sensors

2017-01-05 Thread Steve Longerbeam
0 { Please rename the node name to ipu1csi0grp. Please add new pin control groups preserving the alphanimerical order. done and done. Steve -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v2 09/19] ARM: dts: imx6-sabreauto: add the ADV7180 video decoder

2017-01-05 Thread Steve Longerbeam
On 01/04/2017 04:41 AM, Vladimir Zapolskiy wrote: On 01/03/2017 10:57 PM, Steve Longerbeam wrote: + + camera: adv7180@21 { adv7180: camera@21 done. + pinctrl_ipu1_csi0: ipu1grp-csi0 { Please rename node name to ipu1csi0grp. done. Steve -- To unsubscribe

Re: [PATCH v2 04/19] ARM: dts: imx6-sabrelite: add OV5642 and OV5640 camera sensors

2017-01-05 Thread Steve Longerbeam
Hi Vladimir, On 01/04/2017 04:25 AM, Vladimir Zapolskiy wrote: Hi Steve, On 01/03/2017 10:57 PM, Steve Longerbeam wrote: Enables 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

[PATCH v2 19/19] ARM: imx_v6_v7_defconfig: Enable staging video4linux drivers

2017-01-03 Thread Steve Longerbeam
Enable imx v4l2 staging drivers. For video capture on the SabreAuto, the ADV7180 video decoder also requires the i2c-mux-gpio and the max7310 port expander. The Sabrelite requires PWM clocks for the OV5640. Signed-off-by: Steve Longerbeam --- arch/arm/configs/imx_v6_v7_defconfig | 10

[PATCH v2 11/19] media: imx: Add CSI subdev driver

2017-01-03 Thread Steve Longerbeam
This is a media entity subdevice for the i.MX Camera Serial Interface module. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/Kconfig | 13 + drivers/staging/media/imx/Makefile | 2 + drivers/staging/media/imx/imx-csi.c | 638 3 files

[PATCH v2 03/19] ARM: dts: imx6qdl: add media device

2017-01-03 Thread Steve Longerbeam
Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6q.dtsi | 4 arch/arm/boot/dts/imx6qdl.dtsi | 8 2 files changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index 56a314f..2fbe0b3 100644 --- a/arch/arm/boot/dts/imx6q.dtsi

[PATCH v2 01/19] ARM: dts: imx6qdl: Add compatible, clocks, irqs to MIPI CSI-2 node

2017-01-03 Thread Steve Longerbeam
Add to the MIPI CSI2 receiver node: compatible string, interrupt sources, 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 53e6e63..7b546e3

[PATCH v2 05/19] ARM: dts: imx6-sabresd: add OV5642 and OV5640 camera sensors

2017-01-03 Thread Steve Longerbeam
sensor module compatible with the SabreSD becomes available for testing, the ov5642 node is currently disabled. Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6dl-sabresd.dts | 5 ++ arch/arm/boot/dts/imx6q-sabresd.dts| 5 ++ arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 114

[PATCH v2 06/19] ARM: dts: imx6-sabreauto: create i2cmux for i2c3

2017-01-03 Thread Steve Longerbeam
X7310) are thus moved into i2cmux. Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 65 +--- 1 file changed, 44 insertions(+), 21 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto

[PATCH v2 12/19] media: imx: Add SMFC subdev driver

2017-01-03 Thread Steve Longerbeam
-off-by: Steve Longerbeam --- drivers/staging/media/imx/Makefile | 1 + drivers/staging/media/imx/imx-smfc.c | 739 +++ 2 files changed, 740 insertions(+) create mode 100644 drivers/staging/media/imx/imx-smfc.c diff --git a/drivers/staging/media/imx/Makefile b

[PATCH v2 16/19] media: imx: Add video switch subdev driver

2017-01-03 Thread Steve Longerbeam
From: Philipp Zabel This driver can handle SoC internal and extern video bus multiplexers, controlled either by register bit fields or by GPIO. Signed-off-by: Sascha Hauer Signed-off-by: Philipp Zabel Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/Makefile | 1

[PATCH v2 09/19] ARM: dts: imx6-sabreauto: add the ADV7180 video decoder

2017-01-03 Thread Steve Longerbeam
ADV7180 power pin is via max7310_b port expander. Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 56 1 file changed, 56 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi

[PATCH v2 15/19] media: imx: Add MIPI CSI-2 Receiver subdev driver

2017-01-03 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/imx-mipi-csi2.c | 509 ++ 2 files changed, 510

[PATCH v2 17/19] media: imx: Add MIPI CSI-2 OV5640 sensor subdev driver

2017-01-03 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 --- drivers/staging/media/imx/Kconfig |8 + drivers/staging/media/imx/Makefile |2

[PATCH v2 10/19] media: Add i.MX media core driver

2017-01-03 Thread Steve Longerbeam
Add the core media driver for i.MX SOC. Signed-off-by: Steve Longerbeam --- Documentation/devicetree/bindings/media/imx.txt | 205 + Documentation/media/v4l-drivers/imx.rst | 430 ++ drivers/staging/media/Kconfig | 2 + drivers/staging/media

[PATCH v2 04/19] ARM: dts: imx6-sabrelite: add OV5642 and OV5640 camera sensors

2017-01-03 Thread Steve Longerbeam
events (see 6261c4c8). So workaround 6261c4c8 is reverted here to support the OV5642, and the "fsl,err006687-workaround-present" boolean also must be removed. The result is that the CPUidle driver will no longer allow entering the deep idle states on the sabrelite. Signed-off-by: Steve

[PATCH v2 13/19] media: imx: Add IC subdev drivers

2017-01-03 Thread Steve Longerbeam
re-process encode. However this entity sends frames to the i.MX IPU image converter which supports image tiling, which allows scaled output up to 4096x4096 resolution. Output frames can be routed to the camera interfaces. Signed-off-by: Steve Longerbeam --- drivers/staging/media/im

[PATCH v2 07/19] ARM: dts: imx6-sabreauto: add reset-gpios property for max7310_b

2017-01-03 Thread Steve Longerbeam
max7310_b, that chip is needed by more functions (usb and adv7180). Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi ind

[PATCH v2 08/19] ARM: dts: imx6-sabreauto: add pinctrl for gpt input capture

2017-01-03 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

[PATCH v2 14/19] media: imx: Add Camera Interface subdev driver

2017-01-03 Thread Steve Longerbeam
the IC post-process task. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/Makefile|2 +- drivers/staging/media/imx/imx-camif.c | 1010 + 2 files changed, 1011 insertions(+), 1 deletion(-) create mode 100644 drivers/staging/media/imx/imx

[PATCH v2 00/19] i.MX Media Driver

2017-01-03 Thread Steve Longerbeam
, mipi_csi, and their connections media: imx: Add video switch subdev driver Steve Longerbeam (17): ARM: dts: imx6qdl: Add compatible, clocks, irqs to MIPI CSI-2 node ARM: dts: imx6qdl: add media device ARM: dts: imx6-sabrelite: add OV5642 and OV5640 camera sensors ARM: dts: imx6-sabr

[PATCH v2 02/19] ARM: dts: imx6qdl: Add mipi_ipu1/2 multiplexers, mipi_csi, and their connections

2017-01-03 Thread Steve Longerbeam
of specifying with "bit-mask" and "bit-shift" properties. Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6dl.dtsi | 183 + arch/arm/boot/dts/imx6q.dtsi | 119 +++ arch/arm/boot/dts/imx6qdl.dt

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

2017-01-03 Thread Steve Longerbeam
Hi Fabio, On 01/02/2017 01:09 PM, Fabio Estevam wrote: Hi Steve, On Thu, Dec 29, 2016 at 8:27 PM, Steve Longerbeam wrote: This is a media driver for video capture on i.MX. Refer to Documentation/media/v4l-drivers/imx.rst for example capture pipelines on SabreSD, SabreAuto, and SabreLite

Re: [PATCH v2 00/21] Basic i.MX IPUv3 capture support

2017-01-02 Thread Steve Longerbeam
Hi JM, On 01/02/2017 06:59 AM, Jean-Michel Hautbois wrote: Steve: which branch is the correct one on your github ? branch imx-media-staging-md-v4 on g...@github.com:slongerbeam/mediatree.git Steve -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the

Re: [PATCH v2 00/21] Basic i.MX IPUv3 capture support

2017-01-02 Thread Steve Longerbeam
Hi Hans, On 01/02/2017 06:45 AM, Hans Verkuil wrote: On 01/02/17 14:51, Jean-Michel Hautbois wrote: Hi, 2016-12-30 21:26 GMT+01:00 Steve Longerbeam : On 12/30/2016 11:06 AM, Marek Vasut wrote: On 12/29/2016 09:51 PM, Robert Schwebel wrote: Hi Jean-Michel, Hi, On Thu, Dec 29, 2016

Re: [PATCH v2 00/21] Basic i.MX IPUv3 capture support

2016-12-30 Thread Steve Longerbeam
y case, Freescale added these hardware paths, and my driver supports them. I leave it up to the maintainers. Steve -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 10/20] gpio: pca953x: Add optional reset gpio control

2016-12-30 Thread Steve Longerbeam
Hi Linus, Lothar, On 12/30/2016 05:17 AM, Linus Walleij wrote: On Thu, Dec 29, 2016 at 11:27 PM, Steve Longerbeam wrote: Add optional reset-gpios pin control. If present, de-assert the specified reset gpio pin to bring the chip out of reset. Signed-off-by: Steve Longerbeam Cc: Linus

[PATCH 02/20] ARM: dts: imx6qdl: Add mipi_ipu1/2 multiplexers, mipi_csi, and their connections

2016-12-29 Thread Steve Longerbeam
of specifying with "bit-mask" and "bit-shift" properties. Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6dl.dtsi | 183 + arch/arm/boot/dts/imx6q.dtsi | 119 +++ arch/arm/boot/dts/imx6qdl.dt

[PATCH 04/20] ARM: dts: imx6-sabrelite: add OV5642 and OV5640 camera sensors

2016-12-29 Thread Steve Longerbeam
events (see 6261c4c8). So workaround 6261c4c8 is reverted here to support the OV5642, and the "fsl,err006687-workaround-present" boolean also must be removed. The result is that the CPUidle driver will no longer allow entering the deep idle states on the sabrelite. Signed-off-by: Steve

[PATCH 01/20] ARM: dts: imx6qdl: Add compatible, clocks, irqs to MIPI CSI-2 node

2016-12-29 Thread Steve Longerbeam
Add to the MIPI CSI2 receiver node: compatible string, interrupt sources, 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 53e6e63..7b546e3

[PATCH 13/20] media: imx: Add SMFC subdev driver

2016-12-29 Thread Steve Longerbeam
+ priv->sd.dev = &pdev->dev; + priv->sd.owner = THIS_MODULE; + priv->sd.flags = V4L2_SUBDEV_FL_HAS_DEVNODE | V4L2_SUBDEV_FL_HAS_EVENTS; + /* get our group id and SMFC id */ + priv->sd.grp_id = pdata->grp_id; + priv->smfc_id = (pdata->grp_id >

[PATCH 10/20] gpio: pca953x: Add optional reset gpio control

2016-12-29 Thread Steve Longerbeam
Add optional reset-gpios pin control. If present, de-assert the specified reset gpio pin to bring the chip out of reset. Signed-off-by: Steve Longerbeam Cc: Linus Walleij Cc: Alexandre Courbot Cc: linux-g...@vger.kernel.org Cc: linux-ker...@vger.kernel.org --- v2: - documented optional reset

[PATCH 07/20] ARM: dts: imx6-sabreauto: add reset-gpios property for max7310_b

2016-12-29 Thread Steve Longerbeam
max7310_b, that chip is needed by more functions (usb and adv7180). Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi ind

[PATCH 05/20] ARM: dts: imx6-sabresd: add OV5642 and OV5640 camera sensors

2016-12-29 Thread Steve Longerbeam
sensor module compatible with the SabreSD becomes available for testing, the ov5642 node is currently disabled. Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6dl-sabresd.dts | 5 ++ arch/arm/boot/dts/imx6q-sabresd.dts| 5 ++ arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 114

[PATCH 03/20] ARM: dts: imx6qdl: add media device

2016-12-29 Thread Steve Longerbeam
Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6q.dtsi | 4 arch/arm/boot/dts/imx6qdl.dtsi | 8 2 files changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index 56a314f..2fbe0b3 100644 --- a/arch/arm/boot/dts/imx6q.dtsi

[PATCH 06/20] ARM: dts: imx6-sabreauto: create i2cmux for i2c3

2016-12-29 Thread Steve Longerbeam
X7310) are thus moved into i2cmux. Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 65 +--- 1 file changed, 44 insertions(+), 21 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto

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

2016-12-29 Thread Steve Longerbeam
This is a media entity subdevice for the i.MX Camera Serial Interface module. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/Kconfig | 13 + drivers/staging/media/imx/Makefile | 2 + drivers/staging/media/imx/imx-csi.c | 638 3 files

[PATCH 08/20] ARM: dts: imx6-sabreauto: add pinctrl for gpt input capture

2016-12-29 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

[PATCH 14/20] media: imx: Add IC subdev drivers

2016-12-29 Thread Steve Longerbeam
+}; +MODULE_DEVICE_TABLE(platform, imx_ic_ids); + +static struct platform_driver imx_ic_driver = { + .probe = imx_ic_probe, + .remove = imx_ic_remove, + .id_table = imx_ic_ids, + .driver = { + .name = "imx-ipuv3-ic", + .owner = THIS_MOD

[PATCH 20/20] ARM: imx_v6_v7_defconfig: Enable staging video4linux drivers

2016-12-29 Thread Steve Longerbeam
Enable imx v4l2 staging drivers. For video capture on the SabreAuto, the ADV7180 video decoder also requires the i2c-mux-gpio and the max7310 port expander. The Sabrelite requires PWM clocks for the OV5640. Signed-off-by: Steve Longerbeam --- arch/arm/configs/imx_v6_v7_defconfig | 10

[PATCH 17/20] media: imx: Add video switch subdev driver

2016-12-29 Thread Steve Longerbeam
From: Philipp Zabel This driver can handle SoC internal and extern video bus multiplexers, controlled either by register bit fields or by GPIO. Signed-off-by: Sascha Hauer Signed-off-by: Philipp Zabel Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/Makefile | 1

[PATCH 15/20] media: imx: Add Camera Interface subdev driver

2016-12-29 Thread Steve Longerbeam
the IC post-process task. Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/Makefile|2 +- drivers/staging/media/imx/imx-camif.c | 1011 + 2 files changed, 1012 insertions(+), 1 deletion(-) create mode 100644 drivers/staging/media/imx/imx

[PATCH 18/20] media: imx: Add MIPI CSI-2 OV5640 sensor subdev driver

2016-12-29 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 --- drivers/staging/media/imx/Kconfig |8 + drivers/staging/media/imx/Makefile |2

[PATCH 16/20] media: imx: Add MIPI CSI-2 Receiver subdev driver

2016-12-29 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/imx-mipi-csi2.c | 509 ++ 2 files changed, 510

[PATCH 09/20] ARM: dts: imx6-sabreauto: add the ADV7180 video decoder

2016-12-29 Thread Steve Longerbeam
ADV7180 power pin is via max7310_b port expander. Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 56 1 file changed, 56 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi

[PATCH 11/20] media: Add i.MX media core driver

2016-12-29 Thread Steve Longerbeam
Add the core media driver for i.MX SOC. Signed-off-by: Steve Longerbeam --- Documentation/devicetree/bindings/media/imx.txt | 205 + Documentation/media/v4l-drivers/imx.rst | 429 ++ drivers/staging/media/Kconfig | 2 + drivers/staging/media

[PATCH 00/20] i.MX Media Driver

2016-12-29 Thread Steve Longerbeam
enumerated in the patch header. Philipp Zabel (2): ARM: dts: imx6qdl: Add mipi_ipu1/2 multiplexers, mipi_csi, and their connections media: imx: Add video switch subdev driver Steve Longerbeam (18): ARM: dts: imx6qdl: Add compatible, clocks, irqs to MIPI CSI-2 node ARM: dts: imx6qdl

Re: [PATCH v4 7/8] v4l: Add signal lock status to source change events

2016-11-14 Thread Steve Longerbeam
On 11/14/2016 11:19 AM, Steve Longerbeam wrote: On 11/14/2016 03:36 AM, Hans Verkuil wrote: On 08/03/2016 08:03 PM, Steve Longerbeam wrote: Add a signal lock status change to the source changes bitmask. This indicates there was a signal lock or unlock event detected at the input of a video

Re: [PATCH v4 7/8] v4l: Add signal lock status to source change events

2016-11-14 Thread Steve Longerbeam
On 11/14/2016 03:36 AM, Hans Verkuil wrote: On 08/03/2016 08:03 PM, Steve Longerbeam wrote: Add a signal lock status change to the source changes bitmask. This indicates there was a signal lock or unlock event detected at the input of a video decoder. Signed-off-by: Steve Longerbeam Cc

Re: [PATCH v4 3/8] media: adv7180: add support for NEWAVMODE

2016-11-14 Thread Steve Longerbeam
On 11/14/2016 03:28 AM, Hans Verkuil wrote: On 08/03/2016 08:03 PM, Steve Longerbeam wrote: Parse the optional v4l2 endpoint DT node. If the bus type is V4L2_MBUS_BT656 and the endpoint node specifies "newavmode", configure the BT.656 bus in NEWAVMODE. Signed-off-by: Steve

Re: [PATCH v4 3/8] media: adv7180: add support for NEWAVMODE

2016-10-17 Thread Steve Longerbeam
On 10/16/2016 05:18 AM, Laurent Pinchart wrote: Hi Steve, Thank you for the patch. On Wednesday 03 Aug 2016 11:03:45 Steve Longerbeam wrote: Parse the optional v4l2 endpoint DT node. If the bus type is V4L2_MBUS_BT656 and the endpoint node specifies "newavmode", configure the BT.

RE: Linux support for current StarTech analog video capture device (SAA711xx)

2016-08-19 Thread Steve Preston
make progress. We have two models of the StarTech in use: SVID2USB2 and SVID2USB23. The "23" version is the only version currently listed on StarTech's website. It is available via Amazon in the USA but I'm not sure about other countries. Thanks again, Steve -- To unsubscribe

Linux support for current StarTech analog video capture device (SAA711xx)

2016-08-16 Thread Steve Preston
linux who might be willing to provide other ideas?   Thanks in advance for any help you can provide, Steve -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH v4 1/8] media: adv7180: fix field type

2016-08-03 Thread Steve Longerbeam
From: Steve Longerbeam The ADV7180 and ADV7182 transmit whole fields, bottom field followed by top (or vice-versa, depending on detected video standard). So for chips that do not have support for explicitly setting the field mode via I2P, set the field mode to V4L2_FIELD_ALTERNATE. Signed-off

[PATCH v4 8/8] media: adv7180: enable lock/unlock interrupts

2016-08-03 Thread Steve Longerbeam
Enable the SD lock/unlock interrupts and send V4L2_EVENT_SRC_CH_LOCK_STATUS in the interrupt handler on a detected lock/unlock. Signed-off-by: Steve Longerbeam --- v4: no changes v3: no changes v2: - last version of this patch was based on the old reverted autodetect code. This version now

[PATCH v4 0/8] adv7180 subdev fixes, v4

2016-08-03 Thread Steve Longerbeam
Steve Longerbeam (8): media: adv7180: fix field type media: adv7180: define more registers media: adv7180: add support for NEWAVMODE media: adv7180: add power pin control media: adv7180: implement g_parm media: adv7180: change mbus format to UYVY v4l: Add signal lock status to source

[PATCH v4 2/8] media: adv7180: define more registers

2016-08-03 Thread Steve Longerbeam
Replace hard-coded addresses with new register macro defines. No functional changes. Signed-off-by: Steve Longerbeam Acked-by: Lars-Peter Clausen --- v4: no changes v3: no changes --- drivers/media/i2c/adv7180.c | 73 ++--- 1 file changed, 49 insertions

[PATCH v4 3/8] media: adv7180: add support for NEWAVMODE

2016-08-03 Thread Steve Longerbeam
Parse the optional v4l2 endpoint DT node. If the bus type is V4L2_MBUS_BT656 and the endpoint node specifies "newavmode", configure the BT.656 bus in NEWAVMODE. Signed-off-by: Steve Longerbeam --- v4: no changes v3: - the newavmode endpoint property is now private

[PATCH v4 6/8] media: adv7180: change mbus format to UYVY

2016-08-03 Thread Steve Longerbeam
Change the media bus format from YUYV8_2X8 to UYVY8_2X8. Colors now look correct when capturing with the i.mx6 backend. Signed-off-by: Steve Longerbeam Tested-by: Tim Harvey Acked-by: Tim Harvey Acked-by: Lars-Peter Clausen Acked-by: Niklas Söderlund --- v4: no changes v3: no changes v2: no

[PATCH v4 4/8] media: adv7180: add power pin control

2016-08-03 Thread Steve Longerbeam
Some targets control the ADV7180 power pin via a gpio, so add optional support for "powerdown" pin control. Signed-off-by: Steve Longerbeam Tested-by: Tim Harvey Acked-by: Tim Harvey Acked-by: Lars-Peter Clausen --- v4: no changes v3: no changes v2: - placed call to gpiod_get

[PATCH v4 5/8] media: adv7180: implement g_parm

2016-08-03 Thread Steve Longerbeam
Implement g_parm to return the current standard's frame period. Signed-off-by: Steve Longerbeam Tested-by: Tim Harvey Acked-by: Tim Harvey --- v4: no changes v3: no changes v2: no changes --- drivers/media/i2c/adv7180.c | 22 ++ 1 file changed, 22 insertions(+)

[PATCH v4 7/8] v4l: Add signal lock status to source change events

2016-08-03 Thread Steve Longerbeam
Add a signal lock status change to the source changes bitmask. This indicates there was a signal lock or unlock event detected at the input of a video decoder. Signed-off-by: Steve Longerbeam Cc: Mauro Carvalho Chehab --- v4: - converted to rst from DocBook v3: no changes v2: no changes

Re: [PATCHv2 7/7] [PATCHv5] media: adv7180: fix field type

2016-08-03 Thread Steve Longerbeam
282 or adv7282_m which is the models which have the ADV7180_FLAG_I2P > flag. So I can't really test such a change. > > Steven do you want to update this patch and resend it? Hi Niklas, I can update this patch, but it sounds like the whole thing is "up in the air" at thi

Re: [PATCHv2 7/7] [PATCHv5] media: adv7180: fix field type

2016-08-03 Thread Steve Longerbeam
On 08/03/2016 09:58 AM, Lars-Peter Clausen wrote: > On 08/03/2016 06:55 PM, Steve Longerbeam wrote: >> On 08/03/2016 06:21 AM, Niklas Söderlund wrote: >>> On 2016-08-02 17:00:07 +0200, Lars-Peter Clausen wrote: >>>> [...] >>>>> diff --git a/drivers/medi

Re: [PATCH 0947/1285] Replace numeric parameter like 0444 with macro

2016-08-02 Thread Steve Cotton
It may also be worth waiting for the first group to be reviewed before sending the other groups, in case the review comments change what you send later. > > -module_param(sg_mode, bool, 0644); > > +module_param(sg_mode, bool, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); There's an S_I

Re: [PATCH 6/6] media: adv7180: fix field type

2016-07-29 Thread Steve Longerbeam
On 07/29/2016 12:10 PM, Sergei Shtylyov wrote: On 07/29/2016 08:40 PM, Niklas Söderlund wrote: From: Steve Longerbeam The ADV7180 and ADV7182 transmit whole fields, bottom field followed by top (or vice-versa, depending on detected video standard). So for chips that do not have support for

Re: [PATCH v3 3/9] media: adv7180: add support for NEWAVMODE

2016-07-25 Thread Steve Longerbeam
On 07/25/2016 03:24 PM, Ian Arkver wrote: > On 25/07/16 23:04, Steve Longerbeam wrote: >> >> >> On 07/25/2016 12:36 PM, Ian Arkver wrote: >>> On 25/07/16 18:55, Steve Longerbeam wrote: >>>> On 07/25/2016 05:04 AM, Ian Arkver wrote: >&

Re: [PATCH v3 3/9] media: adv7180: add support for NEWAVMODE

2016-07-25 Thread Steve Longerbeam
On 07/25/2016 12:36 PM, Ian Arkver wrote: On 25/07/16 18:55, Steve Longerbeam wrote: On 07/25/2016 05:04 AM, Ian Arkver wrote: On 23/07/16 18:00, Steve Longerbeam wrote: +#define ADV7180_VSYNC_FIELD_CTL_1_NEWAVMODE 0x02 See below re this value. Hi Ian, I double-checked the ADV7180

Re: [PATCH v3 3/9] media: adv7180: add support for NEWAVMODE

2016-07-25 Thread Steve Longerbeam
On 07/25/2016 05:04 AM, Ian Arkver wrote: > On 23/07/16 18:00, Steve Longerbeam wrote: >> Parse the optional v4l2 endpoint DT node. If the bus type is >> V4L2_MBUS_BT656 and the endpoint node specifies "newavmode", >> configure the BT.656 bus in NEWAVMODE. >&g

[PATCH v3 5/9] media: adv7180: implement g_parm

2016-07-23 Thread Steve Longerbeam
Implement g_parm to return the current standard's frame period. Signed-off-by: Steve Longerbeam Tested-by: Tim Harvey Acked-by: Tim Harvey --- v3: no changes v2: no changes --- drivers/media/i2c/adv7180.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/dr

[PATCH v3 3/9] media: adv7180: add support for NEWAVMODE

2016-07-23 Thread Steve Longerbeam
Parse the optional v4l2 endpoint DT node. If the bus type is V4L2_MBUS_BT656 and the endpoint node specifies "newavmode", configure the BT.656 bus in NEWAVMODE. Signed-off-by: Steve Longerbeam --- v3: - the newavmode endpoint property is now private to adv7180. --- .../devicetre

[PATCH v3 4/9] media: adv7180: add power pin control

2016-07-23 Thread Steve Longerbeam
Some targets control the ADV7180 power pin via a gpio, so add optional support for "powerdown" pin control. Signed-off-by: Steve Longerbeam Tested-by: Tim Harvey Acked-by: Tim Harvey Acked-by: Lars-Peter Clausen --- v3: no changes v2: - placed call to gpiod_get inline in adv

[PATCH v3 1/9] media: adv7180: Fix broken interrupt register access

2016-07-23 Thread Steve Longerbeam
Access to the interrupt page registers has been broken since at least commit 3999e5d01da7 ("[media] adv7180: Do implicit register paging"). That commit forgot to add the interrupt page number to the register defines. Signed-off-by: Steve Longerbeam Tested-by: Tim Harvey Acked-by:

[PATCH v3 6/9] media: adv7180: change mbus format to UYVY

2016-07-23 Thread Steve Longerbeam
Change the media bus format from YUYV8_2X8 to UYVY8_2X8. Colors now look correct when capturing with the i.mx6 backend. Signed-off-by: Steve Longerbeam Tested-by: Tim Harvey Acked-by: Tim Harvey Acked-by: Lars-Peter Clausen Acked-by: Niklas Söderlund --- v3: no changes v2: no changes

[PATCH v3 9/9] media: adv7180: fix field type

2016-07-23 Thread Steve Longerbeam
info on field order of PAL vs NTSC, so follow what is in adv7183.c). Signed-off-by: Steve Longerbeam --- v3: no changes v2: - the init of state->curr_norm in probe needs to be moved up, ahead of the init of state->field. --- drivers/media/i2c/adv7180.c | 20

[PATCH v3 7/9] v4l: Add signal lock status to source change events

2016-07-23 Thread Steve Longerbeam
Add a signal lock status change to the source changes bitmask. This indicates there was a signal lock or unlock event detected at the input of a video decoder. Signed-off-by: Steve Longerbeam Cc: Mauro Carvalho Chehab --- v3: no changes v2: no changes --- Documentation/DocBook/media/v4l

[PATCH v3 8/9] media: adv7180: enable lock/unlock interrupts

2016-07-23 Thread Steve Longerbeam
Enable the SD lock/unlock interrupts and send V4L2_EVENT_SRC_CH_LOCK_STATUS in the interrupt handler on a detected lock/unlock. Signed-off-by: Steve Longerbeam --- v3: no changes v2: - last version of this patch was based on the old reverted autodetect code. This version now only enables

[PATCH v3 2/9] media: adv7180: define more registers

2016-07-23 Thread Steve Longerbeam
Replace hard-coded addresses with new register macro defines. No functional changes. Signed-off-by: Steve Longerbeam Acked-by: Lars-Peter Clausen v3: no changes --- drivers/media/i2c/adv7180.c | 73 ++--- 1 file changed, 49 insertions(+), 24 deletions

[PATCH v3 0/9] adv7180 subdev fixes, v3

2016-07-23 Thread Steve Longerbeam
Steve Longerbeam (9): media: adv7180: Fix broken interrupt register access media: adv7180: define more registers media: adv7180: add support for NEWAVMODE media: adv7180: add power pin control media: adv7180: implement g_parm media: adv7180: change mbus format to UYVY v4l: Add signal

Re: [PATCH v2 01/10] v4l: of: add "newavmode" property for Analog Devices codecs

2016-07-20 Thread Steve Longerbeam
On 07/20/2016 12:37 AM, Hans Verkuil wrote: > On 07/20/2016 02:03 AM, Steve Longerbeam wrote: >> This patch adds a "newavmode" boolean property as part of the v4l2 endpoint >> properties. This indicates an Analog Devices decoder is generating EAV/SAV >> codes

[PATCH v2 06/10] media: adv7180: implement g_parm

2016-07-19 Thread Steve Longerbeam
Implement g_parm to return the current standard's frame period. Signed-off-by: Steve Longerbeam Tested-by: Tim Harvey Acked-by: Tim Harvey --- drivers/media/i2c/adv7180.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/media/i2c/adv7180.c b/drivers/

[PATCH v2 02/10] media: adv7180: Fix broken interrupt register access

2016-07-19 Thread Steve Longerbeam
Access to the interrupt page registers has been broken since at least commit 3999e5d01da7 ("[media] adv7180: Do implicit register paging"). That commit forgot to add the interrupt page number to the register defines. Signed-off-by: Steve Longerbeam Tested-by: Tim Harvey Acked-by:

[PATCH v2 05/10] media: adv7180: add power pin control

2016-07-19 Thread Steve Longerbeam
Some targets control the ADV7180 power pin via a gpio, so add optional support for "powerdown" pin control. Signed-off-by: Steve Longerbeam Tested-by: Tim Harvey Acked-by: Tim Harvey Cc: Lars-Peter Clausen --- v2: - placed call to gpiod_get inline in adv7180_probe(). - rename g

[PATCH v2 08/10] v4l: Add signal lock status to source change events

2016-07-19 Thread Steve Longerbeam
Add a signal lock status change to the source changes bitmask. This indicates there was a signal lock or unlock event detected at the input of a video decoder. Signed-off-by: Steve Longerbeam Cc: Mauro Carvalho Chehab --- Documentation/DocBook/media/v4l/vidioc-dqevent.xml | 12

[PATCH v2 07/10] media: adv7180: change mbus format to UYVY

2016-07-19 Thread Steve Longerbeam
Change the media bus format from YUYV8_2X8 to UYVY8_2X8. Colors now look correct when capturing with the i.mx6 backend. Signed-off-by: Steve Longerbeam Tested-by: Tim Harvey Acked-by: Tim Harvey Acked-by: Lars-Peter Clausen Acked-by: Niklas Söderlund --- drivers/media/i2c/adv7180.c | 4

[PATCH v2 03/10] media: adv7180: define more registers

2016-07-19 Thread Steve Longerbeam
Replace hard-coded addresses with new register macro defines. No functional changes. Signed-off-by: Steve Longerbeam --- drivers/media/i2c/adv7180.c | 73 ++--- 1 file changed, 49 insertions(+), 24 deletions(-) diff --git a/drivers/media/i2c/adv7180.c b

[PATCH v2 04/10] media: adv7180: add support for NEWAVMODE

2016-07-19 Thread Steve Longerbeam
Parse the optional v4l2 endpoint DT node. If the V4L2_MBUS_NEWAVMODE parallel bus flag is set, configure the BT.656 bus in NEWAVMODE. Signed-off-by: Steve Longerbeam --- drivers/media/i2c/adv7180.c | 47 ++--- 1 file changed, 44 insertions(+), 3 deletions

[PATCH v2 09/10] media: adv7180: enable lock/unlock interrupts

2016-07-19 Thread Steve Longerbeam
Enable the SD lock/unlock interrupts and send V4L2_EVENT_SRC_CH_LOCK_STATUS in the interrupt handler on a detected lock/unlock. Signed-off-by: Steve Longerbeam --- v2: - last version of this patch was based on the old reverted autodetect code. This version now only enables the interrupt and

[PATCH v2 10/10] media: adv7180: fix field type

2016-07-19 Thread Steve Longerbeam
info on field order of PAL vs NTSC, so follow what is in adv7183.c). Signed-off-by: Steve Longerbeam --- v2: - the init of state->curr_norm in probe needs to be moved up, ahead of the init of state->field. --- drivers/media/i2c/adv7180.c | 20 1 file changed, 16 inse

[PATCH v2 01/10] v4l: of: add "newavmode" property for Analog Devices codecs

2016-07-19 Thread Steve Longerbeam
This patch adds a "newavmode" boolean property as part of the v4l2 endpoint properties. This indicates an Analog Devices decoder is generating EAV/SAV codes to suit Analog Devices encoders. Signed-off-by: Steve Longerbeam Cc: Mauro Carvalho Chehab Cc: Javier Martinez Canillas C

[PATCH v2 00/10] adv7180 subdev fixes, v2

2016-07-19 Thread Steve Longerbeam
is used in conjunction. The backend needs to be aware of NEWAVMODE so that it can make adjustments to the AV code detection. That's the biggest addition in this version, besides the requested feedback changes from last version. Steve Longerbeam (10): v4l: of: add "newavmode" property

Re: [PATCH 14/28] gpu: ipu-ic: Add complete image conversion support with tiling

2016-07-13 Thread Steve Longerbeam
> > We also don't do image conversions inside the Kernel. Same applies > to other similar codes on this patch. Again, I don't follow you. Of course the kernel can do image conversion! Again this is all hardware based image conversion, using the i.MX6 IPU Image Converter unit.

Re: [PATCH 06/11] media: adv7180: add bt.656-4 OF property

2016-07-12 Thread Steve Longerbeam
Hi Ian, On 07/12/2016 03:25 AM, Ian Arkver wrote: > This conversation has drifted off topic, sorry. > It now relates to code in drivers/gpu/ipu-v3/ipu-csi.c, so adding Philipp > Zabel. > > On 11/07/16 23:03, Steve Longerbeam wrote: >> On 07/11/2016 12:06 AM, Ian Arkver wr

<    5   6   7   8   9   10   11   12   13   >