Re: i.MX6: can't capture on MIPI-CSI2 with DS90UB954

2018-11-02 Thread Jean-Michel Hautbois
Hi Steve, Le mer. 31 oct. 2018 à 22:52, Steve Longerbeam a écrit : > > Hi Jean-Michel, > > We've done some work with another FPD-Link de-serializer (ds90ux940) and > IIRC we had some trouble figuring out how to coax the lanes into LP-11 > state. But on the ds90ux940 it can be done by setting bit

i.MX6: can't capture on MIPI-CSI2 with DS90UB954

2018-10-30 Thread Jean-Michel Hautbois
Hi there, I am using the i.MX6D from Digi (connect core 6 sbc) with a mailine kernel (well, 4.14 right now) and have an issue with mipi-csi2 capture. First I will give brief explanation of my setup, and then I will detail the issue. I have a camera sensor (OV2732, but could be any other sensor)

Re: [PATCH v3] [media] adv7604: Add support for hardware reset

2017-03-15 Thread Jean-Michel Hautbois
Hi, 2016-06-22 13:30 GMT+02:00 Dragos Bogdan : > The part can be reset by a low pulse on the RESET pin (i.e. a hardware > reset) with a minimum width of 5 ms. It is recommended to wait 5 ms > after the low pulse before an I2C write is performed to the part. > For safety

Re: [PATCH] [media] coda: implement encoder stop command

