arm64: dts: renesas: Add ports node to all adv7482 nodes
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Tue, 12 Oct 2021 18:34:31 +0000 (20:34 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 14 Oct 2021 08:46:46 +0000 (10:46 +0200)
The different port@ entries of the adv7482 nodes shall be encapsulated
in a ports node, add one.  This change does not change how the driver
parses the DT and no driver change is needed.

The change however makes it possible to validate the source files with a
correct json-schema.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Link: https://lore.kernel.org/r/20211012183431.718691-1-niklas.soderlund+renesas@ragnatech.se
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/ebisu.dtsi
arch/arm64/boot/dts/renesas/salvator-common.dtsi

index 0fdfc67cb965afd9fdd937c6e91d5d1ef7957701..67231c8576c52b18ed3add885353c96da7c35a45 100644 (file)
                compatible = "adi,adv7482";
                reg = <0x70>;
 
-               #address-cells = <1>;
-               #size-cells = <0>;
-
                interrupt-parent = <&gpio0>;
                interrupt-names = "intrq1", "intrq2";
                interrupts = <7 IRQ_TYPE_LEVEL_LOW>,
                             <17 IRQ_TYPE_LEVEL_LOW>;
 
-               port@7 {
-                       reg = <7>;
+               ports {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       port@7 {
+                               reg = <7>;
 
-                       adv7482_ain7: endpoint {
-                               remote-endpoint = <&cvbs_con>;
+                               adv7482_ain7: endpoint {
+                                       remote-endpoint = <&cvbs_con>;
+                               };
                        };
-               };
 
-               port@8 {
-                       reg = <8>;
+                       port@8 {
+                               reg = <8>;
 
-                       adv7482_hdmi: endpoint {
-                               remote-endpoint = <&hdmi_in_con>;
+                               adv7482_hdmi: endpoint {
+                                       remote-endpoint = <&hdmi_in_con>;
+                               };
                        };
-               };
 
-               port@a {
-                       reg = <10>;
+                       port@a {
+                               reg = <10>;
 
-                       adv7482_txa: endpoint {
-                               clock-lanes = <0>;
-                               data-lanes = <1 2>;
-                               remote-endpoint = <&csi40_in>;
+                               adv7482_txa: endpoint {
+                                       clock-lanes = <0>;
+                                       data-lanes = <1 2>;
+                                       remote-endpoint = <&csi40_in>;
+                               };
                        };
                };
        };
index df2d69075ffd548248a9557da43567497c67fe0a..bf37777dca315d313254975e1ce27e329d5f91ac 100644 (file)
                reg-names = "main", "dpll", "cp", "hdmi", "edid", "repeater",
                            "infoframe", "cbus", "cec", "sdp", "txa", "txb" ;
 
-               #address-cells = <1>;
-               #size-cells = <0>;
-
                interrupt-parent = <&gpio6>;
                interrupt-names = "intrq1", "intrq2";
                interrupts = <30 IRQ_TYPE_LEVEL_LOW>,
                             <31 IRQ_TYPE_LEVEL_LOW>;
 
-               port@7 {
-                       reg = <7>;
+               ports {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       port@7 {
+                               reg = <7>;
 
-                       adv7482_ain7: endpoint {
-                               remote-endpoint = <&cvbs_con>;
+                               adv7482_ain7: endpoint {
+                                       remote-endpoint = <&cvbs_con>;
+                               };
                        };
-               };
 
-               port@8 {
-                       reg = <8>;
+                       port@8 {
+                               reg = <8>;
 
-                       adv7482_hdmi: endpoint {
-                               remote-endpoint = <&hdmi_in_con>;
+                               adv7482_hdmi: endpoint {
+                                       remote-endpoint = <&hdmi_in_con>;
+                               };
                        };
-               };
 
-               port@a {
-                       reg = <10>;
+                       port@a {
+                               reg = <10>;
 
-                       adv7482_txa: endpoint {
-                               clock-lanes = <0>;
-                               data-lanes = <1 2 3 4>;
-                               remote-endpoint = <&csi40_in>;
+                               adv7482_txa: endpoint {
+                                       clock-lanes = <0>;
+                                       data-lanes = <1 2 3 4>;
+                                       remote-endpoint = <&csi40_in>;
+                               };
                        };
-               };
 
-               port@b {
-                       reg = <11>;
+                       port@b {
+                               reg = <11>;
 
-                       adv7482_txb: endpoint {
-                               clock-lanes = <0>;
-                               data-lanes = <1>;
-                               remote-endpoint = <&csi20_in>;
+                               adv7482_txb: endpoint {
+                                       clock-lanes = <0>;
+                                       data-lanes = <1>;
+                                       remote-endpoint = <&csi20_in>;
+                               };
                        };
                };
        };