Skip to contentSkip to conversation

ARM: dts: imx7s: Fix the port reg properties

RFC In review Fabio Estevam 1 participant 2 messages May 14, 2018 – Jun 28, 2018

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

RFC 1/1 ARM: dts: imx7s: Fix the port reg properties

From: Fabio Estevam <[email protected]>

The 'reg' property must match the unit address, so fix them to avoid the following DTC warnings with W=1:

arch/arm/boot/dts/imx7d-cl-som-imx7.dtb: Warning (graph_port): /replicator/ports/port at 2: graph node unit address error, expected "0" arch/arm/boot/dts/imx7d-cl-som-imx7.dtb: Warning (graph_port): /soc/funnel at 30041000/ports/port at 2: graph node unit address error, expected "0" arch/arm/boot/dts/imx7d-cl-som-imx7.dtb: Warning (graph_port): /soc/funnel at 30083000/ports/port at 2: graph node unit address error, expected "0" arch/arm/boot/dts/imx7d-cl-som-imx7.dtb: Warning (graph_port): /soc/etf at 30084000/ports/port at 1: graph node unit address error, expected "0"

---
Hi Rob,

Is this the correct way to fix these warnings?

 arch/arm/boot/dts/imx7s.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/imx7s.dtsi +4 -4
index 7d33993..55b6241 100644
@@ -126,7 +126,7 @@
 
 			/* replicator input port */
 			port at 2 {
-				reg = <0>;
+				reg = <2>;
 				replicator_in_port0: endpoint {
 					slave-mode;
 					remote-endpoint = <&etf_out_port>;
@@ -183,7 +183,7 @@
 
 				/* funnel output port */
 				port at 2 {
-					reg = <0>;
+					reg = <2>;
 					ca_funnel_out_port0: endpoint {
 						remote-endpoint = <&hugo_funnel_in_port0>;
 					};
@@ -234,7 +234,7 @@
 				};
 
 				port at 2 {
-					reg = <0>;
+					reg = <2>;
 					hugo_funnel_out_port0: endpoint {
 						remote-endpoint = <&etf_in_port>;
 					};
@@ -263,7 +263,7 @@
 				};
 
 				port at 1 {
-					reg = <0>;
+					reg = <1>;
 					etf_out_port: endpoint {
 						remote-endpoint = <&replicator_in_port0>;
 					};
Signature · 1 line
2.7.4
author reviewer
#1 lore raw

Hi Rob,

Quoted 10 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

The 'reg' property must match the unit address, so fix them to avoid the following DTC warnings with W=1:

arch/arm/boot/dts/imx7d-cl-som-imx7.dtb: Warning (graph_port): /replicator/ports/port at 2: graph node unit address error, expected "0" arch/arm/boot/dts/imx7d-cl-som-imx7.dtb: Warning (graph_port): /soc/funnel at 30041000/ports/port at 2: graph node unit address error, expected "0" arch/arm/boot/dts/imx7d-cl-som-imx7.dtb: Warning (graph_port): /soc/funnel at 30083000/ports/port at 2: graph node unit address error, expected "0" arch/arm/boot/dts/imx7d-cl-som-imx7.dtb: Warning (graph_port): /soc/etf at 30084000/ports/port at 1: graph node unit address error, expected "0"

Quoted 5 lines

---
Hi Rob,

Is this the correct way to fix these warnings?

Any suggestions, please? I would like to clean up these dtc warnings.

Thanks

Quoted 47 lines
 arch/arm/boot/dts/imx7s.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/imx7s.dtsi +4 -5
index 7d33993..55b6241 100644
@@ -126,7 +126,7 @@
 
                        /* replicator input port */
                        port at 2 {
-                               reg = <0>;
+                               reg = <2>;
                                replicator_in_port0: endpoint {
                                        slave-mode;
                                        remote-endpoint = <&etf_out_port>;
@@ -183,7 +183,7 @@
 
                                /* funnel output port */
                                port at 2 {
-                                       reg = <0>;
+                                       reg = <2>;
                                        ca_funnel_out_port0: endpoint {
                                                remote-endpoint = <&hugo_funnel_in_port0>;
                                        };
@@ -234,7 +234,7 @@
                                };
 
                                port at 2 {
-                                       reg = <0>;
+                                       reg = <2>;
                                        hugo_funnel_out_port0: endpoint {
                                                remote-endpoint = <&etf_in_port>;
                                        };
@@ -263,7 +263,7 @@
                                };
 
                                port at 1 {
-                                       reg = <0>;
+                                       reg = <1>;
                                        etf_out_port: endpoint {
                                                remote-endpoint = <&replicator_in_port0>;
                                        };
--

2.7.4