diff options
author | Laurentiu Palcu <laurentiu.palcu@nxp.com> | 2017-03-09 11:54:17 +0200 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-24 12:41:33 +0300 |
commit | de43b77c9626da39239ca18a5ce2e7900b7a792f (patch) | |
tree | 8ddc638839eaed3afa16cb2d19b279746fceaf80 /arch/arm | |
parent | 23f22c42cdf337f9fca292cff28f34df9aefa0fa (diff) |
MLK-14273: ARM: imx: mach-imx6q: fix csi mux setting for imx6qp
Currently, for imx6qp, the first camera interface is set as MIPI CSI.
However, for sabresd and sabreauto, this should be set as parallel.
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-imx/mach-imx6q.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index 02e60e8b1755..b884209edaa6 100644 --- a/arch/arm/mach-imx/mach-imx6q.c +++ b/arch/arm/mach-imx/mach-imx6q.c @@ -247,7 +247,9 @@ static void __init imx6q_csi_mux_init(void) gpr = syscon_regmap_lookup_by_compatible("fsl,imx6q-iomuxc-gpr"); if (!IS_ERR(gpr)) { if (of_machine_is_compatible("fsl,imx6q-sabresd") || - of_machine_is_compatible("fsl,imx6q-sabreauto")) + of_machine_is_compatible("fsl,imx6q-sabreauto") || + of_machine_is_compatible("fsl,imx6qp-sabresd") || + of_machine_is_compatible("fsl,imx6qp-sabreauto")) regmap_update_bits(gpr, IOMUXC_GPR1, 1 << 19, 1 << 19); else if (of_machine_is_compatible("fsl,imx6dl-sabresd") || of_machine_is_compatible("fsl,imx6dl-sabreauto")) |