media: omap3isp: Explicitly set the number of CSI-2 lanes used in lane cfg
The omap3isp driver extracts the CSI-2 lane configuration from the V4L2 fwnode endpoint but misses the number of lanes itself. Get this information and use it in PHY configuration. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Tested-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
838a6c5618
commit
3a738c3fd8
@@ -114,10 +114,13 @@ struct isp_ccp2_cfg {
|
||||
/**
|
||||
* struct isp_csi2_cfg - CSI2 interface configuration
|
||||
* @crc: Enable the cyclic redundancy check
|
||||
* @lanecfg: CSI-2 lane configuration
|
||||
* @num_data_lanes: The number of data lanes in use
|
||||
*/
|
||||
struct isp_csi2_cfg {
|
||||
unsigned crc:1;
|
||||
struct isp_csiphy_lanes_cfg lanecfg;
|
||||
u8 num_data_lanes;
|
||||
};
|
||||
|
||||
struct isp_bus_cfg {
|
||||
|
Reference in New Issue
Block a user