Commit c4953ba1 authored by Maxime Ripard's avatar Maxime Ripard

ARM: dts: sun9i: 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 109b7bfa
...@@ -89,31 +89,23 @@ vga_con_in: endpoint { ...@@ -89,31 +89,23 @@ vga_con_in: endpoint {
vga-dac { vga-dac {
compatible = "corpro,gm7123", "adi,adv7123", "dumb-vga-dac"; compatible = "corpro,gm7123", "adi,adv7123", "dumb-vga-dac";
vdd-supply = <&reg_dcdc1>; vdd-supply = <&reg_dcdc1>;
#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>;
}; };
}; };
...@@ -502,8 +494,7 @@ &tcon0 { ...@@ -502,8 +494,7 @@ &tcon0 {
}; };
&tcon0_out { &tcon0_out {
tcon0_out_vga: endpoint@0 { tcon0_out_vga: endpoint {
reg = <0>;
remote-endpoint = <&vga_dac_in>; remote-endpoint = <&vga_dac_in>;
}; };
}; };
......
...@@ -596,12 +596,9 @@ ports { ...@@ -596,12 +596,9 @@ ports {
#size-cells = <0>; #size-cells = <0>;
fe0_out: port@1 { fe0_out: port@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>; reg = <1>;
fe0_out_deu0: endpoint@0 { fe0_out_deu0: endpoint {
reg = <0>;
remote-endpoint = <&deu0_in_fe0>; remote-endpoint = <&deu0_in_fe0>;
}; };
}; };
...@@ -623,12 +620,9 @@ ports { ...@@ -623,12 +620,9 @@ ports {
#size-cells = <0>; #size-cells = <0>;
fe1_out: port@1 { fe1_out: port@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>; reg = <1>;
fe1_out_deu1: endpoint@0 { fe1_out_deu1: endpoint {
reg = <0>;
remote-endpoint = <&deu1_in_fe1>; remote-endpoint = <&deu1_in_fe1>;
}; };
}; };
...@@ -666,12 +660,9 @@ be0_in_deu1: endpoint@1 { ...@@ -666,12 +660,9 @@ be0_in_deu1: 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>;
}; };
}; };
...@@ -709,12 +700,9 @@ be1_in_deu1: endpoint@1 { ...@@ -709,12 +700,9 @@ be1_in_deu1: endpoint@1 {
}; };
be1_out: port@1 { be1_out: port@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>; reg = <1>;
be1_out_drc1: endpoint@0 { be1_out_drc1: endpoint {
reg = <0>;
remote-endpoint = <&drc1_in_be1>; remote-endpoint = <&drc1_in_be1>;
}; };
}; };
...@@ -738,12 +726,9 @@ ports { ...@@ -738,12 +726,9 @@ ports {
#size-cells = <0>; #size-cells = <0>;
deu0_in: port@0 { deu0_in: port@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>; reg = <0>;
deu0_in_fe0: endpoint@0 { deu0_in_fe0: endpoint {
reg = <0>;
remote-endpoint = <&fe0_out_deu0>; remote-endpoint = <&fe0_out_deu0>;
}; };
}; };
...@@ -783,12 +768,9 @@ ports { ...@@ -783,12 +768,9 @@ ports {
#size-cells = <0>; #size-cells = <0>;
deu1_in: port@0 { deu1_in: port@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>; reg = <0>;
deu1_in_fe1: endpoint@0 { deu1_in_fe1: endpoint {
reg = <0>;
remote-endpoint = <&fe1_out_deu1>; remote-endpoint = <&fe1_out_deu1>;
}; };
}; };
...@@ -828,23 +810,17 @@ ports { ...@@ -828,23 +810,17 @@ 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>;
}; };
}; };
drc0_out: port@1 { drc0_out: port@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>; reg = <1>;
drc0_out_tcon0: endpoint@0 { drc0_out_tcon0: endpoint {
reg = <0>;
remote-endpoint = <&tcon0_in_drc0>; remote-endpoint = <&tcon0_in_drc0>;
}; };
}; };
...@@ -868,23 +844,17 @@ ports { ...@@ -868,23 +844,17 @@ ports {
#size-cells = <0>; #size-cells = <0>;
drc1_in: port@0 { drc1_in: port@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>; reg = <0>;
drc1_in_be1: endpoint@0 { drc1_in_be1: endpoint {
reg = <0>;
remote-endpoint = <&be1_out_drc1>; remote-endpoint = <&be1_out_drc1>;
}; };
}; };
drc1_out: port@1 { drc1_out: port@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>; reg = <1>;
drc1_out_tcon1: endpoint@0 { drc1_out_tcon1: endpoint {
reg = <0>;
remote-endpoint = <&tcon1_in_drc1>; remote-endpoint = <&tcon1_in_drc1>;
}; };
}; };
...@@ -906,19 +876,14 @@ ports { ...@@ -906,19 +876,14 @@ ports {
#size-cells = <0>; #size-cells = <0>;
tcon0_in: port@0 { tcon0_in: port@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>; reg = <0>;
tcon0_in_drc0: endpoint@0 { tcon0_in_drc0: endpoint {
reg = <0>;
remote-endpoint = <&drc0_out_tcon0>; remote-endpoint = <&drc0_out_tcon0>;
}; };
}; };
tcon0_out: port@1 { tcon0_out: port@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>; reg = <1>;
}; };
}; };
...@@ -938,19 +903,14 @@ ports { ...@@ -938,19 +903,14 @@ ports {
#size-cells = <0>; #size-cells = <0>;
tcon1_in: port@0 { tcon1_in: port@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>; reg = <0>;
tcon1_in_drc1: endpoint@0 { tcon1_in_drc1: endpoint {
reg = <0>;
remote-endpoint = <&drc1_out_tcon1>; remote-endpoint = <&drc1_out_tcon1>;
}; };
}; };
tcon1_out: port@1 { tcon1_out: port@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>; reg = <1>;
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment