Re: [PATCH RFC] adding support for setting bus parameters in sub device

2009-06-17 Thread Magnus Damm
On Tue, Jun 16, 2009 at 11:33 PM, Karicheri, Muralidharan wrote: > > >>> >>> [MK]In that case can't the driver just ignore the field polarity? I >>assume that drivers implement the parameter that has support in hardware. >>So it is not an issue. >> >>No, because the same driver runs on hardware th

RE: [PATCH RFC] adding support for setting bus parameters in sub device

2009-06-16 Thread Karicheri, Muralidharan
>> >> [MK]In that case can't the driver just ignore the field polarity? I >assume that drivers implement the parameter that has support in hardware. >So it is not an issue. > >No, because the same driver runs on hardware that also has the field >signal. So we need to be able to give information a

Re: [PATCH RFC] adding support for setting bus parameters in sub device

2009-06-15 Thread Magnus Damm
On Tue, Jun 16, 2009 at 1:01 AM, Karicheri, Muralidharan wrote: >>> + >>> +struct v4l2_subdev_bus { >>> +       enum v4l2_subdev_bus_type type; >>> +       u8 width; >>> +       /* 0 - active low, 1 - active high */ >>> +       unsigned pol_vsync:1; >>> +       /* 0 - active low, 1 - active high */

RE: [PATCH RFC] adding support for setting bus parameters in sub device

2009-06-15 Thread Karicheri, Muralidharan
>> + >> +struct v4l2_subdev_bus { >> +       enum v4l2_subdev_bus_type type; >> +       u8 width; >> +       /* 0 - active low, 1 - active high */ >> +       unsigned pol_vsync:1; >> +       /* 0 - active low, 1 - active high */ >> +       unsigned pol_hsync:1; >> +       /* 0 - low to high , 1 - h

Re: [PATCH RFC] adding support for setting bus parameters in sub device

2009-06-14 Thread Magnus Damm
On Wed, Jun 10, 2009 at 5:55 AM, wrote: > From: Muralidharan Karicheri > > re-sending with RFC in the header > > This patch adds support for setting bus parameters such as bus type > (BT.656, BT.1120 etc), width (example 10 bit raw image data bus) > and polarities (vsync, hsync, field etc) in sub

RE: [PATCH RFC] adding support for setting bus parameters in sub device

2009-06-10 Thread Karicheri, Muralidharan
>> > >> > +/* >> > + * Some sub-devices are connected to the bridge device through a bus >> > that + * carries * the clock, vsync, hsync and data. Some interfaces >> > such as BT.656 + * carries the sync embedded in the data where as >> > others have separate line + * carrying the sync signals. Th

RE: [PATCH RFC] adding support for setting bus parameters in sub device

2009-06-09 Thread Karicheri, Muralidharan
cheri >Subject: Re: [PATCH RFC] adding support for setting bus parameters in sub >device > >On Tuesday 09 June 2009 22:55:53 m-kariche...@ti.com wrote: >> From: Muralidharan Karicheri >> >> re-sending with RFC in the header >> >> This patch adds support for set

Re: [PATCH RFC] adding support for setting bus parameters in sub device

2009-06-09 Thread Hans Verkuil
On Tuesday 09 June 2009 23:03:01 Hans Verkuil wrote: > On Tuesday 09 June 2009 22:55:53 m-kariche...@ti.com wrote: > > From: Muralidharan Karicheri > > > > re-sending with RFC in the header > > > > This patch adds support for setting bus parameters such as bus type > > (BT.656, BT.1120 etc), width

Re: [PATCH RFC] adding support for setting bus parameters in sub device

2009-06-09 Thread Hans Verkuil
On Tuesday 09 June 2009 22:55:53 m-kariche...@ti.com wrote: > From: Muralidharan Karicheri > > re-sending with RFC in the header > > This patch adds support for setting bus parameters such as bus type > (BT.656, BT.1120 etc), width (example 10 bit raw image data bus) > and polarities (vsync, hsync

[PATCH RFC] adding support for setting bus parameters in sub device

2009-06-09 Thread m-karicheri2
From: Muralidharan Karicheri re-sending with RFC in the header This patch adds support for setting bus parameters such as bus type (BT.656, BT.1120 etc), width (example 10 bit raw image data bus) and polarities (vsync, hsync, field etc) in sub device. This allows bridge driver to configure the s