[PATCH v5 3/6] media: dt-bindings: Add bindings for TDA1997X

2017-12-16 Thread Tim Harvey
Cc: Rob Herring Acked-by: Sakari Ailus Signed-off-by: Tim Harvey --- v5: - added Sakari's ack v4: - move include/dt-bindings/media/tda1997x.h to bindings patch - clarify port node details v3: - fix typo v2: - add vendor prefix and remove _ from vidout-portcfg - remove _ from l

[PATCH v5 4/6] media: i2c: Add TDA1997x HDMI receiver driver

2017-12-16 Thread Tim Harvey
Add support for the TDA1997x HDMI receivers. Cc: Hans Verkuil Signed-off-by: Tim Harvey --- v5: - uppercase string constants - use v4l2_hdmi_rx_coloriemtry to fill format - fix V4L2_CID_DV_RX_RGB_RANGE - fix interlaced mode format v4: - move include/dt-bindings/media/tda1997x.h to

[PATCH v5 5/6] ARM: dts: imx: Add TDA19971 HDMI Receiver to GW54xx

2017-12-16 Thread Tim Harvey
The GW54xx has a front-panel microHDMI connector routed to a TDA19971 which is connected the the IPU CSI when using IMX6Q. Signed-off-by: Tim Harvey --- v5: - remove leading 0 from unit address - add newline between property list and child node v4: no changes v3: no changes v2: - add HDMI

[PATCH v5 6/6] ARM: dts: imx: Add TDA19971 HDMI Receiver to GW551x

2017-12-16 Thread Tim Harvey
Signed-off-by: Tim Harvey --- v5: - add missing audmux config --- arch/arm/boot/dts/imx6qdl-gw551x.dtsi | 138 ++ 1 file changed, 138 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-gw551x.dtsi b/arch/arm/boot/dts/imx6qdl-gw551x.dtsi index 30d4662..749548a

[PATCH v5 2/6] MAINTAINERS: add entry for NXP TDA1997x driver

2017-12-16 Thread Tim Harvey
Signed-off-by: Tim Harvey --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index aa71ab52f..502bc97 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13244,6 +13244,14 @@ T: git git://linuxtv.org/mkrufky/tuners.git S: Maintained F

[PATCH v5 1/6] v4l2-dv-timings: add v4l2_hdmi_colorimetry()

2017-12-16 Thread Tim Harvey
From: Hans Verkuil Add the v4l2_hdmi_colorimetry() function so we have a single function that determines the colorspace, YCbCr encoding, quantization range and transfer function from the InfoFrame data. Signed-off-by: Hans Verkuil Signed-off-by: Tim Harvey --- drivers/media/v4l2-core/v4l2-dv

[PATCH v5 0/6] TDA1997x HDMI video receiver

2017-12-16 Thread Tim Harvey
test VIDIOC_G_FMT: OK test VIDIOC_TRY_FMT: OK test VIDIOC_S_FMT: OK test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported) test Cropping: OK (Not Supported) test Composing: OK (Not Supported) test

Re: [alsa-devel] [PATCH 3/5] media: i2c: Add TDA1997x HDMI receiver driver

