arm64: dts: imx8mq: fix mipi_csi bidirectional port numbers
authorMartin Kepplinger <martin.kepplinger@puri.sm>
Fri, 21 Jan 2022 09:33:25 +0000 (10:33 +0100)
committerShawn Guo <shawnguo@kernel.org>
Sat, 29 Jan 2022 06:29:28 +0000 (14:29 +0800)
The port numbers for the imx8mq mipi csi controller are wrong and
the mipi driver can't find any media devices as port@1 is connected
to the CSI bridge, not port@0. And port@0 is connected to the
source - the sensor. Fix this.

Fixes: bcadd5f66c2a ("arm64: dts: imx8mq: add mipi csi phy and csi bridge descriptions")
Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq.dtsi

index 2df2510d011841d4eecaae2de6a67bebc3765a1b..bb68c94c2fc9b531ed4372cc129c7e3865a0c7c1 100644 (file)
                                        #address-cells = <1>;
                                        #size-cells = <0>;
 
-                                       port@0 {
-                                               reg = <0>;
+                                       port@1 {
+                                               reg = <1>;
 
                                                csi1_mipi_ep: endpoint {
                                                        remote-endpoint = <&csi1_ep>;
                                        #address-cells = <1>;
                                        #size-cells = <0>;
 
-                                       port@0 {
-                                               reg = <0>;
+                                       port@1 {
+                                               reg = <1>;
 
                                                csi2_mipi_ep: endpoint {
                                                        remote-endpoint = <&csi2_ep>;