arm64: dts: renesas: rzg2l-smarc: Enable DU and link with DSI
authorBiju Das <biju.das.jz@bp.renesas.com>
Thu, 22 Feb 2024 13:21:17 +0000 (13:21 +0000)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 23 Feb 2024 10:42:41 +0000 (11:42 +0100)
Enable DU and link with DSI on RZ/{G2L,G2LC,V2L} SMARC EVK.

Move DSI port properties from board dtsi to SoC dtsi and then link with DU
and after that enable DU on the board dtsi.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20240222132117.137729-4-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r9a07g044.dtsi
arch/arm64/boot/dts/renesas/r9a07g054.dtsi
arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi
arch/arm64/boot/dts/renesas/rzg2lc-smarc.dtsi

index 086169d5a83d8270087b9ebe686e1de816cf649f..9f00b75d2bd0a984f0fa37c5c5c9ce1428313a40 100644 (file)
                        reset-names = "rst", "arst", "prst";
                        power-domains = <&cpg>;
                        status = "disabled";
+
+                       ports {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               port@0 {
+                                       reg = <0>;
+                                       dsi0_in: endpoint {
+                                               remote-endpoint = <&du_out_dsi>;
+                                       };
+                               };
+
+                               port@1 {
+                                       reg = <1>;
+                               };
+                       };
                };
 
                vspd: vsp@10870000 {
 
                                port@0 {
                                        reg = <0>;
+                                       du_out_dsi: endpoint {
+                                               remote-endpoint = <&dsi0_in>;
+                                       };
                                };
 
                                port@1 {
index 8fabefaaf75505c3aabe9b68c48e68ecb2d34449..53d8905f367afd5b8ef95bd08da6122cef240317 100644 (file)
                        reset-names = "rst", "arst", "prst";
                        power-domains = <&cpg>;
                        status = "disabled";
+
+                       ports {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               port@0 {
+                                       reg = <0>;
+                                       dsi0_in: endpoint {
+                                               remote-endpoint = <&du_out_dsi>;
+                                       };
+                               };
+
+                               port@1 {
+                                       reg = <1>;
+                               };
+                       };
                };
 
                vspd: vsp@10870000 {
 
                                port@0 {
                                        reg = <0>;
+                                       du_out_dsi: endpoint {
+                                               remote-endpoint = <&dsi0_in>;
+                                       };
                                };
 
                                port@1 {
index 37807f1bda4d37a52886af0c8dd023d74e2d8f44..887dffe1491087a8dfd2eb0e981928506db2af9a 100644 (file)
        status = "okay";
 
        ports {
-               #address-cells = <1>;
-               #size-cells = <0>;
-
-               port@0 {
-                       reg = <0>;
-                       dsi0_in: endpoint {
-                       };
-               };
-
                port@1 {
-                       reg = <1>;
                        dsi0_out: endpoint {
                                data-lanes = <1 2 3 4>;
                                remote-endpoint = <&adv7535_in>;
        };
 };
 
+&du {
+       status = "okay";
+};
+
 &i2c1 {
        adv7535: hdmi@3d {
                compatible = "adi,adv7535";
index 859bc8745e66a96441e3ce5e91ab6150e12edc92..f21508640b6eaaaf518f8302ffc009aa09d512b8 100644 (file)
        status = "okay";
 
        ports {
-               #address-cells = <1>;
-               #size-cells = <0>;
-
-               port@0 {
-                       reg = <0>;
-                       dsi0_in: endpoint {
-                       };
-               };
-
                port@1 {
-                       reg = <1>;
                        dsi0_out: endpoint {
                                data-lanes = <1 2 3 4>;
                                remote-endpoint = <&adv7535_in>;
        };
 };
 
+&du {
+       status = "okay";
+};
+
 &i2c1 {
        adv7535: hdmi@3d {
                compatible = "adi,adv7535";