2017-12-18 Thread Tim Harvey
On Sat, Dec 16, 2017 at 11:32 AM, Fabio Estevam wrote: > Hi Tim, > > On Thu, Nov 9, 2017 at 4:45 PM, Tim Harvey wrote: > >> +static int tda1997x_set_power(struct tda1997x_state *state, bool on) >> +{ >> + int ret = 0; >> + >> + if (on) { >

Re: [PATCH v5 4/6] media: i2c: Add TDA1997x HDMI receiver driver

2017-12-19 Thread Tim Harvey
On Tue, Dec 19, 2017 at 3:12 AM, Hans Verkuil wrote: > On 16/12/17 19:00, Tim Harvey wrote: >> + >> +static int tda1997x_fill_format(struct tda1997x_state *state, >> + struct v4l2_mbus_framefmt *format) >> +{ >> + const struct v4l

[PATCH v6 3/6] media: dt-bindings: Add bindings for TDA1997X

2017-12-28 Thread Tim Harvey
Acked-by: Rob Herring Acked-by: Sakari Ailus Signed-off-by: Tim Harvey --- v6: - replace copyright with SPDX tag (Philippe) - added Rob's ack (Rob) v5: - added Sakari's ack v4: - move include/dt-bindings/media/tda1997x.h to bindings patch - clarify port node details v3: - fi

[PATCH v6 5/6] ARM: dts: imx: Add TDA19971 HDMI Receiver to GW54xx

2017-12-28 Thread Tim Harvey
The GW54xx has a front-panel microHDMI connector routed to a TDA19971 which is connected the the IPU CSI when using IMX6Q. Cc: Shawn Guo Signed-off-by: Tim Harvey --- v6: no changes v5: - remove leading 0 from unit address (Shawn) - add newline between property list and child node (Shawn) v4

[PATCH v6 6/6] ARM: dts: imx: Add TDA19971 HDMI Receiver to GW551x

2017-12-28 Thread Tim Harvey
Cc: Shawn Guo Signed-off-by: Tim Harvey --- v6: no changes v5: - add missing audmux config --- arch/arm/boot/dts/imx6qdl-gw551x.dtsi | 138 ++ 1 file changed, 138 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-gw551x.dtsi b/arch/arm/boot/dts/imx6qdl

[PATCH v6 2/6] MAINTAINERS: add entry for NXP TDA1997x driver

2017-12-28 Thread Tim Harvey
Signed-off-by: Tim Harvey --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index aa71ab52f..502bc97 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13244,6 +13244,14 @@ T: git git://linuxtv.org/mkrufky/tuners.git S: Maintained F

[PATCH v6 4/6] media: i2c: Add TDA1997x HDMI receiver driver

2017-12-28 Thread Tim Harvey
Add support for the TDA1997x HDMI receivers. Cc: Hans Verkuil Signed-off-by: Tim Harvey --- v6: - fix return on regulator enablei in tda1997x_set_power() (Fabio) - replace copyright with SPDX tag (Philippe) - fix colorspace handling (Hans) v5: - uppercase string constants - use

[PATCH v6 0/6] TDA1997x HDMI video receiver

2017-12-28 Thread Tim Harvey
test VIDIOC_TRY_FMT: OK test VIDIOC_S_FMT: OK test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported) test Cropping: OK (Not Supported) test Composing: OK (Not Supported) test Scaling: OK (Not Supported) Codec

[PATCH v6 1/6] v4l2-dv-timings: add v4l2_hdmi_colorimetry()

2017-12-28 Thread Tim Harvey
From: Hans Verkuil Add the v4l2_hdmi_colorimetry() function so we have a single function that determines the colorspace, YCbCr encoding, quantization range and transfer function from the InfoFrame data. Signed-off-by: Hans Verkuil Signed-off-by: Tim Harvey --- drivers/media/v4l2-core/v4l2-dv

IMX6 interlaced capture

2017-12-28 Thread Tim Harvey
Steve/Hans, I'm trying to get interlaced capture working with the TDA1997x driver I've been working on which is connected to an IMX6 CSI. The particular board I'm currently testing on is an IMX6Q which has both a TDA19971 HDMI receiver as well as an ADV7180 analog video decoder. The media-ctl top

Re: IMX6 interlaced capture

2018-01-04 Thread Tim Harvey
On Tue, Jan 2, 2018 at 6:00 PM, Steve Longerbeam wrote: > Hi Tim, > > Happy New Year! And pardon the delay. > > > On 12/28/2017 01:56 PM, Tim Harvey wrote: >> >> Steve/Hans, >> >> I'm trying to get interlaced capture working with the TDA1997x drive

Re: IMX6 interlaced capture

2018-01-04 Thread Tim Harvey
On Thu, Jan 4, 2018 at 10:51 AM, Steve Longerbeam wrote: > > > On 01/04/2018 09:57 AM, Tim Harvey wrote: >> >> On Tue, Jan 2, 2018 at 6:00 PM, Steve Longerbeam >> wrote: >>> >>> Hi Tim, >>> >>> Happy New Year! And pardon

Re: [PATCH v6 4/6] media: i2c: Add TDA1997x HDMI receiver driver

2018-01-25 Thread Tim Harvey
On Mon, Jan 15, 2018 at 4:56 AM, Hans Verkuil wrote: > On 12/28/2017 09:09 PM, Tim Harvey wrote: >> Add support for the TDA1997x HDMI receivers. >> > > This looks good. > > But there is one corner case that isn't handled in this driver: what if there > is no AV

[PATCH v7 6/6] ARM: dts: imx: Add TDA19971 HDMI Receiver to GW551x

2018-01-30 Thread Tim Harvey
Signed-off-by: Tim Harvey --- v5: - add missing audmux config --- arch/arm/boot/dts/imx6qdl-gw551x.dtsi | 138 ++ 1 file changed, 138 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-gw551x.dtsi b/arch/arm/boot/dts/imx6qdl-gw551x.dtsi index 30d4662..749548a

[PATCH v7 5/6] ARM: dts: imx: Add TDA19971 HDMI Receiver to GW54xx

2018-01-30 Thread Tim Harvey
The GW54xx has a front-panel microHDMI connector routed to a TDA19971 which is connected the the IPU CSI when using IMX6Q. Signed-off-by: Tim Harvey --- v5: - remove leading 0 from unit address - add newline between property list and child node v4: no changes v3: no changes v2: - add HDMI

[PATCH v7 4/6] media: i2c: Add TDA1997x HDMI receiver driver

2018-01-30 Thread Tim Harvey
Add support for the TDA1997x HDMI receivers. Cc: Hans Verkuil Signed-off-by: Tim Harvey --- v7: - fix interlaced mode - support no AVI infoframe (ie DVI) (Hans) - add support for multiple output formats (Hans) v6: - fix return on regulator enablei in tda1997x_set_power() - replace

[PATCH v7 3/6] media: dt-bindings: Add bindings for TDA1997X

2018-01-30 Thread Tim Harvey
Acked-by: Rob Herring Acked-by: Sakari Ailus Signed-off-by: Tim Harvey --- v6: - replace copyright with SPDX tag - added Rob's ack v5: - added Sakari's ack v4: - move include/dt-bindings/media/tda1997x.h to bindings patch - clarify port node details v3: - fix typo v2: -

[PATCH v7 2/6] MAINTAINERS: add entry for NXP TDA1997x driver

2018-01-30 Thread Tim Harvey
Signed-off-by: Tim Harvey --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index aa71ab52f..502bc97 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13244,6 +13244,14 @@ T: git git://linuxtv.org/mkrufky/tuners.git S: Maintained F

[PATCH v7 0/6] TDA1997x HDMI video receiver

2018-01-30 Thread Tim Harvey
VIDIOC_G/S_PARM: OK test VIDIOC_G_FBUF: OK (Not Supported) test VIDIOC_G_FMT: OK test VIDIOC_TRY_FMT: OK test VIDIOC_S_FMT: OK test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported) test Cropping: OK (Not Su

[PATCH v7 1/6] v4l2-dv-timings: add v4l2_hdmi_colorimetry()

2018-01-30 Thread Tim Harvey
From: Hans Verkuil Add the v4l2_hdmi_colorimetry() function so we have a single function that determines the colorspace, YCbCr encoding, quantization range and transfer function from the InfoFrame data. Signed-off-by: Hans Verkuil Signed-off-by: Tim Harvey --- drivers/media/v4l2-core/v4l2-dv

Re: [PATCH v6 4/6] media: i2c: Add TDA1997x HDMI receiver driver

2018-01-30 Thread Tim Harvey
On Mon, Jan 29, 2018 at 4:00 AM, Hans Verkuil wrote: > On 01/25/2018 05:15 PM, Tim Harvey wrote: >>> >>> Hmm. This receiver supports multiple output formats, but you advertise only >>> one. >>> That looks wrong. If nothing else, you should be able to sw

Re: [PATCH v6 4/6] media: i2c: Add TDA1997x HDMI receiver driver

2018-01-31 Thread Tim Harvey
Tim Harvey - Principal Software Engineer Gateworks Corporation - http://www.gateworks.com/ 3026 S. Higuera St. San Luis Obispo CA 93401 805-781-2000 On Wed, Jan 31, 2018 at 5:22 AM, Hans Verkuil wrote: > On 01/31/18 08:38, Hans Verkuil wrote: >> On 01/31/2018 05:51 AM, Tim Harvey wrot

Re: Please help test the new v4l-subdev support in v4l2-compliance

2018-02-05 Thread Tim Harvey
On Sat, Feb 3, 2018 at 7:56 AM, Hans Verkuil wrote: > Hi Tim, Jacopo, > > I have now finished writing the v4l2-compliance tests for the various > v4l-subdev > ioctls. I managed to test some with the vimc driver, but that doesn't > implement all > ioctls, so I could use some help testing my test

Re: Please help test the new v4l-subdev support in v4l2-compliance

2018-02-05 Thread Tim Harvey
On Mon, Feb 5, 2018 at 8:27 AM, Hans Verkuil wrote: > On 02/05/2018 05:21 PM, Tim Harvey wrote: > > > >> >> I ran a 'make distclean; ./bootstrap.sh && ./configure && make' >> >> last version I built successfully was '1bb

Re: Please help test the new v4l-subdev support in v4l2-compliance

2018-02-05 Thread Tim Harvey
On Sat, Feb 3, 2018 at 7:56 AM, Hans Verkuil wrote: > Hi Tim, Jacopo, > > I have now finished writing the v4l2-compliance tests for the various > v4l-subdev > ioctls. I managed to test some with the vimc driver, but that doesn't > implement all > ioctls, so I could use some help testing my test

Re: Please help test the new v4l-subdev support in v4l2-compliance

2018-02-06 Thread Tim Harvey
On Mon, Feb 5, 2018 at 11:34 PM, Hans Verkuil wrote: > On 02/06/2018 08:16 AM, Tim Harvey wrote: >> On Sat, Feb 3, 2018 at 7:56 AM, Hans Verkuil wrote: >> >> With regards to the 3 failures: >> >> 1. test VIDIOC_G/S_EDID: FAIL >> This is a valid catch

Re: Please help test the new v4l-subdev support in v4l2-compliance

2018-02-06 Thread Tim Harvey
On Tue, Feb 6, 2018 at 11:05 AM, Hans Verkuil wrote: > On 02/06/2018 07:48 PM, Tim Harvey wrote: >> On Mon, Feb 5, 2018 at 11:34 PM, Hans Verkuil wrote: >>> On 02/06/2018 08:16 AM, Tim Harvey wrote: >>>> On Sat, Feb 3, 2018 at 7:56 AM, Hans Verkuil wrote: >&

[PATCH v8 6/7] ARM: dts: imx: Add TDA19971 HDMI Receiver to GW54xx

2018-02-06 Thread Tim Harvey
The GW54xx has a front-panel microHDMI connector routed to a TDA19971 which is connected the the IPU CSI when using IMX6Q. Signed-off-by: Tim Harvey --- v5: - remove leading 0 from unit address - add newline between property list and child node v4: no changes v3: no changes v2: - add HDMI

[PATCH v8 5/7] media: i2c: Add TDA1997x HDMI receiver driver

2018-02-06 Thread Tim Harvey
Add support for the TDA1997x HDMI receivers. Cc: Hans Verkuil Signed-off-by: Tim Harvey --- v8: - fix available formats for tda19971 bt656 bus width >12 - support full range of input modes based on timings_cap - fix set_format (compliance) - fixed get/set edid (compliance) - add init_

[PATCH v8 7/7] ARM: dts: imx: Add TDA19971 HDMI Receiver to GW551x

2018-02-06 Thread Tim Harvey
Signed-off-by: Tim Harvey --- v5: - add missing audmux config --- arch/arm/boot/dts/imx6qdl-gw551x.dtsi | 138 ++ 1 file changed, 138 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-gw551x.dtsi b/arch/arm/boot/dts/imx6qdl-gw551x.dtsi index 30d4662

[PATCH v8 3/7] MAINTAINERS: add entry for NXP TDA1997x driver

2018-02-06 Thread Tim Harvey
Signed-off-by: Tim Harvey --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 845fc25..439b500 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13262,6 +13262,14 @@ T: git git://linuxtv.org/mkrufky/tuners.git S: Maintained F

[PATCH v8 4/7] media: dt-bindings: Add bindings for TDA1997X

2018-02-06 Thread Tim Harvey
Acked-by: Rob Herring Acked-by: Sakari Ailus Signed-off-by: Tim Harvey --- v6: - replace copyright with SPDX tag - added Rob's ack v5: - added Sakari's ack v4: - move include/dt-bindings/media/tda1997x.h to bindings patch - clarify port node details v3: - fix typo v2: -

[PATCH v8 2/7] media: v4l-ioctl: fix pad for VIDIOC_DV_TIMIGNS_CAP

2018-02-06 Thread Tim Harvey
Signed-off-by: Tim Harvey --- drivers/media/v4l2-core/v4l2-ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c index 7961499..5f3670d 100644 --- a/drivers/media/v4l2-core/v4l2-ioctl.c +++ b

[PATCH v8 1/7] v4l2-dv-timings: add v4l2_hdmi_colorimetry()

2018-02-06 Thread Tim Harvey
From: Hans Verkuil Add the v4l2_hdmi_colorimetry() function so we have a single function that determines the colorspace, YCbCr encoding, quantization range and transfer function from the InfoFrame data. Signed-off-by: Hans Verkuil Signed-off-by: Tim Harvey --- drivers/media/v4l2-core/v4l2-dv

[PATCH v8 0/7] TDA1997x HDMI video reciver

2018-02-06 Thread Tim Harvey
VIDIOC_G_FBUF: OK (Not Supported) test VIDIOC_G_FMT: OK (Not Supported) test VIDIOC_TRY_FMT: OK (Not Supported) test VIDIOC_S_FMT: OK (Not Supported) test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported) test Cropping: OK (Not Supported) test Composing: OK (No

Re: [PATCH v8 5/7] media: i2c: Add TDA1997x HDMI receiver driver

2018-02-06 Thread Tim Harvey
On Tue, Feb 6, 2018 at 12:38 PM, Hans Verkuil wrote: > On 02/06/2018 09:27 PM, Tim Harvey wrote: >> Add support for the TDA1997x HDMI receivers. >> >> Cc: Hans Verkuil >> Signed-off-by: Tim Harvey >> --- > > > >> +static int td

Re: [PATCH v8 0/7] TDA1997x HDMI video reciver

2018-02-06 Thread Tim Harvey
On Tue, Feb 6, 2018 at 1:21 PM, Hans Verkuil wrote: > On 02/06/2018 09:27 PM, Tim Harvey wrote: > > > >> v4l2-compliance test results: >> - with the following kernel patches: >>v4l2-subdev: clear reserved fields >> . v4l2-subdev: without controls retu

Re: i.MX6 IPU CSI analog video input on Ventana

2018-10-17 Thread Tim Harvey
On Mon, Jun 4, 2018 at 1:58 AM Krzysztof Hałasa wrote: > > I've just tested the PAL setup: in currect situation (v4.17 + Steve's > fix-csi-interlaced.2 + "media: adv7180: fix field type" + a small cheap > PAL camera) the following produces bottom-first interlaced frames: > > media-ctl -r -l '"adv7

Re: i.MX6 IPU CSI analog video input on Ventana

2018-10-17 Thread Tim Harvey
On Wed, Oct 17, 2018 at 2:33 PM Steve Longerbeam wrote: > > Hi Tim, > > On 10/17/18 1:38 PM, Tim Harvey wrote: > > On Mon, Jun 4, 2018 at 1:58 AM Krzysztof Hałasa wrote: > > I've just tested the PAL setup: in currect situation (v4.17 + Steve's > fix-csi-inte

Re: i.MX6 IPU CSI analog video input on Ventana

2018-10-18 Thread Tim Harvey
On Wed, Oct 17, 2018 at 4:37 PM Steve Longerbeam wrote: > > > On 10/17/18 4:05 PM, Tim Harvey wrote: > > On Wed, Oct 17, 2018 at 2:33 PM Steve Longerbeam > > wrote: > >> Hi Tim, > >> > >> On 10/17/18 1:38 PM, Tim Harvey wrote: > >> &g

Re: [PATCH v3 01/16] media: imx: add mem2mem device

2018-10-18 Thread Tim Harvey
On Tue, Sep 18, 2018 at 2:34 AM Philipp Zabel wrote: > > Add a single imx-media mem2mem video device that uses the IPU IC PP > (image converter post processing) task for scaling and colorspace > conversion. > On i.MX6Q/DL SoCs with two IPUs currently only the first IPU is used. > > The hardware on

Re: [PATCH v3 01/16] media: imx: add mem2mem device

2018-10-19 Thread Tim Harvey
On Fri, Oct 19, 2018 at 1:19 PM Steve Longerbeam wrote: > > > On 10/19/18 2:53 AM, Philipp Zabel wrote: > > Hi Tim, > > > > On Thu, 2018-10-18 at 15:53 -0700, Tim Harvey wrote: > > [...] > >> Philipp, > >> > >> Thanks for submitting

[PATCH] media: adv7180: add g_skip_frames support

2018-10-24 Thread Tim Harvey
The adv7180 produces 1 to 2 frames of garbage before proper sync is established. This allows V4L2 drivers and apps to skip those. Signed-off-by: Tim Harvey --- drivers/media/i2c/adv7180.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/media/i2c/adv7180.c b/drivers

Re: [PATCH] media: imx-csi: Input connections to CSI should be optional

2019-01-15 Thread Tim Harvey
ure regression on the Gateworks Ventana boards as well. This should go to stable to fix 4.20 so please add a 'Cc: sta...@vger.kernel.org' if you re-submit (else we can send it to sta...@vger.kernel.org later). Acked-by: Tim Harvey Tim

Re: [PATCH v8 11/11] media: imx.rst: Update doc to reflect fixes to interlaced capture

2019-01-15 Thread Tim Harvey
On Wed, Jan 9, 2019 at 10:30 AM Steve Longerbeam wrote: > > Also add an example pipeline for unconverted capture with interweave > on SabreAuto. > > Cleanup some language in various places in the process. > > Signed-off-by: Steve Longerbeam > Reviewed-by: Philipp Zabel > --- > Changes since v4:

Re: [PATCH v8 11/11] media: imx.rst: Update doc to reflect fixes to interlaced capture

2019-01-21 Thread Tim Harvey
On Tue, Jan 15, 2019 at 3:54 PM Steve Longerbeam wrote: > > Hi Tim, > > On 1/15/19 1:58 PM, Tim Harvey wrote: > > On Wed, Jan 9, 2019 at 10:30 AM Steve Longerbeam > > wrote: > >> Also add an example pipeline for unconverted capture with interweave > >

CODA9 (IMX) JPEG support

2019-01-21 Thread Tim Harvey
Philipp, Is there any support for coda9 (imx) JPEG enc/dec support being worked on in the coda driver? I noticed there is support for coda7 but not yet coda9. Best regards, Tim

Re: [PATCH v8 11/11] media: imx.rst: Update doc to reflect fixes to interlaced capture

2019-01-22 Thread Tim Harvey
On Mon, Jan 21, 2019 at 12:24 PM Tim Harvey wrote: > > On Tue, Jan 15, 2019 at 3:54 PM Steve Longerbeam > wrote: > > > > Hi Tim, > > > > On 1/15/19 1:58 PM, Tim Harvey wrote: > > > On Wed, Jan 9, 2019 at 10:30 AM Steve Longerbeam > >

Re: [PATCH v8 11/11] media: imx.rst: Update doc to reflect fixes to interlaced capture

2019-01-23 Thread Tim Harvey
On Tue, Jan 22, 2019 at 4:10 PM Steve Longerbeam wrote: > > > > On 1/21/19 12:24 PM, Tim Harvey wrote: > > On Tue, Jan 15, 2019 at 3:54 PM Steve Longerbeam > > wrote: > >> Hi Tim, > >> > >> On 1/15/19 1:58 PM, Tim Harvey wrote: >

IMX CSI capture issues with tda1997x HDMI receiver

2019-01-23 Thread Tim Harvey
Steve, I'm testing IMX6 capture again with the tda1997x HDMI receiver found on Gateworks GW54xx and GW551x boards. This is hooked up to the IMX6 CSI in a way where it can be configured for 8bit BT656 mode (UYVY8_2X8) or 16bit YUV mode (UYVY8_1X16). Also I have a Marshall Electronics V-SG4K-HDI HDM

Re: IMX CSI capture issues with tda1997x HDMI receiver

2019-01-28 Thread Tim Harvey
On Fri, Jan 25, 2019 at 3:57 PM Steve Longerbeam wrote: > > Hi Tim, cc: Philipp, > > On 1/23/19 3:21 PM, Tim Harvey wrote: > > Steve, > > > > I'm testing IMX6 capture again with the tda1997x HDMI receiver found > > on Gateworks GW54xx and GW551x boards. T

Re: IMX CSI capture issues with tda1997x HDMI receiver

2019-01-28 Thread Tim Harvey
On Sun, Jan 27, 2019 at 2:36 PM Steve Longerbeam wrote: > > Hi Tim, > > On 1/25/19 3:57 PM, Steve Longerbeam wrote: > > >> Now lets go back to a 480p60 source but this time include the vdic > >> (which isn't necessary but should still work right?) > > > > No. First, the CSI will only capture in b

Re: IMX CSI capture issues with tda1997x HDMI receiver

2019-01-30 Thread Tim Harvey
On Mon, Jan 28, 2019 at 3:04 PM Steve Longerbeam wrote: > > > > On 1/28/19 11:03 AM, Tim Harvey wrote: > > On Fri, Jan 25, 2019 at 3:57 PM Steve Longerbeam > > wrote: > >> Hi Tim, cc: Philipp, > >> > >> On 1/23/19 3:21 PM, Tim Harvey wrote

Re: i.MX6 IPU CSI analog video input on Ventana

2018-05-18 Thread Tim Harvey
On Fri, May 18, 2018 at 10:28 AM, Krzysztof Hałasa wrote: > Steve Longerbeam writes: > >> Yes, the CSI on i.MX6 does not deal well with unstable bt.656 sync codes, >> which results in vertical sync issues (scrolling or split images). The >> ADV7180 >> will often shift the sync codes around in var

Re: i.MX6 IPU CSI analog video input on Ventana

2018-05-21 Thread Tim Harvey
On Mon, May 21, 2018 at 1:09 AM, Krzysztof Hałasa wrote: > Tested with NTSC camera, it's the same as with PAL. > The only case when IPU2_CSI1_SENS_CONF register is set to interlaced > mode (PRCTL=3, CCIR interlaced mode (BT.656)) is when all parts of the > pipeline are set to interlaced: > > "adv7

[PATCH] media: tda1997: fix get-edid

2019-02-05 Thread Tim Harvey
Signed-off-by: Tim Harvey --- drivers/media/i2c/tda1997x.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/media/i2c/tda1997x.c b/drivers/media/i2c/tda1997x.c index c4c2a6134e1e..73451e9bbc41 100644 --- a/drivers/media/i2c/tda1997x.c +++ b/drivers/media/i2c/tda1997x.c @@ -1884,6

Re: IMX CSI capture issues with tda1997x HDMI receiver

2019-02-05 Thread Tim Harvey
On Sat, Feb 2, 2019 at 11:10 AM Steve Longerbeam wrote: > > > > > > > But when going through the IC we again run into the issue where the > > output of the IC isn't a suitable colorspace: > > # 720p@60Hz YUV BT656 > > # set sensor output pad to sensor source format > > v4l2-ctl -d /dev/v4l-subdev

Re: IMX CSI capture issues with tda1997x HDMI receiver

2019-02-06 Thread Tim Harvey
On Tue, Feb 5, 2019 at 3:54 PM Steve Longerbeam wrote: > > > > On 2/5/19 11:16 AM, Tim Harvey wrote: > > On Sat, Feb 2, 2019 at 11:10 AM Steve Longerbeam > > wrote: > > > > > >> The *real* way to fix this would be to allow programmable enco

Re: IMX CSI capture issues with tda1997x HDMI receiver

2019-02-07 Thread Tim Harvey
On Wed, Feb 6, 2019 at 8:31 AM Tim Harvey wrote: > > On Tue, Feb 5, 2019 at 3:54 PM Steve Longerbeam wrote: > > > > > > > > On 2/5/19 11:16 AM, Tim Harvey wrote: > > > On Sat, Feb 2, 2019 at 11:10 AM Steve Longerbeam > > > wrote: > > > &

Re: [PATCH 2/3] gpu: ipu-v3: ipu-ic: Add support for BT.709 encoding

2019-02-08 Thread Tim Harvey
On Sun, Feb 3, 2019 at 11:48 AM Steve Longerbeam wrote: > > Pass v4l2 encoding enum to the ipu_ic task init functions, and add > support for the BT.709 encoding and inverse encoding matrices. > > Reported-by: Tim Harvey > Signed-off-by: Steve Longerbeam > --- > dri

Re: IMX CSI capture issues with tda1997x HDMI receiver

2019-02-08 Thread Tim Harvey
On Thu, Feb 7, 2019 at 5:54 PM Steve Longerbeam wrote: > > > >> > > Ok there is definitely something wrong when using the IC with > > UYVY8_1X16 (passthrough) which works with UYVY8_2X8. It looks to me > > like the ipu1_ic_prp isn't negotiating its format properly. You can't > > re-create this be

Re: [PATCH v3 3/4] gpu: ipu-v3: ipu-ic: Add support for BT.709 encoding

2019-02-08 Thread Tim Harvey
On Fri, Feb 8, 2019 at 11:28 AM Steve Longerbeam wrote: > > Pass v4l2 encoding enum to the ipu_ic task init functions, and add > support for the BT.709 encoding and inverse encoding matrices. > > Reported-by: Tim Harvey > Signed-off-by: Steve Longerbeam > --- > Change

Re: IMX CSI capture issues with tda1997x HDMI receiver

2019-02-11 Thread Tim Harvey
On Fri, Feb 8, 2019 at 3:22 PM Steve Longerbeam wrote: > > > > On 2/8/19 1:23 PM, Tim Harvey wrote: > > On Thu, Feb 7, 2019 at 5:54 PM Steve Longerbeam > > wrote: > >> > > > >>> Ok there is definitely something wrong when using the IC w

Re: [PATCH v7] media: imx: add mem2mem device

2019-02-12 Thread Tim Harvey
On Thu, Jan 17, 2019 at 7:50 AM Philipp Zabel wrote: > > Add a single imx-media mem2mem video device that uses the IPU IC PP > (image converter post processing) task for scaling and colorspace > conversion. > On i.MX6Q/DL SoCs with two IPUs currently only the first IPU is used. > > The hardware on

Re: [PATCH v7] media: imx: add mem2mem device

2019-02-15 Thread Tim Harvey
On Fri, Feb 15, 2019 at 3:10 AM Philipp Zabel wrote: > > Hi Tim, > > On Tue, 2019-02-12 at 11:01 -0800, Tim Harvey wrote: > > On Thu, Jan 17, 2019 at 7:50 AM Philipp Zabel > > wrote: > > > > > > Add a single imx-media mem2mem video device that uses

Re: [PATCH v7] media: imx: add mem2mem device

2019-02-15 Thread Tim Harvey
On Fri, Feb 15, 2019 at 8:24 AM Nicolas Dufresne wrote: > > Le vendredi 15 février 2019 à 12:10 +0100, Philipp Zabel a écrit : > > > I'm also not sure how to specify hflip/vflip... I don't think > > > extra-controls parses 'hflip', 'vflip' as ipu_csc_scaler_s_ctrl gets > > > called with V4L2_CID_H

v4l2 mem2mem compose support?

2019-02-15 Thread Tim Harvey
Greetings, What is needed to be able to take advantage of hardware video composing capabilities and make them available in something like GStreamer? Philipp's mem2mem driver [1] exposes the IMX IC and GStreamer's v4l2convert element uses this nicely for hardware accelerated scaling/csc/flip/rotat

Re: v4l2 mem2mem compose support?

2019-02-22 Thread Tim Harvey
2/16/19 10:42 AM, Hans Verkuil wrote: > > >>> On 2/16/19 1:16 AM, Tim Harvey wrote: > > >>>> Greetings, > > >>>> > > >>>> What is needed to be able to take advantage of hardware video > > >>>> composing capabilit

Re: [PATCH v3][RESEND] media: i2c: tda1997: replace codec to component

2018-04-23 Thread Tim Harvey
On Sun, Apr 22, 2018 at 7:10 PM, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > Now we can replace Codec to Component. Let's do it. > > Note: > xxx_codec_xxx() -> xxx_component_xxx() > .idle_bias_off = 0 -> .idle_bias_on = 1 > .ignore_pmdow

Re: [PATCH v3][RESEND] media: i2c: tda1997: replace codec to component

2018-04-23 Thread Tim Harvey
On Mon, Apr 23, 2018 at 9:52 AM, Mark Brown wrote: > On Mon, Apr 23, 2018 at 09:44:17AM -0700, Tim Harvey wrote: > >> Could you add some detail to the commit explaining why we need to >> replace codec to component? I don't really know what that means. >> Please refe

coda9 jpeg support?

2019-09-13 Thread Tim Harvey
Greetings, What would need to be done to support JPEG enc/dec for coda9? Best Regards, Tim

Re: coda9 jpeg support?

2019-09-17 Thread Tim Harvey
On Tue, Sep 17, 2019 at 7:33 AM Philipp Zabel wrote: > > Hi Tim, > > On Fri, 2019-09-13 at 09:00 -0700, Tim Harvey wrote: > > Greetings, > > > > What would need to be done to support JPEG enc/dec for coda9? > > here is a WIP that still needs some

PureThermal2 UVC video camera: Failed to submit URB 0 (-28)

2019-09-26 Thread Tim Harvey
Greetings, I'm running into an issue with a USB UVC Full speed camera, the PureThermal2 [1] on an IMX6 based ARM board. What I find is that I get two video devices registered (the first one is the expected device, and I'm not clear what the 2nd one is). When I try to capture a single frame I get

Re: PureThermal2 UVC video camera: Failed to submit URB 0 (-28)

2019-10-01 Thread Tim Harvey
On Thu, Sep 26, 2019 at 3:47 PM Tim Harvey wrote: > > Greetings, > > I'm running into an issue with a USB UVC Full speed camera, the > PureThermal2 [1] on an IMX6 based ARM board. > > What I find is that I get two video devices registered (the first one > is the expec

Re: PureThermal2 UVC video camera: Failed to submit URB 0 (-28)

2019-10-02 Thread Tim Harvey
On Tue, Oct 1, 2019 at 12:19 PM Alan Stern wrote: > > On Tue, 1 Oct 2019, Tim Harvey wrote: > > > On Thu, Sep 26, 2019 at 3:47 PM Tim Harvey wrote: > > > > > > Greetings, > > > > > > I'm running into an issue with a USB UVC Full speed camer

Re: PureThermal2 UVC video camera: Failed to submit URB 0 (-28)

2019-10-02 Thread Tim Harvey
On Wed, Oct 2, 2019 at 10:58 AM Alan Stern wrote: > > On Wed, 2 Oct 2019, Tim Harvey wrote: > > > On Tue, Oct 1, 2019 at 12:19 PM Alan Stern > > wrote: > > > > > > On Tue, 1 Oct 2019, Tim Harvey wrote: > > > > > > >

Re: ADV7180 Capture with i.MX53

2019-10-08 Thread Tim Harvey
On Tue, Oct 8, 2019 at 4:21 AM Fabio Estevam wrote: > > On Mon, Oct 7, 2019 at 10:07 PM Fabio Estevam wrote: > > > So now I need to see if I can get Gstreamer to accept a pipeline like: > > > > gst-lauch-1.0 v4l2src ! kmssink > > Ok, so now I decided use the hardware video deinterlacer: > > media

Re: ADV7180 Capture with i.MX53

2019-10-08 Thread Tim Harvey
On Tue, Oct 8, 2019 at 1:34 PM Fabio Estevam wrote: > > Hi Tim, > > On Tue, Oct 8, 2019 at 1:55 PM Tim Harvey wrote: > > > I still carry around a patch from Steve for imx-csi that drops first > > few frames from BT656 sources: > > https://githu

Re: ADV7180 Capture with i.MX53

2019-10-09 Thread Tim Harvey
On Tue, Oct 8, 2019 at 4:48 PM Fabio Estevam wrote: > > Hi Tim, > > On Tue, Oct 8, 2019 at 6:01 PM Tim Harvey wrote: > > > Ok that's strange indeed. I did recently test 5.3 on a Gateworks IMX6 > > board with ADV7180 and the one patch to drop the first few fram

Re: [PATCH] media: imx.rst: Update the imx6-sabreauto ADV7180 instructions

2019-10-15 Thread Tim Harvey
On Sat, Oct 12, 2019 at 2:19 PM Fabio Estevam wrote: > > Hi Steve, > > On Sat, Oct 12, 2019 at 5:24 PM Steve Longerbeam > wrote: > > > Ah, now I remember. You are using the imx6dl sabreauto, it's IPU-CSI > > Yes, correct. I am using the imx6dl-sabreauto. > > > video muxes have five input pads fo

Re: [PATCH] media: imx.rst: Update the imx6-sabreauto ADV7180 instructions

2019-10-15 Thread Tim Harvey
On Tue, Oct 15, 2019 at 8:53 AM Fabio Estevam wrote: > > Hi Tim, > > On Tue, Oct 15, 2019 at 12:49 PM Tim Harvey wrote: > > > Fabio, > > > > I assume your seeing the same rolling video issue on capture unless > > you discard the first few 'corrupt

Re: [PATCH] media: imx.rst: Update the imx6-sabreauto ADV7180 instructions

2019-10-15 Thread Tim Harvey
On Tue, Oct 15, 2019 at 9:16 AM Fabio Estevam wrote: > > Hi Tim, > > On Tue, Oct 15, 2019 at 1:07 PM Tim Harvey wrote: > > > > Right, I understand there is something else going on with the i.MX53 > > but what about the i.MX6 testing related to these patches? >

Re: i.mx6 camera interface (CSI) and mainline kernel

2016-03-07 Thread Tim Harvey
v features > the imx6 interface driver requires). > > There is a drivers/media/i2c/soc_camera/ov5642.c, but there is no mipi-csi2 > capable subdev for the ov5640 with the mipi-csi2 interface, so that would have > to be created. > Steve, I've built your mx6-media-staging branc

