Re: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-12 Thread Maxime Ripard
Hi, On Fri, Jan 12, 2018 at 10:18:39AM +0800, Yong wrote: > > On Thu, Jan 11, 2018 at 09:15:08AM +0800, Yong wrote: > > > > On Mon, Jan 08, 2018 at 05:13:39PM +, Hugues FRUCHET wrote: > > > > > I'm using a ST board with OV5640 wired in parallel bus output in > > > > > order > > > > > to

Re: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-11 Thread Yong
Hi Maxime, On Thu, 11 Jan 2018 13:40:18 +0100 Maxime Ripard wrote: > Hi Yong, > > On Thu, Jan 11, 2018 at 09:15:08AM +0800, Yong wrote: > > > On Mon, Jan 08, 2018 at 05:13:39PM +, Hugues FRUCHET wrote: > > > > I'm using a ST board with OV5640 wired in

Re: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-11 Thread Maxime Ripard
Hi Yong, On Thu, Jan 11, 2018 at 09:15:08AM +0800, Yong wrote: > > On Mon, Jan 08, 2018 at 05:13:39PM +, Hugues FRUCHET wrote: > > > I'm using a ST board with OV5640 wired in parallel bus output in order > > > to interface to my STM32 DCMI parallel interface. > > > Perhaps could you describe

Re: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-11 Thread Maxime Ripard
Hi Hugues, On Wed, Jan 10, 2018 at 03:51:07PM +, Hugues FRUCHET wrote: > Good news Maxime ! > > Have you seen that you can adapt the polarities through devicetree ? > > + /* Parallel bus endpoint */ > + ov5640_to_parallel: endpoint { > [...] > +

Re: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-11 Thread Sakari Ailus
On Thu, Jan 11, 2018 at 08:25:41AM +, Hugues FRUCHET wrote: > On 01/11/2018 09:19 AM, Sakari Ailus wrote: > > On Thu, Jan 11, 2018 at 08:12:11AM +, Hugues FRUCHET wrote: > >> Hi Sakari, > >> > >> On 01/10/2018 11:25 PM, Sakari Ailus wrote: > >>> Hi Hugues, > >>> > >>> On Wed, Jan 10, 2018

Re: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-11 Thread Hugues FRUCHET
On 01/11/2018 09:19 AM, Sakari Ailus wrote: > On Thu, Jan 11, 2018 at 08:12:11AM +, Hugues FRUCHET wrote: >> Hi Sakari, >> >> On 01/10/2018 11:25 PM, Sakari Ailus wrote: >>> Hi Hugues, >>> >>> On Wed, Jan 10, 2018 at 03:51:07PM +, Hugues FRUCHET wrote: Good news Maxime !

Re: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-11 Thread Sakari Ailus
On Thu, Jan 11, 2018 at 08:12:11AM +, Hugues FRUCHET wrote: > Hi Sakari, > > On 01/10/2018 11:25 PM, Sakari Ailus wrote: > > Hi Hugues, > > > > On Wed, Jan 10, 2018 at 03:51:07PM +, Hugues FRUCHET wrote: > >> Good news Maxime ! > >> > >> Have you seen that you can adapt the polarities

Re: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-11 Thread Hugues FRUCHET
Hi Sakari, On 01/10/2018 11:25 PM, Sakari Ailus wrote: > Hi Hugues, > > On Wed, Jan 10, 2018 at 03:51:07PM +, Hugues FRUCHET wrote: >> Good news Maxime ! >> >> Have you seen that you can adapt the polarities through devicetree ? >> >> + /* Parallel bus endpoint */ >> +

Re: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-10 Thread Yong
Hi Maxime, On Wed, 10 Jan 2018 16:37:24 +0100 Maxime Ripard wrote: > Hi Hugues, > > On Mon, Jan 08, 2018 at 05:13:39PM +, Hugues FRUCHET wrote: > > I'm using a ST board with OV5640 wired in parallel bus output in order > > to interface to my STM32 DCMI

Re: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-10 Thread Sakari Ailus
Hi Hugues, On Wed, Jan 10, 2018 at 03:51:07PM +, Hugues FRUCHET wrote: > Good news Maxime ! > > Have you seen that you can adapt the polarities through devicetree ? > > + /* Parallel bus endpoint */ > + ov5640_to_parallel: endpoint { > [...] > +

Re: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-10 Thread Hugues FRUCHET
Good news Maxime ! Have you seen that you can adapt the polarities through devicetree ? + /* Parallel bus endpoint */ + ov5640_to_parallel: endpoint { [...] + hsync-active = <0>; +

Re: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-10 Thread Maxime Ripard
Hi Hugues, On Mon, Jan 08, 2018 at 05:13:39PM +, Hugues FRUCHET wrote: > I'm using a ST board with OV5640 wired in parallel bus output in order > to interface to my STM32 DCMI parallel interface. > Perhaps could you describe your setup so I could help on understanding > the problem on your

Re: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-09 Thread Maxime Ripard
Hi Hugues, On Mon, Jan 08, 2018 at 05:13:39PM +, Hugues FRUCHET wrote: > I'm using a ST board with OV5640 wired in parallel bus output in order > to interface to my STM32 DCMI parallel interface. > Perhaps could you describe your setup so I could help on understanding > the problem on your

RE: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-09 Thread Fabrizio Castro
Hello Hugues, thank you for getting back to me, I'll look into your suggestions in the next few days, I'll give you a feedback as soon as I know more. Thanks, Fab > Subject: Re: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV > support > > Hi Fabrizio, >

Re: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-09 Thread Hugues FRUCHET
Hi Fabrizio, Happy to see that this patch series is of interest ;) As you can see in mail thread, Maxime Ripard is also testing it: https://www.mail-archive.com/linux-media@vger.kernel.org/msg124322.html For BT656 support, it was not initially planned but it seems straightforward to code it,

RE: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-08 Thread Fabrizio Castro
Hello Hugues, thank you for the patch series. I am having a go with your patches, and although they seem alright, I don't seem to be able to grab a non-black picture on the iWave iwg20d in plain DVP mode, but if I switch to BT656 just by setting register 0x4730 to 0x01 (I know, it's a nasty

Re: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-08 Thread Hugues FRUCHET
Hi Maxime, I'm using a ST board with OV5640 wired in parallel bus output in order to interface to my STM32 DCMI parallel interface. Perhaps could you describe your setup so I could help on understanding the problem on your side. From my past experience with this sensor module, you can first

Re: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-08 Thread Maxime Ripard
Hi Hugues, On Wed, Jan 03, 2018 at 10:57:27AM +0100, Hugues Fruchet wrote: > Enhance OV5640 CSI driver to support also DVP parallel interface. > Add RGB565 (LE & BE) and YUV422 YUYV format in addition to existing > YUV422 UYVY format. > Some other improvements on chip identifier check and removal