arm64: dts: renesas: r8a77990: Fix VIN endpoint numbering
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Mon, 5 Nov 2018 13:12:43 +0000 (14:12 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 8 Nov 2018 15:15:46 +0000 (16:15 +0100)
The VIN driver bindings dictates fixed numbering for VIN endpoints connected
to CSI-2 endpoints, even when a single endpoint exists.

Without proper endpoint numbering the VIN driver fails to probe.

Based on a patch in BSP from Koji Matsuoka <koji.matsuoka.xm@renesas.com>

Fixes: ec70407ae7d7 ("arm64: dts: renesas: r8a77990: Add VIN and CSI-2 device nodes")
Signed-off-by: Koji Matsuoka <koji.matsuoka.xm@renesas.com>
Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a77990.dtsi

index e0092fb..a2524fc 100644 (file)
                                #size-cells = <0>;
 
                                port@1 {
+                                       #address-cells = <1>;
+                                       #size-cells = <0>;
+
                                        reg = <1>;
 
-                                       vin4csi40: endpoint {
+                                       vin4csi40: endpoint@2 {
+                                               reg = <2>;
                                                remote-endpoint= <&csi40vin4>;
                                        };
                                };
                                #size-cells = <0>;
 
                                port@1 {
+                                       #address-cells = <1>;
+                                       #size-cells = <0>;
+
                                        reg = <1>;
 
-                                       vin5csi40: endpoint {
+                                       vin5csi40: endpoint@2 {
+                                               reg = <2>;
                                                remote-endpoint= <&csi40vin5>;
                                        };
                                };