Am Samstag, den 07.06.2014, 14:56 -0700 schrieb Steve Longerbeam: > Map the IOMUXC registers, which will be needed by ipu-csi for mux > control. > > Signed-off-by: Steve Longerbeam <steve_longerbeam@xxxxxxxxxx> > --- > drivers/staging/imx-drm/ipu-v3/ipu-common.c | 8 ++++++++ > drivers/staging/imx-drm/ipu-v3/ipu-prv.h | 4 ++++ > 2 files changed, 12 insertions(+) > > diff --git a/drivers/staging/imx-drm/ipu-v3/ipu-common.c b/drivers/staging/imx-drm/ipu-v3/ipu-common.c > index 2d95a7c..635dafe 100644 > --- a/drivers/staging/imx-drm/ipu-v3/ipu-common.c > +++ b/drivers/staging/imx-drm/ipu-v3/ipu-common.c > @@ -1196,6 +1196,14 @@ static int ipu_probe(struct platform_device *pdev) > if (!ipu->cm_reg || !ipu->idmac_reg || !ipu->cpmem_base) > return -ENOMEM; > > + ipu->gp_reg = syscon_regmap_lookup_by_compatible( > + "fsl,imx6q-iomuxc-gpr"); > + if (IS_ERR(ipu->gp_reg)) { > + ret = PTR_ERR(ipu->gp_reg); > + dev_err(&pdev->dev, "failed to map iomuxc regs with %d\n", ret); > + return ret; > + } > + This will break i.MX5. The IPU core driver shouldn't touch those registers anyway. regards Philipp -- 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