|
@@ -2771,7 +2771,13 @@ static struct smiapp_hwconfig *smiapp_get_hwconfig(struct device *dev)
|
|
if (!ep)
|
|
if (!ep)
|
|
return NULL;
|
|
return NULL;
|
|
|
|
|
|
|
|
+ bus_cfg.bus_type = V4L2_MBUS_CSI2_DPHY;
|
|
rval = v4l2_fwnode_endpoint_alloc_parse(ep, &bus_cfg);
|
|
rval = v4l2_fwnode_endpoint_alloc_parse(ep, &bus_cfg);
|
|
|
|
+ if (rval == -ENXIO) {
|
|
|
|
+ bus_cfg = (struct v4l2_fwnode_endpoint)
|
|
|
|
+ { .bus_type = V4L2_MBUS_CCP2 };
|
|
|
|
+ rval = v4l2_fwnode_endpoint_alloc_parse(ep, &bus_cfg);
|
|
|
|
+ }
|
|
if (rval)
|
|
if (rval)
|
|
goto out_err;
|
|
goto out_err;
|
|
|
|
|