2017-03-02 Thread Jean-Michel Hautbois
> + /* If there is no buffer in flight, wake up */ > + if (ctx->qsequence == ctx->osequence) { Not sure about this one, I would have done something like : if (!(ctx->fh.m2m_ctx->job_flags)) { > + dst_vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, > +

Re: [PATCH] [media] coda: implement encoder stop command

2017-03-02 Thread Jean-Michel Hautbois
Hi Philipp, 2017-03-02 10:51 GMT+01:00 Philipp Zabel : > There is no need to call v4l2_m2m_try_schedule to kick off draining the > bitstream buffer for the encoder, but we have to wake up the destination > queue in case there are no new OUTPUT buffers to be encoded and

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

2017-01-11 Thread Jean-Michel Hautbois
Hi Steve and Philipp, 2017-01-11 0:52 GMT+01:00 Steve Longerbeam : > > > On 01/09/2017 04:15 PM, Steve Longerbeam wrote: >> >> Hi Philipp, >> >> >> On 01/09/2017 11:43 AM, Philipp Zabel wrote: >> >> >> >>> >>> One is the amount and organization of subdevices/media

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

2017-01-02 Thread Jean-Michel Hautbois
2017-01-02 15:45 GMT+01:00 Hans Verkuil <hverk...@xs4all.nl>: > On 01/02/17 14:51, Jean-Michel Hautbois wrote: >> >> Hi, >> >> 2016-12-30 21:26 GMT+01:00 Steve Longerbeam <steve_longerb...@mentor.com>: >>> >>> >>> >>> On 12

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

2017-01-02 Thread Jean-Michel Hautbois
Hi, 2016-12-30 21:26 GMT+01:00 Steve Longerbeam <steve_longerb...@mentor.com>: > > > On 12/30/2016 11:06 AM, Marek Vasut wrote: >> >> On 12/29/2016 09:51 PM, Robert Schwebel wrote: >>> >>> Hi Jean-Michel, >> >> Hi, >> >>&

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

2016-12-29 Thread Jean-Michel Hautbois
I am so sorry... This mail wasn't send to the mailing list as this ** gmail switched back to HTML... 2016-12-29 16:08 GMT+01:00 Jean-Michel Hautbois <jean-michel.hautb...@veo-labs.com>: > Hi Philipp and al., > > > 2016-10-19 23:30 GMT+02:00 Sakari Ailus <sakari.ai...@

Re: [RFC] Streaming I/O: proposal to expose MMAP/USERPTR/DMABUF capabilities with QUERYCAP

2016-04-22 Thread Jean-Michel Hautbois
Hi Hans, 2016-04-22 10:08 GMT+02:00 Hans Verkuil : > Hi all, > > I have always been unhappy with the fact that it is so hard to tell whether > the USERPTR and/or DMABUF modes are available with Streaming I/O. QUERYCAP > only tells you if Streaming I/O is available, but not in

Re: [PATCH] Add GS1662 driver (a SPI video serializer)

2016-04-04 Thread Jean-Michel Hautbois
>> Next, you should add a complete description to your commit. Just >> having an object and a signed-off-by line is not enough. > Oh, I'm sorry, I don't have any idea to explicit more details. I will > find something for that. Just get the description from the datasheet as a start ;-). >> You

Re: [PATCH] Add GS1662 driver (a SPI video serializer)

2016-04-01 Thread Jean-Michel Hautbois
Hi Charles-Antoine, Thank you for the patch. FIrst of all, we, on the ML, do prefer reading patches as sent by git send-email tool. It is easier to comment the patch. Next, you should add a complete description to your commit. Just having an object and a signed-off-by line is not enough. You

Re: [RFC] ADV7604: VGA support

2016-01-07 Thread Jean-Michel Hautbois
Hi Hans, 2015-10-12 12:22 GMT+02:00 Hans Verkuil <hverk...@xs4all.nl>: > On 10/04/2015 06:17 PM, Jean-Michel Hautbois wrote: >> Hi, >> >> I had another look into the ADV7604 HW manual, and I understand that >> in automatic mode, there is 4 AIN_SEL values possib

Re: [PATCH 4/4] v4l2-mem2mem: allow reqbufs(0) with "in use" MMAP buffers

2015-11-11 Thread Jean-Michel Hautbois
Hi, 2015-11-02 19:31 GMT+01:00 Nicolas Dufresne : > Le mardi 08 avril 2014 à 12:51 +0200, Marek Szyprowski a écrit : >> Hello, >> >> On 2014-04-07 16:41, Kamil Debski wrote: >> > Pawel, Marek, >> > >> > Before taking this to my tree I wanted to get an ACK from one

Re: Is IIO the appropriate subsystem for a thermal camera sensor?

2015-10-26 Thread Jean-Michel Hautbois
Hi Lucas, 2015-10-26 8:53 GMT+01:00 Daniel Baluta : > Hi Lucas, > > Adding linux-iio and linux-media, I hope you don't mind. > > On 10/23/2015 06:58 PM, Lucas Magasweran wrote: >> >> Hi Daniel, >> >> My colleague, Roberto Cornetti, attended your IIO talk at LinuxCon >>

Re: PCIe capture driver

2015-10-26 Thread Jean-Michel Hautbois
Hi Ran, 2015-10-26 18:04 GMT+01:00 Ran Shalit : > On Mon, Oct 26, 2015 at 1:46 PM, Steven Toth wrote: >>> No, use V4L2. What you do with the frame after it has been captured >>> into memory has no relevance to the API you use to capture into memory. >>

Re: coda: not generating EOS event

2015-10-13 Thread Jean-Michel Hautbois
Hi all, 2015-01-22 15:58 GMT+01:00 Philipp Zabel : > Hi, > > Am Donnerstag, den 11.12.2014, 15:47 +0100 schrieb Hans Verkuil: >> Hi Pawel, >> >> On 12/11/14 15:42, Nicolas Dufresne wrote: >> > Le jeudi 11 décembre 2014 à 11:00 -0200, Fabio Estevam a écrit : >> >> Hi, >> >>

[PATCH] DocBook media: Fix a typo in encoder cmd

2015-10-13 Thread Jean-Michel Hautbois
A copy-paste from DECODER_CMD : replace decoded by encoded. Signed-off-by: Jean-Michel Hautbois <jean-michel.hautb...@veo-labs.com> --- Documentation/DocBook/media/v4l/vidioc-encoder-cmd.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/DocBook/med

[RFC] ADV7604: VGA support

2015-10-04 Thread Jean-Michel Hautbois
Hi, I had another look into the ADV7604 HW manual, and I understand that in automatic mode, there is 4 AIN_SEL values possible, determining the connection on AIN pins. Now, having a look at the current ADV76xx files, I can see that two pads are there : ADV7604_PAD_VGA_RGB and

Coda encoder stop

2015-10-02 Thread Jean-Michel Hautbois
rom 1dd2f797b2b368d44c1a1bd992379c252e1b57e1 Mon Sep 17 00:00:00 2001 From: Jean-Michel Hautbois <jean-michel.hautb...@veo-labs.com> Date: Fri, 2 Oct 2015 11:18:27 +0200 Subject: [PATCH] coda: Add support for [try]encoder_cmd ioctl This allows userspace to ask for the encoder to stop. When la

Re: Dublin: ELCE linux-media dinner

2015-10-02 Thread Jean-Michel Hautbois
t;>Hans Verlkuil: 2-10 october >>Nicolas Dufresne: 2-10 october >>Ricardo Ribalda: 3-10 october You can add me (maybe could we have a file to summarize it) ? Jean-Michel Hautbois: 4-9 october >> >> >>Date: Hans has proposed the dates 4th (sunday) or 6th. The 6th is

Re: [PATCH v3 5/5] [media] imx-ipu: Add i.MX IPUv3 scaler driver

2015-10-02 Thread Jean-Michel Hautbois
2015-10-02 10:37 GMT+02:00 Philipp Zabel <p.za...@pengutronix.de>: > Hi Jean-Michel, > > Am Donnerstag, den 01.10.2015, 09:55 +0200 schrieb Jean-Michel Hautbois: >> Hi Philipp, Hans, >> >> >> 2015-07-24 17:12 GMT+02:00 Hans Verkuil <hverk...@xs4all.nl>:

Re: Coda encoder stop

2015-10-02 Thread Jean-Michel Hautbois
2015-10-02 17:14 GMT+02:00 Philipp Zabel <p.za...@pengutronix.de>: > Am Freitag, den 02.10.2015, 16:59 +0200 schrieb Jean-Michel Hautbois: > [...] >> Oups, forgot to paste the kernel output : >> >> [ 324.390498] [ cut here ] >> [ 3

Re: Coda encoder stop

2015-10-02 Thread Jean-Michel Hautbois
2015-10-02 16:31 GMT+02:00 Jean-Michel Hautbois <jean-michel.hautb...@veo-labs.com>: > Hi Philipp, > > I have tried to implement V4L2_ENC_CMD_STOP command in coda encoder > but can't make it work with gstreamer (I have modified my gst element > to use the correct command, base

Re: [PATCH v3 5/5] [media] imx-ipu: Add i.MX IPUv3 scaler driver

2015-10-01 Thread Jean-Michel Hautbois
Hi Philipp, Hans, 2015-07-24 17:12 GMT+02:00 Hans Verkuil : > Hi Philipp, > > A quick review of this driver: > > On 07/16/2015 06:24 PM, Philipp Zabel wrote: >> From: Sascha Hauer >> >> This patch adds support for hardware accelerated scaling and

Re: [PATCH v2 2/5] gpu: ipu-v3: Add mem2mem image conversion support to IC

2015-05-27 Thread Jean-Michel Hautbois
Hi Philipp, Lucas and Sascha, Thanks for that patch series. 2015-03-18 11:22 GMT+01:00 Philipp Zabel p.za...@pengutronix.de: This patch adds support for mem2mem scaling and colorspace conversion using the IC module's post-processing task. Scaling images larger than 1024x1024 is supported by

Re: Coda : QP rate control encoding

2015-05-12 Thread Jean-Michel Hautbois
Hi ! 2015-05-07 15:53 GMT+02:00 Jean-Michel Hautbois jean-michel.hautb...@veo-labs.com: Hi, I am playing a bit with the coda encoder on i.MX6 and try to get the most quality out of it. So, I am trying to use the controls of the driver, in particular h264_i_frame_qp_value

Coda : QP rate control encoding

2015-05-07 Thread Jean-Michel Hautbois
Hi, I am playing a bit with the coda encoder on i.MX6 and try to get the most quality out of it. So, I am trying to use the controls of the driver, in particular h264_i_frame_qp_value and h264_p_frame_qp_value. I can get something with the following pipeline : gst-launch-1.0 -evvv v4l2src

[PATCH] media: adv7604: Fix masks used for querying timings in ADV7611

2015-04-09 Thread Jean-Michel Hautbois
All masks for timings are different between ADV7604 and ADV7611. Most of the values have 1 precision bit more in the latter. Fix this by adding new fields to the chip_info structure. Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com --- drivers/media/i2c/adv7604.c | 69

Gefen Toolbox HD pattern signal generator serial control

2015-04-07 Thread Jean-Michel Hautbois
Hi ! As we are using this pattern generator for our tests and needed to control it with an automated system, we wrote a little library and a tool to control it : https://github.com/Vodalys/gtbhdsiggen Please, feel free to comment, fork, modify :) ! JM -- To unsubscribe from this list: send the

Re: [media-workshop] [ANN] Media Mini-Summit Draft Agenda for March 26th

2015-03-21 Thread Jean-Michel Hautbois
2015-03-21 13:36 GMT+01:00 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi Hans, On Monday 16 March 2015 12:25:28 Hans Verkuil wrote: This is the draft agenda for the media mini-summit in San Jose on March 26th. Time: 9 AM to 5 PM (approximately) Room: TBC (Mauro, do you know

Re: [PATCH 10/12] [media] coda: fail to start streaming if userspace set invalid formats

2015-02-27 Thread Jean-Michel Hautbois
Hi Philipp, 2015-02-23 16:20 GMT+01:00 Philipp Zabel p.za...@pengutronix.de: Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/media/platform/coda/coda-common.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git

Re: 0001-media-vb2-Fill-vb2_buffer-with-bytesused-from-user.patch

2015-02-25 Thread Jean-Michel Hautbois
Hi Sudip, 2015-02-25 19:23 GMT+01:00 Jeremiah Mahler jmmah...@gmail.com: Sudip, On Wed, Feb 25, 2015 at 03:29:22PM +0800, Sudip JAIN wrote: Dear Maintainer, PFA attached patch that prevents user from being returned garbage bytesused value from vb2 framework. Regards, Sudip Jain

Re: i.MX6 Video combiner

2015-02-25 Thread Jean-Michel Hautbois
Hi Steve, 2015-02-25 18:54 GMT+01:00 Steve Longerbeam slongerb...@gmail.com: On 02/25/2015 09:37 AM, Steve Longerbeam wrote: On 02/25/2015 02:57 AM, Jean-Michel Hautbois wrote: Hi all, I read in the i.MX6 TRM that it can do combining or deinterlacing with VDIC. Has it been tested by anyone

Re: i.MX6 Video combiner

2015-02-25 Thread Jean-Michel Hautbois
2015-02-25 22:44 GMT+01:00 Steve Longerbeam slongerb...@gmail.com: On 02/25/2015 11:40 AM, Jean-Michel Hautbois wrote: Hi Steve, 2015-02-25 18:54 GMT+01:00 Steve Longerbeam slongerb...@gmail.com: On 02/25/2015 09:37 AM, Steve Longerbeam wrote: On 02/25/2015 02:57 AM, Jean-Michel Hautbois

i.MX6 Video combiner

2015-02-25 Thread Jean-Michel Hautbois
Hi all, I read in the i.MX6 TRM that it can do combining or deinterlacing with VDIC. Has it been tested by anyone ? Could it be a driver, which would allow to do some simple compositing of souces ? Thanks, JM -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of

[PATCH] media: i2c: ADV7604: In free run mode, signal is locked

2015-02-06 Thread Jean-Michel Hautbois
The CP_NON_STD_VIDEO bit indicates an input not aligned with DV timings. If there is no input, and chip is in free run mode, consider we are locked. Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com --- drivers/media/i2c/adv7604.c | 14 +++--- 1 file changed, 11

Re: [PATCH] media: i2c: ADV7604: Rename adv7604 prefixes.

2015-02-04 Thread Jean-Michel Hautbois
for functions and defines) to adv76xx whenever they are common. Signed-off-by: Pablo Anton pablo.an...@vodalys-labs.com Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com I'm happy with this, except for three small changes: - I had to rebase Sorry about that, not the media-tree used

[PATCH v2] media: adv7604: CP CSC uses a different register on adv7604 and adv7611

2015-02-04 Thread Jean-Michel Hautbois
The bits are the same, but register is 0xf4 on ADV7611 instead of 0xfc. When reading back the value in log_status, differentiate both. Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com --- v2: Use adv7604_chip_info to get register instead of testing the chip ID drivers/media

[PATCH] media: i2c: ADV7604: Migrate to regmap

2015-02-01 Thread Jean-Michel Hautbois
This is a preliminary patch in order to add support for ALSA. It replaces all current i2c access with regmap. Add the registers which will then be used too, as these are declared at init. Signed-off-by: Pablo Anton pablo.an...@vodalys-labs.com Signed-off-by: Jean-Michel Hautbois jean-michel.hautb

Re: [PATCH 1/8] Add ability to read default input port from DT

2015-01-29 Thread Jean-Michel Hautbois
2015-01-29 17:19 GMT+01:00 William Towle william.to...@codethink.co.uk: From: Ian Molton ian.mol...@codethink.co.uk --- Documentation/devicetree/bindings/media/i2c/adv7604.txt |3 +++ drivers/media/i2c/adv7604.c |8 +++- 2 files changed, 10

Re: [PATCH 4/8] WmT: m-5mols_core style pad handling for adv7604

2015-01-29 Thread Jean-Michel Hautbois
First of all, this subject puzzles me... What means WmT ?? 2015-01-29 17:19 GMT+01:00 William Towle william.to...@codethink.co.uk: --- drivers/media/i2c/adv7604.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) Again, it it passing checkpatch without signed-off-by ? And

[PATCH] media: adv7604: CP CSC uses a different register on adv7604 and adv7611

2015-01-26 Thread Jean-Michel Hautbois
The bits are the same, but register is 0xf4 on ADV7611 instead of 0xfc. When reading back the value in log_status, differentiate both. Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com --- drivers/media/i2c/adv7604.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion

Re: HDMI input on i.MX6 using IPU

2015-01-14 Thread Jean-Michel Hautbois
Hi, 2015-01-08 17:53 GMT+01:00 Jean-Michel Hautbois jean-michel.hautb...@vodalys.com: Hi, I have modified both Steve's and Philipp's code, in order to get something able to get frames from an ADV7611. Right now, I am back to Philipp's base of code, rebased on top of media-tree

Re: [PATCH] adv7604: Add DT parsing support

2015-01-09 Thread Jean-Michel Hautbois
Hi, 2014-10-27 0:30 GMT+01:00 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi Jean-Michel, On Thursday 23 October 2014 07:51:50 Jean-Michel Hautbois wrote: 2014-10-23 1:53 GMT+02:00 Laurent Pinchart: On Wednesday 22 October 2014 17:34:21 Jean-Michel Hautbois wrote: This patch adds

Re: [PATCH v4] media: spi: Add support for LMH0395

2015-01-09 Thread Jean-Michel Hautbois
Hi Laurent, Thanks for the review. 2014-11-03 14:13 GMT+01:00 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi Jean-Michel, Thank you for the patch. On Wednesday 10 September 2014 11:43:54 Jean-Michel Hautbois wrote: This device is a SPI based device from TI. It is a 3 Gbps HD/SD

HDMI input on i.MX6 using IPU

2015-01-08 Thread Jean-Michel Hautbois
Hi, I have modified both Steve's and Philipp's code, in order to get something able to get frames from an ADV7611. Right now, I am back to Philipp's base of code, rebased on top of media-tree, and everything works fine, except the very last link between SFMC and IDMAC (using media controller).

Using CSI1 on i.MX6

2015-01-05 Thread Jean-Michel Hautbois
Hi all, First of all, happy new year :). Next, I am trying to use the second CSI on i.MX6 (still based on media tree and Steve's work, slightly modified ;-)). I am using the following lines in order to configure my adv7604 correctly, and running it in free run mode in order to get something

Re: coda: Unable to use encoder video_bitrate

2014-12-19 Thread Jean-Michel Hautbois
2014-12-19 11:28 GMT+01:00 Philipp Zabel p.za...@pengutronix.de: Hi Jean-Michel, Am Donnerstag, den 18.12.2014, 18:10 +0100 schrieb Jean-Michel Hautbois: Sorry, forgot to put all of you on Cc: for the [media] coda: fix encoder rate control parameter masks patch. The coda driver

Re: [PATCH 1/2] vb2: Add VB2_FILEIO_ALLOW_ZERO_BYTESUSED flag to vb2_fileio_flags

2014-12-19 Thread Jean-Michel Hautbois
Hi Kamil, 2014-12-16 12:36 GMT+01:00 Kamil Debski k.deb...@samsung.com: The vb2: fix bytesused == 0 handling (8a75ffb) patch changed the behavior of __fill_vb2_buffer function, so that if bytesused is 0 it is set to the size of the buffer. However, bytesused set to 0 is used by older codec

Re: [PATCH 1/2] vb2: Add VB2_FILEIO_ALLOW_ZERO_BYTESUSED flag to vb2_fileio_flags

2014-12-19 Thread Jean-Michel Hautbois
2014-12-19 17:03 GMT+01:00 Kamil Debski k.deb...@samsung.com: Hi Jean, From: Jean-Michel Hautbois [mailto:jhautb...@gmail.com] Sent: Friday, December 19, 2014 3:36 PM To: Kamil Debski Cc: Linux Media Mailing List; m.szyprow...@samsung.com; Hans Verkuil; Nicolas Dufresne Subject: Re: [PATCH

Re: coda: Unable to use encoder video_bitrate

2014-12-18 Thread Jean-Michel Hautbois
Hi Philipp, 2014-12-18 17:52 GMT+01:00 Philipp Zabel p.za...@pengutronix.de: Hi Frédéric, Am Donnerstag, den 18.12.2014, 17:44 +0100 schrieb Frédéric Sureau: Hi I am trying to use the coda encoder through Gstreamer on an iMX6-based board. I use the (rebased and slightly modified)

Re: coda: Unable to use encoder video_bitrate

2014-12-18 Thread Jean-Michel Hautbois
2014-12-18 18:09 GMT+01:00 Philipp Zabel p.za...@pengutronix.de: Hi Jean-Michel, Am Donnerstag, den 18.12.2014, 17:55 +0100 schrieb Jean-Michel Hautbois: Hi Philipp, 2014-12-18 17:52 GMT+01:00 Philipp Zabel p.za...@pengutronix.de: Hi Frédéric, Am Donnerstag, den 18.12.2014, 17:44 +0100

Re: i.MX6 CODA960 encoder

2014-12-01 Thread Jean-Michel Hautbois
Hi Philipp, 2014-11-28 16:23 GMT+01:00 Philipp Zabel p.za...@pengutronix.de: Am Donnerstag, den 27.11.2014, 16:10 -0200 schrieb Fabio Estevam: On Thu, Nov 27, 2014 at 3:54 PM, Jean-Michel Hautbois jean-michel.hautb...@vodalys.com wrote: I don't have the same behaviour, but I may have missed

Re: i.MX6 CODA960 encoder

2014-11-27 Thread Jean-Michel Hautbois
Hi Philipp, 2014-11-26 18:31 GMT+01:00 Jean-Michel Hautbois jean-michel.hautb...@vodalys.com: Hi Philipp, Thanks for answering. 2014-11-26 17:55 GMT+01:00 Philipp Zabel p.za...@pengutronix.de: Hi Jean-Michel, Am Mittwoch, den 26.11.2014, 14:33 +0100 schrieb Jean-Michel Hautbois: Hi, We

i.MX6 CODA960 encoder

2014-11-26 Thread Jean-Michel Hautbois
Hi, We are writing a gstreamer plugin to support CODA960 encoder on i.MX6, and it is not working so now trying to use v4l2-ctl for the moment. As I am asking about encoder, is there a way to make it support YUYV as input or is the firmware not able to do it ? I could not find a reference manual

Re: i.MX6 CODA960 encoder

2014-11-26 Thread Jean-Michel Hautbois
Hi Philipp, Thanks for answering. 2014-11-26 17:55 GMT+01:00 Philipp Zabel p.za...@pengutronix.de: Hi Jean-Michel, Am Mittwoch, den 26.11.2014, 14:33 +0100 schrieb Jean-Michel Hautbois: Hi, We are writing a gstreamer plugin to support CODA960 encoder on i.MX6, and it is not working so now

Re: Connecting ADV76xx to CSI via SFMC

2014-11-25 Thread Jean-Michel Hautbois
Hi Philipp, Thanks for answering. 2014-11-25 9:16 GMT+01:00 Philipp Zabel p.za...@pengutronix.de: Hi Jean-Michel, Am Montag, den 24.11.2014, 16:19 +0100 schrieb Jean-Michel Hautbois: Hi, I am working on using the CSI bus of i.MX6 with a adv7611 chip. I started to work with Steve

Connecting ADV76xx to CSI via SFMC

2014-11-24 Thread Jean-Michel Hautbois
Hi, I am working on using the CSI bus of i.MX6 with a adv7611 chip. I started to work with Steve Longerbeam's tree, and here is the current tree I am using : https://github.com/Vodalys/linux-2.6-imx/tree/mx6-camera-staging-v2-vbx This is a WiP tree, and not intended to be complete right now. But

Re: [PATCH 0/3] adv: fix G/S_EDID behavior

2014-11-07 Thread Jean-Michel Hautbois
2014-11-07 13:34 GMT+01:00 Hans Verkuil hverk...@xs4all.nl: This patch series fixes the adv7604, adv7842 and adv7511 G/S_EDID behavior. All three have been tested with v4l2-compliance and pass. Jean-Michel, I based the adv7604 patch on your patch, but I reworked it a bit. I hope you don't

Re: [PATCH 3/3] adv7604: Correct G/S_EDID behaviour

2014-11-07 Thread Jean-Michel Hautbois
Jean-Michel Hautbois jean-michel.hautb...@vodalys.com, but reworked it a bit. It should use edid.present instead of edid.blocks as the check whether edid data is present. I may have missed it, but you did not implement it using edid.present in the code below... ? Signed-off-by: Hans Verkuil

[PATCH] media: adv7604: Correct G/S_EDID behaviour

2014-10-31 Thread Jean-Michel Hautbois
In order to have v4l2-compliance tool pass the G/S_EDID some modifications where needed in the driver. In particular, the edid.reserved zone must be blanked. Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com --- drivers/media/i2c/adv7604.c | 24 1 file

Re: i.MX6 status for IPU/VPU/GPU

2014-10-24 Thread Jean-Michel Hautbois
Hi Philipp, 2014-09-15 16:13 GMT+02:00 Jean-Michel Hautbois jean-michel.hautb...@vodalys.com: 2014-09-11 15:26 GMT+02:00 Philipp Zabel p.za...@pengutronix.de: Hi Steve, Am Mittwoch, den 10.09.2014, 18:17 -0700 schrieb Steve Longerbeam: [...] On 09/09/2014 10:40 AM, Philipp Zabel wrote

Re: [PATCH 1/2] i2c: Add generic support passing secondary devices addresses

2014-10-23 Thread Jean-Michel Hautbois
Hi Laurent, Thank you for your review, 2014-10-23 1:37 GMT+02:00 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi Jean-Michel, Thank you for the patch. On Wednesday 22 October 2014 17:30:47 Jean-Michel Hautbois wrote: Some I2C devices have multiple addresses assigned, for example

Re: [PATCH 2/2] adv7604: Add support for i2c_new_secondary_device

2014-10-23 Thread Jean-Michel Hautbois
Hi Laurent, Thank you for reviewing, 2014-10-23 1:44 GMT+02:00 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi Jean-Michel, Thank you for the patch. On Wednesday 22 October 2014 17:30:48 Jean-Michel Hautbois wrote: The ADV7604 has thirteen 256-byte maps that can be accessed via

Re: [media] CODA960: Fails to allocate memory

2014-10-22 Thread Jean-Michel Hautbois
Hi Philipp, 2014-10-21 18:21 GMT+02:00 Philipp Zabel p.za...@pengutronix.de: Hi Jean-Michel, Am Dienstag, den 21.10.2014, 17:39 +0200 schrieb Jean-Michel Hautbois: [...] And the output is now : v4l2-ctl -d1 --stream-out-mmap --stream-mmap --stream-to x.raw [ 6208.240919] coda 204.vpu

Re: [media] CODA960: Fails to allocate memory

2014-10-22 Thread Jean-Michel Hautbois
2014-10-22 11:29 GMT+02:00 Philipp Zabel p.za...@pengutronix.de: Hi Jean-Michel, Am Mittwoch, den 22.10.2014, 11:21 +0200 schrieb Jean-Michel Hautbois: I may have misunderstand something... I try to encode, and modified the CODA_MAX_FRAME_SIZE to 0x50 just to see. And here

[PATCH 2/2] adv7604: Add support for i2c_new_secondary_device

2014-10-22 Thread Jean-Michel Hautbois
-Michel Hautbois jean-michel.hautb...@vodalys.com --- .../devicetree/bindings/media/i2c/adv7604.txt | 16 +- drivers/media/i2c/adv7604.c| 59 ++ 2 files changed, 53 insertions(+), 22 deletions(-) diff --git a/Documentation/devicetree/bindings

[PATCH 1/2] i2c: Add generic support passing secondary devices addresses

2014-10-22 Thread Jean-Michel Hautbois
the function returns NULL. For now the function only supports look-up of the secondary address from devicetree, but it can be extended in the future to for example support board files and/or ACPI. Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com --- drivers/i2c/i2c-core.c

[PATCH] adv7604: Add DT parsing support

2014-10-22 Thread Jean-Michel Hautbois
This patch adds support for DT parsing of ADV7604 as well as ADV7611. It needs to be improved in order to get ports parsing too. Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com --- Documentation/devicetree/bindings/media/i2c/adv7604.txt | 1 + drivers/media/i2c/adv7604.c

Re: [PATCH] adv7604: Add DT parsing support

2014-10-22 Thread Jean-Michel Hautbois
Hi Laurent, Thank you for reviewing, 2014-10-23 1:53 GMT+02:00 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi Jean-Michel, Thank you for the patch. On Wednesday 22 October 2014 17:34:21 Jean-Michel Hautbois wrote: This patch adds support for DT parsing of ADV7604 as well as ADV7611

[media] CODA960: Fails to allocate memory

2014-10-21 Thread Jean-Michel Hautbois
Hi, I am trying to use the CODA960 driver on a 3.18 kernel. It seems pretty good when the module is probed (appart from the unsupported firmware version) but when I try using the encoder, it fails allocating dma buffers. Here is the DT part I added : vpu { compatible = fsl,imx6q-vpu;

Re: [media] CODA960: Fails to allocate memory

2014-10-21 Thread Jean-Michel Hautbois
Hi Hans, 2014-10-21 15:27 GMT+02:00 Hans Verkuil hverk...@xs4all.nl: On 10/21/2014 03:16 PM, Jean-Michel Hautbois wrote: Hi, I am trying to use the CODA960 driver on a 3.18 kernel. It seems pretty good when the module is probed (appart from the unsupported firmware version) but when I

Re: [media] CODA960: Fails to allocate memory

2014-10-21 Thread Jean-Michel Hautbois
2014-10-21 15:49 GMT+02:00 Hans Verkuil hverk...@xs4all.nl: On 10/21/2014 03:42 PM, Jean-Michel Hautbois wrote: Hi Hans, 2014-10-21 15:27 GMT+02:00 Hans Verkuil hverk...@xs4all.nl: On 10/21/2014 03:16 PM, Jean-Michel Hautbois wrote: Hi, I am trying to use the CODA960 driver

Re: [media] CODA960: Fails to allocate memory

2014-10-21 Thread Jean-Michel Hautbois
Hi Philipp, 2014-10-21 18:21 GMT+02:00 Philipp Zabel p.za...@pengutronix.de: Hi Jean-Michel, Am Dienstag, den 21.10.2014, 17:39 +0200 schrieb Jean-Michel Hautbois: [...] And the output is now : v4l2-ctl -d1 --stream-out-mmap --stream-mmap --stream-to x.raw [ 6208.240919] coda 204.vpu

Re: [PATCH v3 06/32] [media] coda: Add encoder/decoder support for CODA960

2014-10-20 Thread Jean-Michel Hautbois
Hi, 2014-07-30 14:32 GMT+02:00 Philipp Zabel p.za...@pengutronix.de: Am Mittwoch, den 30.07.2014, 20:16 +0800 schrieb Shawn Guo: On Tue, Jul 29, 2014 at 07:06:25PM +0200, Philipp Zabel wrote: I followed the step to generate the firmware v4l-coda960-imx6q, and tested it on next-20140725

Re: i.MX6 status for IPU/VPU/GPU

2014-10-03 Thread Jean-Michel Hautbois
2014-10-03 12:16 GMT+02:00 Carlos Sanmartín Bustos carsa...@gmail.com: Hi all, I'm interested in this driver with MC support too. I join the conversation and if I have time can try to develop some functionality. Only one question: 2014-10-02 16:50 GMT+02:00 Jean-Michel Hautbois jean

Re: i.MX6 status for IPU/VPU/GPU

2014-10-02 Thread Jean-Michel Hautbois
Hi Steve, 2014-09-09 18:28 GMT+02:00 Steve Longerbeam slongerb...@gmail.com: On 09/09/2014 12:49 AM, Jean-Michel Hautbois wrote: 2014-08-27 16:23 GMT+02:00 Steve Longerbeam steve_longerb...@mentor.com: The complete driver I posted to the list does have some minor issues mostly suggested

Re: i.MX6 status for IPU/VPU/GPU

2014-09-15 Thread Jean-Michel Hautbois
2014-09-11 15:26 GMT+02:00 Philipp Zabel p.za...@pengutronix.de: Hi Steve, Am Mittwoch, den 10.09.2014, 18:17 -0700 schrieb Steve Longerbeam: [...] On 09/09/2014 10:40 AM, Philipp Zabel wrote: [...] I have in the meantime started to implement everything that has a source or destination

[PATCH v4] media: spi: Add support for LMH0395

2014-09-10 Thread Jean-Michel Hautbois
. v2: Add DT support v3: Change the bit set/clear in output_type as disabled means 'set the bit' v4: Clearer description of endpoints usage in Doc, and some init changes. Add a dependency on OF and don't test CONFIG_OF anymore. Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com

Re: i.MX6 status for IPU/VPU/GPU

2014-09-10 Thread Jean-Michel Hautbois
2014-09-09 18:28 GMT+02:00 Steve Longerbeam slongerb...@gmail.com: On 09/09/2014 12:49 AM, Jean-Michel Hautbois wrote: 2014-08-27 16:23 GMT+02:00 Steve Longerbeam steve_longerb...@mentor.com: The complete driver I posted to the list does have some minor issues mostly suggested by Hans Verkuil

Re: i.MX6 status for IPU/VPU/GPU

2014-09-09 Thread Jean-Michel Hautbois
2014-08-27 16:23 GMT+02:00 Steve Longerbeam steve_longerb...@mentor.com: Hi Jean-Michel, Phillip, Hi Steve, I've done some work on Philipp's June 12 patchset, converting the CSI driver to a CSI subdev entity, and fixing some issues here and there. This June 12 patchset doesn't appear to be

[PATCH v2] media: spi: Add support for LMH0395

2014-09-09 Thread Jean-Michel Hautbois
..ca42b9e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9141,6 +9141,12 @@ S: Maintained F: sound/soc/codecs/lm49453* F: sound/soc/codecs/isabelle* +TI LMH0395 DRIVER +M: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com +L: linux-media@vger.kernel.org +S: Maintained +F

[PATCH v3] media: spi: Add support for LMH0395

2014-09-09 Thread Jean-Michel Hautbois
. Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com --- .../devicetree/bindings/media/spi/lmh0395.txt | 44 +++ MAINTAINERS| 6 + drivers/media/spi/Kconfig | 14 + drivers/media/spi/Makefile

[PATCH 2/2] adv7604: Add DT parsing support

2014-09-05 Thread Jean-Michel Hautbois
This allows specifying I²C secodnary addresses different from default ones. Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com --- drivers/media/i2c/adv7604.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index

[PATCH 1/2] adv7604: Add support for i2c_new_secondary_device

2014-09-05 Thread Jean-Michel Hautbois
-Michel Hautbois jean-michel.hautb...@vodalys.com --- .../devicetree/bindings/media/i2c/adv7604.txt | 17 ++- drivers/media/i2c/adv7604.c| 53 ++ 2 files changed, 48 insertions(+), 22 deletions(-) diff --git a/Documentation/devicetree/bindings

ADV76xx : Endpoint parsing

2014-09-02 Thread Jean-Michel Hautbois
Hi, I am trying to understand how endpoint parsing is done in adv7604/11 and the main objective is to get adv7604 endpoint parsing from DT for all its ports (4 HDMI and one VGA as input, one output). I am stuck on the function adv7604_parse_dt(). Tell me if I am wrong, but this function takes the

Re: [PATCH v2 2/2] adv7604: Use DT parsing in dummy creation

2014-09-01 Thread Jean-Michel Hautbois
2014-08-31 19:18 GMT+02:00 Laurent Pinchart laurent.pinch...@ideasonboard.com: Hi Jean-Michel, Thank you for the patch. On Friday 29 August 2014 17:15:03 Jean-Michel Hautbois wrote: This patch uses DT in order to parse addresses for dummy devices of adv7604. The ADV7604 has thirteen 256

[PATCH 1/2] Allow DT parsing of secondary devices

2014-08-29 Thread Jean-Michel Hautbois
This is based on reg and reg-names in DT. Example: reg = 0x10 0x20 0x30; reg-names = main, io, test; This function will create dummy devices io and test with addresses 0x20 and 0x30 respectively. Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com --- drivers/i2c/i2c-core.c

[PATCH 2/2] adv7604: Use DT parsing in dummy creation

2014-08-29 Thread Jean-Michel Hautbois
This patch uses DT in order to parse addresses for dummy devices of adv7604. If nothing is defined, it uses default addresses. The main prupose is using two adv76xx on the same i2c bus. Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com --- .../devicetree/bindings/media/i2c

[PATCH v2 2/2] adv7604: Use DT parsing in dummy creation

2014-08-29 Thread Jean-Michel Hautbois
. The main prupose is using two adv76xx on the same i2c bus. Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com --- .../devicetree/bindings/media/i2c/adv7604.txt | 17 +- drivers/media/i2c/adv7604.c| 60 ++ 2 files changed, 55

[PATCH v2 1/2] Allow DT parsing of secondary devices

2014-08-29 Thread Jean-Michel Hautbois
This is based on reg and reg-names in DT. Example: reg = 0x10 0x20 0x30; reg-names = main, io, test; This function will create dummy devices io and test with addresses 0x20 and 0x30 respectively. Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com --- drivers/i2c/i2c-core.c

Re: i.MX6 status for IPU/VPU/GPU

2014-08-27 Thread Jean-Michel Hautbois
Hi Phillip, 2014-08-04 13:54 GMT+02:00 Philipp Zabel p.za...@pengutronix.de: We should take this step by step. First I'd like to get Steve's ipu-v3 series in, those don't have any major issues and are a prerequisite for the media patches anyway. The capture patches had a few more issues than

[PATCH] Add support for definition of register maps in DT in ADV7604

2014-08-27 Thread jean-michel . hautbois
From: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com This patch adds support for DT parsing of register maps adresses. This allows multiple adv76xx devices on the same bus. Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com --- .../devicetree/bindings/media/i2c/adv7604

Re: [PATCH] Add support for definition of register maps in DT in ADV7604

2014-08-27 Thread Jean-Michel Hautbois
2014-08-27 15:03 GMT+02:00 Hans Verkuil hverk...@xs4all.nl: On 08/27/14 14:53, jean-michel.hautb...@vodalys.com wrote: From: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com This patch adds support for DT parsing of register maps adresses. This allows multiple adv76xx devices on the same

[PATCH v2] Add support for definition of register maps in DT in ADV7604

2014-08-27 Thread Jean-Michel Hautbois
This patch adds support for DT parsing of register maps adresses. This allows multiple adv76xx devices on the same bus. Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com --- .../devicetree/bindings/media/i2c/adv7604.txt | 12 drivers/media/i2c/adv7604.c

Multiple devices with same SMBus address

2014-08-07 Thread Jean-Michel Hautbois
Hi, I have a custom board which has two LMH0303 SDI drivers on the same i2c bus. They are connected in some daisy chain form, like on the schematics in the datasheet on page 9 : http://www.ti.com/lit/ds/symlink/lmh0303.pdf My problem is how to declare these devices in the DT in order to set the

Re: i.MX6 status for IPU/VPU/GPU

2014-08-05 Thread Jean-Michel Hautbois
2014-08-04 13:54 GMT+02:00 Philipp Zabel p.za...@pengutronix.de: Hi Tim, Am Sonntag, den 03.08.2014, 23:14 -0700 schrieb Tim Harvey: Philipp, It is unfortunate that the lack of the media device framework is holding back acceptance of Steve's patches. Is this something that can be added

[PATCH] Add support for LMH0395

2014-08-01 Thread jean-michel . hautbois
From: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com This device is a SPI based device from TI. It is a 3 Gbps HD/SD SDI Dual Output Low Power Extended Reach Adaptive Cable Equalizer. Add routing support in order to select output LMH0395 enables the use of up to two outputs. Signed-off

i.MX6 status for IPU/VPU/GPU

2014-07-28 Thread Jean-Michel Hautbois
Hi there ! We have a custom board, based on i.MX6 SoC. We are currently using Freescale's release of Linux, but this is a 3.10.17 kernel, and several drivers are lacking (adv7611 for instance) or badly written (all the MXC part). As we want to have nice things :) we would like to use a mainline

  1   2   >