Re: i.mx6 camera interface (CSI) and mainline kernel

2016-03-09 Thread Tim Harvey
On Tue, Mar 8, 2016 at 6:06 PM, Steve Longerbeam wrote: > On 03/07/2016 08:19 AM, Tim Harvey wrote: > > > Hi Tim, good to hear it works for you on the Ventana boards. > > I've just pushed some more commits to the mx6-media-staging branch that > get the drivers/media/i2

Re: i.mx6 camera interface (CSI) and mainline kernel

2016-03-15 Thread Tim Harvey
On Wed, Mar 9, 2016 at 4:12 PM, Steve Longerbeam wrote: > On 03/09/2016 02:44 PM, Tim Harvey wrote: >> On Tue, Mar 8, 2016 at 6:06 PM, Steve Longerbeam >> wrote: >>> On 03/07/2016 08:19 AM, Tim Harvey wrote: >> >>> >>> Hi Tim, good to hear it w

Re: [PATCH 3/7] tw686x: Add support for DMA contiguous interlaced frame mode

2016-04-18 Thread Tim Harvey
char *name; > -- > 2.7.0 > > -- > 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 Ezequiel, Thanks for adding this support, and thanks to Krzysztof for the orignal driver and efforts as well! I am able to use this on an IMX6 board with a MiniPCIe Advanced Micro avc8000 card with the TW6869. With this hardware configuration I can't use the TW686X_DMA_MODE_MEMCPY as the IMX6 has a limited 16MB iATU for PCI RX buffers and I can't get enough choherent_pool memory to support the buffers needed and TW686X_DMA_MODE_CONTIG solves this issue. Tested-by: Tim Harvey -- 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 4/7] tw686x: Add support for DMA scatter-gather mode

