MLK-16919-1 ARM: dts: add a new property to indicate mipi mode for csi
authorRobby Cai <robby.cai@nxp.com>
Tue, 21 Nov 2017 19:16:21 +0000 (03:16 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:55:35 +0000 (15:55 -0500)
in previous version, the property 'csi-mux-mipi' is used to set GPR for MIPI
mode, but on some SoC like iMX8MQ (reuse the CSI) there's no GPR MUX setting
for it.
Add a new property 'fsl,mipi-mode' and check this first for the mode.
If it's MIPI mode, then parse 'csi-mux-mipi'.

Signed-off-by: Robby Cai <robby.cai@nxp.com>
Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
arch/arm/boot/dts/imx7d-sdb.dts

index 1f09a0e..33c0303 100644 (file)
 
 &csi1 {
        csi-mux-mipi = <&gpr 0x14 4>;
+       fsl,mipi-mode;
        status = "okay";
 
        port {