Unverified Commit 73b65f45 authored by Maxime Ripard's avatar Maxime Ripard
Browse files

ARM: dts: sun6i: Fix Display Engine DTC warnings



Our display engine endpoints trigger some DTC warnings due to the fact that
we're having a single endpoint that doesn't need any reg property, and
since we don't have a reg property, we don't need the address-cells and
size-cells properties anymore.

Fix those

Acked-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
parent a8735656
Loading
Loading
Loading
Loading
+2 −10
Original line number Original line Diff line number Diff line
@@ -86,31 +86,23 @@ vga_con_in: endpoint {
	vga-dac {
	vga-dac {
		compatible = "dumb-vga-dac";
		compatible = "dumb-vga-dac";
		vdd-supply = <&reg_vga_3v3>;
		vdd-supply = <&reg_vga_3v3>;
		#address-cells = <1>;
		#size-cells = <0>;


		ports {
		ports {
			#address-cells = <1>;
			#address-cells = <1>;
			#size-cells = <0>;
			#size-cells = <0>;


			port@0 {
			port@0 {
				#address-cells = <1>;
				#size-cells = <0>;
				reg = <0>;
				reg = <0>;


				vga_dac_in: endpoint@0 {
				vga_dac_in: endpoint {
					reg = <0>;
					remote-endpoint = <&tcon0_out_vga>;
					remote-endpoint = <&tcon0_out_vga>;
				};
				};
			};
			};


			port@1 {
			port@1 {
				#address-cells = <1>;
				#size-cells = <0>;
				reg = <1>;
				reg = <1>;


				vga_dac_out: endpoint@0 {
				vga_dac_out: endpoint {
					reg = <0>;
					remote-endpoint = <&vga_con_in>;
					remote-endpoint = <&vga_con_in>;
				};
				};
			};
			};
+2 −10
Original line number Original line Diff line number Diff line
@@ -491,8 +491,6 @@ hdmi_in_tcon1: endpoint@1 {
				};
				};


				hdmi_out: port@1 {
				hdmi_out: port@1 {
					#address-cells = <1>;
					#size-cells = <0>;
					reg = <1>;
					reg = <1>;
				};
				};
			};
			};
@@ -1229,12 +1227,9 @@ be0_in_fe1: endpoint@1 {
				};
				};


				be0_out: port@1 {
				be0_out: port@1 {
					#address-cells = <1>;
					#size-cells = <0>;
					reg = <1>;
					reg = <1>;


					be0_out_drc0: endpoint@0 {
					be0_out_drc0: endpoint {
						reg = <0>;
						remote-endpoint = <&drc0_in_be0>;
						remote-endpoint = <&drc0_in_be0>;
					};
					};
				};
				};
@@ -1259,12 +1254,9 @@ ports {
				#size-cells = <0>;
				#size-cells = <0>;


				drc0_in: port@0 {
				drc0_in: port@0 {
					#address-cells = <1>;
					#size-cells = <0>;
					reg = <0>;
					reg = <0>;


					drc0_in_be0: endpoint@0 {
					drc0_in_be0: endpoint {
						reg = <0>;
						remote-endpoint = <&be0_out_drc0>;
						remote-endpoint = <&be0_out_drc0>;
					};
					};
				};
				};