2016-04-18 Thread Tim Harvey
}; > > +struct tw686x_sg_desc { > + /* 3 MSBits for flags, 13 LSBits for length */ > + __le32 flags_length; > + __le32 phys; > +}; > + > struct tw686x_audio_buf { > dma_addr_t dma; > void *virt; > @@ -80,6 +87,7 @@ struct tw

Re: [PATCH v8 14/34] ARM: dts: imx6-sabreauto: add the ADV7180 video decoder

2017-06-08 Thread Tim Harvey
Q_TYPE_LEVEL_LOW instead of 0x8 for interrupt type for clarity. > - For 8-bit parallel IPU1-CSI0 bus connection only data[12-19] are used. > > Signed-off-by: Tim Harvey > --- > arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 50 > > 1 file change

how to link up audio bus from media controller driver to soc dai bus?

2017-06-12 Thread Tim Harvey
Greetings, I'm working on a media controller driver for the tda1997x HDMI receiver which provides an audio bus supporting I2S/SPDIF/OBA/HBR/DST. I'm unclear how to bind the audio bus to a SoC's audio bus, for example the IMX6 SSI (I2S) bus. I thought perhaps it was via a simple-audio-card device-t

Re: [PATCH v8 0/7] TDA1997x HDMI video reciver

2018-02-07 Thread Tim Harvey
On Wed, Feb 7, 2018 at 1:09 AM, Hans Verkuil wrote: > On 02/07/18 09:22, Hans Verkuil wrote: >> On 02/07/2018 12:29 AM, Tim Harvey wrote: >>> Media Controller ioctls: >>> fail: v4l2-test-media.cpp(141): ent.function == >>> MEDIA_ENT_F_V

[PATCH v9 4/8] MAINTAINERS: add entry for NXP TDA1997x driver

2018-02-07 Thread Tim Harvey
Signed-off-by: Tim Harvey --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 845fc25..439b500 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13262,6 +13262,14 @@ T: git git://linuxtv.org/mkrufky/tuners.git S: Maintained F

[PATCH v9 7/8] ARM: dts: imx: Add TDA19971 HDMI Receiver to GW54xx

2018-02-07 Thread Tim Harvey
The GW54xx has a front-panel microHDMI connector routed to a TDA19971 which is connected the the IPU CSI when using IMX6Q. Signed-off-by: Tim Harvey --- v5: - remove leading 0 from unit address - add newline between property list and child node v4: no changes v3: no changes v2: - add HDMI

[PATCH v9 8/8] ARM: dts: imx: Add TDA19971 HDMI Receiver to GW551x

2018-02-07 Thread Tim Harvey
Signed-off-by: Tim Harvey --- v5: - add missing audmux config arch/arm/boot/dts/imx6qdl-gw551x.dtsi | 138 ++ 1 file changed, 138 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-gw551x.dtsi b/arch/arm/boot/dts/imx6qdl-gw551x.dtsi index 30d4662..749548a

  1   2   3   >