Re: [RFC] Support for 'Coda' video codec IP.

2012-07-03 Thread Fabio Estevam
On Mon, Jul 2, 2012 at 10:48 AM, javier Martin javier.mar...@vista-silicon.com wrote: However, it would be great if Fabio could confirm that codadx6 in the i.MX27 supports MJPG too. As far as I recall it does not. I will check it and if I heard differently I will reply back here. Regards,

Re: [RFC] Support for 'Coda' video codec IP.

2012-07-02 Thread javier Martin
Hi Sascha, I almost have a final version ready which includes multi-instance support (not tested though) [1]. As I stated, we assumed the extra effort of looking at your code in [2] in order to provide a mechanism that preserves compatibility between VPUs in i.MX21, i.MX51 and i.MX53. This is the

Re: [RFC] Support for 'Coda' video codec IP.

2012-07-02 Thread Sascha Hauer
On Mon, Jul 02, 2012 at 12:36:46PM +0200, javier Martin wrote: Hi Sascha, I almost have a final version ready which includes multi-instance support (not tested though) [1]. As I stated, we assumed the extra effort of looking at your code in [2] in order to provide a mechanism that preserves

Re: [RFC] Support for 'Coda' video codec IP.

2012-07-02 Thread javier Martin
On 2 July 2012 12:54, Sascha Hauer s.ha...@pengutronix.de wrote: On Mon, Jul 02, 2012 at 12:36:46PM +0200, javier Martin wrote: Hi Sascha, I almost have a final version ready which includes multi-instance support (not tested though) [1]. As I stated, we assumed the extra effort of looking at

Re: [RFC] Support for 'Coda' video codec IP.

2012-07-02 Thread javier Martin
On 2 July 2012 13:13, javier Martin javier.mar...@vista-silicon.com wrote: On 2 July 2012 12:54, Sascha Hauer s.ha...@pengutronix.de wrote: On Mon, Jul 02, 2012 at 12:36:46PM +0200, javier Martin wrote: Hi Sascha, I almost have a final version ready which includes multi-instance support (not

Re: [RFC] Support for 'Coda' video codec IP.

2012-06-20 Thread javier Martin
Hi Fabio, On 20 June 2012 05:26, Fabio Estevam feste...@gmail.com wrote: Hi Javier, On Tue, Jun 19, 2012 at 11:11 AM, Javier Martin javier.mar...@vista-silicon.com wrote: This patch adds support for the video encoder present in the i.MX27. It currently support encoding in H.264 and in

Re: [RFC] Support for 'Coda' video codec IP.

2012-06-20 Thread Sascha Hauer
On Wed, Jun 20, 2012 at 09:51:32AM +0200, javier Martin wrote: Hi Sascha, thank you for your review. Since we all move to devicetree shouldn't we stop adding new platform devices? Our platfrom, 'visstrim_m10' doesn't currently support devicetree yet, so it would be highly difficult

Re: [RFC] Support for 'Coda' video codec IP.

2012-06-20 Thread Mark Brown
On Wed, Jun 20, 2012 at 11:01:26AM +0200, Sascha Hauer wrote: On Wed, Jun 20, 2012 at 09:51:32AM +0200, javier Martin wrote: Our platfrom, 'visstrim_m10' doesn't currently support devicetree yet, so it would be highly difficult for us to test it at the moment. Couldn't you add devicetree

Re: [RFC] Support for 'Coda' video codec IP.

2012-06-20 Thread Shawn Guo
On Wed, Jun 20, 2012 at 11:00:15AM +0100, Mark Brown wrote: The approach a lot of platforms have been taking is that it's OK to keep on maintaining existing boards using board files (especially for trivial things like adding new devices). I think that's the approach being taken during the

Re: [RFC] Support for 'Coda' video codec IP.

2012-06-20 Thread Mark Brown
On Wed, Jun 20, 2012 at 09:09:43PM +0800, Shawn Guo wrote: On Wed, Jun 20, 2012 at 11:00:15AM +0100, Mark Brown wrote: The approach a lot of platforms have been taking is that it's OK to keep on maintaining existing boards using board files (especially for trivial things like adding new

Re: [RFC] Support for 'Coda' video codec IP.

2012-06-20 Thread Shawn Guo
On Wed, Jun 20, 2012 at 02:31:48PM +0100, Mark Brown wrote: I think that's the approach being taken during the transition to device tree. But it's definitely a desirable thing to remove those board files with device tree support at some point, because not having non-DT users will ease

Re: [RFC] Support for 'Coda' video codec IP.

2012-06-20 Thread Shawn Guo
On Wed, Jun 20, 2012 at 11:00:15AM +0100, Mark Brown wrote: The approach a lot of platforms have been taking is that it's OK to keep on maintaining existing boards using board files (especially for trivial things like adding new devices). If the device is added without introducing any

Re: [RFC] Support for 'Coda' video codec IP.

2012-06-20 Thread javier Martin
Hi, On 20 June 2012 16:03, Shawn Guo shawn@linaro.org wrote: On Wed, Jun 20, 2012 at 11:00:15AM +0100, Mark Brown wrote: The approach a lot of platforms have been taking is that it's OK to keep on maintaining existing boards using board files (especially for trivial things like adding new

Re: [RFC] Support for 'Coda' video codec IP.

2012-06-20 Thread javier Martin
On 20 June 2012 15:09, Shawn Guo shawn@linaro.org wrote: On Wed, Jun 20, 2012 at 11:00:15AM +0100, Mark Brown wrote: The approach a lot of platforms have been taking is that it's OK to keep on maintaining existing boards using board files (especially for trivial things like adding new

Re: [RFC] Support for 'Coda' video codec IP.

2012-06-20 Thread Shawn Guo
On Wed, Jun 20, 2012 at 04:10:27PM +0200, javier Martin wrote: If I drop this platform data it is OK with you if I don't add device tree support by now? I'm fine. Sascha? -- Regards, Shawn -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to

Re: [RFC] Support for 'Coda' video codec IP.

2012-06-20 Thread Mark Brown
On Wed, Jun 20, 2012 at 09:56:37PM +0800, Shawn Guo wrote: On Wed, Jun 20, 2012 at 02:31:48PM +0100, Mark Brown wrote: Moving to irqdomain without DT is really very easy, you just need to select a legacy mapping if a base is provided and otherwise all the code is identical - it just comes

Re: [RFC] Support for 'Coda' video codec IP.

2012-06-20 Thread Sascha Hauer
On Wed, Jun 20, 2012 at 10:25:50PM +0800, Shawn Guo wrote: On Wed, Jun 20, 2012 at 04:10:27PM +0200, javier Martin wrote: If I drop this platform data it is OK with you if I don't add device tree support by now? I'm fine. Sascha? Fine with me. Sascha -- Pengutronix e.K.

Re: [RFC] Support for 'Coda' video codec IP.

2012-06-20 Thread Shawn Guo
On Wed, Jun 20, 2012 at 04:25:54PM +0200, javier Martin wrote: Do you plan to add pinctrl support for i.MX27 and i.MX21? We will have to when we are there to convert these platforms over to DT. -- Regards, Shawn -- To unsubscribe from this list: send the line unsubscribe linux-media in the

Re: [RFC] Support for 'Coda' video codec IP.

2012-06-19 Thread Fabio Estevam
Hi Javier, On Tue, Jun 19, 2012 at 11:11 AM, Javier Martin javier.mar...@vista-silicon.com wrote: This patch adds support for the video encoder present in the i.MX27. It currently support encoding in H.264 and in MPEG4 SP. It's working properly in a Visstrim SM10 platform. It uses