[media] omap3isp: Add support for the Device Tree
Add the ISP device to omap3 DT include file and add support to the driver to use it. Also obtain information on the external entities and the ISP configuration related to them through the Device Tree in addition to the platform data. Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:

gecommit door
Mauro Carvalho Chehab

bovenliggende
b6eec1c493
commit
da7f3843d2
@@ -173,6 +173,13 @@ static int omap3isp_csiphy_config(struct isp_csiphy *phy)
|
||||
unsigned int i;
|
||||
u32 reg;
|
||||
|
||||
if (!buscfg) {
|
||||
struct isp_async_subdev *isd =
|
||||
container_of(pipe->external->asd,
|
||||
struct isp_async_subdev, asd);
|
||||
buscfg = &isd->bus;
|
||||
}
|
||||
|
||||
if (buscfg->interface == ISP_INTERFACE_CCP2B_PHY1
|
||||
|| buscfg->interface == ISP_INTERFACE_CCP2B_PHY2)
|
||||
lanes = &buscfg->bus.ccp2.lanecfg;
|
||||
|
Verwijs in nieuw issue
Block a user