On Sunday 30 August 2009 17:46:36 Hiremath, Vaibhav wrote: > > -----Original Message----- <snip> > > > > /* > > * Some sub-devices are connected to the host/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 whereas others have > > separate lines > > * carrying the sync signals. > > */ > > struct v4l2_bus_config { > > /* embedded sync, set this when sync is embedded in the data > > stream */ > > unsigned embedded_sync:1; > > /* master or slave */ > > unsigned is_master:1; > > > > /* bus width */ > > unsigned width:8; > > /* 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 - high to low */ > > unsigned pol_field:1; > > /* 0 - sample at falling edge, 1 - sample at rising edge */ > > unsigned edge_pclock:1; > > /* 0 - active low, 1 - active high */ > > unsigned pol_data:1; > > }; > > > > It's all bitfields, so it is a very compact representation. > > > [Hiremath, Vaibhav] If I understand correctly, all the above data will come to host/bridge driver from board file, right? Yes, that's correct. Regards, Hans -- Hans Verkuil - video4linux developer - sponsored by TANDBERG Telecom -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html