ARM: tegra: tf700t: upgrade video bindings
authorSvyatoslav Ryhel <clamor95@gmail.com>
Tue, 4 Mar 2025 18:08:55 +0000 (20:08 +0200)
committerSvyatoslav Ryhel <clamor95@gmail.com>
Wed, 19 Mar 2025 08:59:24 +0000 (10:59 +0200)
Align TF700T bindings with existing upstream device trees. OF_UPSTREAM
migration is possible already but resulting size of binary exceeds maximum
allowed size with full size trees.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
arch/arm/dts/tegra30-asus-tf700t.dts

index 6dc760b..47606ed 100644 (file)
                        rgb {
                                status = "okay";
 
-                               nvidia,panel = <&tc358768>;
+                               /delete-property/ nvidia,panel;
+
+                               port {
+                                       dpi_output: endpoint {
+                                               remote-endpoint = <&bridge_input>;
+                                               bus-width = <24>;
+                                       };
+                               };
                        };
                };
        };
                                vddio-supply = <&vdd_1v8_vio>;
                                vddmipi-supply = <&vdd_1v2_mipi>;
 
-                               panel = <&panel>;
+                               /*
+                                * Panasonic VVX10F004B00 or HYDIS HV101WU1-1E1
+                                * LCD SuperIPS+ Full HD panel.
+                                */
+                               panel@1 {
+                                       compatible = "panasonic,vvx10f004b00";
+                                       reg = <1>;
+
+                                       power-supply = <&vdd_pnl_reg>;
+                                       backlight = <&backlight>;
+
+                                       display-timings {
+                                               timing@0 {
+                                                       /* 1920x1200@60Hz */
+                                                       clock-frequency = <154000000>;
+
+                                                       hactive = <1920>;
+                                                       hfront-porch = <48>;
+                                                       hback-porch = <80>;
+                                                       hsync-len = <32>;
+                                                       hsync-active = <1>;
+
+                                                       vactive = <1200>;
+                                                       vfront-porch = <3>;
+                                                       vback-porch = <26>;
+                                                       vsync-len = <6>;
+                                                       vsync-active = <1>;
+                                               };
+                                       };
+
+                                       port {
+                                               panel_input: endpoint {
+                                                       remote-endpoint = <&bridge_output>;
+                                               };
+                                       };
+                               };
+
+                               ports {
+                                       #address-cells = <1>;
+                                       #size-cells = <0>;
+
+                                       port@0 {
+                                               reg = <0>;
+
+                                               bridge_input: endpoint {
+                                                       remote-endpoint = <&dpi_output>;
+                                                       bus-width = <24>;
+                                               };
+                                       };
+
+                                       port@1 {
+                                               reg = <1>;
+
+                                               bridge_output: endpoint {
+                                                       remote-endpoint = <&panel_input>;
+                                               };
+                                       };
+                               };
                        };
                };
        };
 
-       panel: panel {
-               compatible = "panasonic,vvx10f004b00";
-
-               power-supply = <&vdd_pnl_reg>;
-               backlight = <&backlight>;
-
-               /delete-property/ enable-gpios;
-
-               display-timings {
-                       timing@0 {
-                               /* 1920x1200@60Hz */
-                               clock-frequency = <154000000>;
-
-                               hactive = <1920>;
-                               hfront-porch = <48>;
-                               hback-porch = <80>;
-                               hsync-len = <32>;
-                               hsync-active = <1>;
-
-                               vactive = <1200>;
-                               vfront-porch = <3>;
-                               vback-porch = <26>;
-                               vsync-len = <6>;
-                               vsync-active = <1>;
-                       };
-               };
-       };
+       /delete-node/ panel;
 
        vdd_1v2_mipi: regulator-mipi {
                compatible = "regulator-fixed";