Skip to contentSkip to conversation

arm64: dts: juno: fix OF graph endpoint node names

PATCH New Rob Herring 9 participants 15 messages May 8, 2018 – May 25, 2018

Subsystems (5)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 arm64: dts: juno: fix OF graph endpoint node names

OF graph endpoint node names should be 'endpoint'. Fix the following warnings found by dtc:

Warning (graph_endpoint): /hdlcd at 7ff50000/port/hdlcd1-endpoint: graph endpont node nameshould be 'endpoint' Warning (graph_endpoint): /hdlcd at 7ff60000/port/hdlcd0-endpoint: graph endpont node nameshould be 'endpoint' Warning (graph_endpoint): /i2c at 7ffa0000/hdmi-transmitter at 70/port/tda998x-0-endpoint: graph endpont node name should be 'endpoint' Warning (graph_endpoint): /i2c at 7ffa0000/hdmi-transmitter at 71/port/tda998x-1-endpoint: graph endpont node name should be 'endpoint'

Cc Liviu Dudau <[email protected]>
Cc Sudeep Holla <[email protected]>
Cc Lorenzo Pieralisi <[email protected]>
---
 arch/arm64/boot/dts/arm/juno-base.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/arm/juno-base.dtsi +4 -4
index eb749c50a736..b2fedaab3fcc 100644
@@ -677,7 +677,7 @@
 		clock-names = "pxlclk";
 
 		port {
-			hdlcd1_output: hdlcd1-endpoint {
+			hdlcd1_output: endpoint {
 				remote-endpoint = <&tda998x_1_input>;
 			};
 		};
@@ -692,7 +692,7 @@
 		clock-names = "pxlclk";
 
 		port {
-			hdlcd0_output: hdlcd0-endpoint {
+			hdlcd0_output: endpoint {
 				remote-endpoint = <&tda998x_0_input>;
 			};
 		};
@@ -720,7 +720,7 @@
 			compatible = "nxp,tda998x";
 			reg = <0x70>;
 			port {
-				tda998x_0_input: tda998x-0-endpoint {
+				tda998x_0_input: endpoint {
 					remote-endpoint = <&hdlcd0_output>;
 				};
 			};
@@ -730,7 +730,7 @@
 			compatible = "nxp,tda998x";
 			reg = <0x71>;
 			port {
-				tda998x_1_input: tda998x-1-endpoint {
+				tda998x_1_input: endpoint {
 					remote-endpoint = <&hdlcd1_output>;
 				};
 			};
Signature · 1 line
2.17.0
author maintainer
#1 lore raw

PATCH 1/1 arm64: dts: juno: fix missing Coresight STM graph connection

OF graph endpoint connections must be bidirectional. Fix 2 missing connections to the STM output port:

arch/arm64/boot/dts/arm/juno-r1.dtb: Warning (graph_endpoint): /stm at 20100000/port/endpoint: graph connection to node '/funnel at 20130000/ports/port at 1/endpoint' is not bidirectional arch/arm64/boot/dts/arm/juno-r2.dtb: Warning (graph_endpoint): /stm at 20100000/port/endpoint: graph connection to node '/funnel at 20130000/ports/port at 1/endpoint' is not bidirectional

Fixes cde6f9ab10c6 ("arm64: dts: juno: add missing CoreSight STM component")
Cc Mathieu Poirier <[email protected]>
Cc Suzuki K Poulose <[email protected]>
Cc Mike Leach <[email protected]>
Cc Liviu Dudau <[email protected]>
Cc Sudeep Holla <[email protected]>
Cc Lorenzo Pieralisi <[email protected]>
---
 arch/arm64/boot/dts/arm/juno-r1.dts | 4 ++++
 arch/arm64/boot/dts/arm/juno-r2.dts | 4 ++++
 2 files changed, 8 insertions(+)
arch/arm64/boot/dts/arm/juno-r1.dts +4 -0
index aed6389468c4..c52c5c40dede 100644
@@ -278,6 +278,10 @@
 	remote-endpoint = <&csys2_funnel_out_port>;
 };
 
+&csys1_funnel_in_port0 {
+	remote-endpoint = <&stm_out_port>;
+};
+
 &stm_out_port {
 	remote-endpoint = <&csys1_funnel_in_port0>;
 };
arch/arm64/boot/dts/arm/juno-r2.dts +4 -0
index b39b6d6ec5aa..a90982ceda35 100644
@@ -278,6 +278,10 @@
 	remote-endpoint = <&csys2_funnel_out_port>;
 };
 
+&csys1_funnel_in_port0 {
+	remote-endpoint = <&stm_out_port>;
+};
+
 &stm_out_port {
 	remote-endpoint = <&csys1_funnel_in_port0>;
 };
Signature · 1 line
2.17.0
author maintainer
#2 lore raw

PATCH 1/1 arm64: dts: msm8916: fix Coresight ETF graph connections

In reply to Rob Herring

The ETF input should be connected to the funnel output, and the ETF output should be connected to the replicator input. The labels are wrong and these got swapped:

Warning (graph_endpoint): /soc/funnel at 821000/ports/port at 8/endpoint: graph connection to node '/soc/etf at 825000/ports/port at 1/endpoint' is not bidirectional Warning (graph_endpoint): /soc/replicator at 824000/ports/port at 2/endpoint: graph connection to node '/soc/etf at 825000/ports/port at 0/endpoint' is not bidirectional

Fixes 7c10da373698 ("arm64: dts: qcom: Add msm8916 CoreSight components")
Cc Ivan T. Ivanov <[email protected]>
Cc Mathieu Poirier <[email protected]>
Cc Andy Gross <[email protected]>
Cc David Brown <[email protected]>
Cc linux-arm-msm at vger.kernel.org
---
 arch/arm64/boot/dts/qcom/msm8916.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/msm8916.dtsi +2 -2
index 66b318e1de80..aef814b2dc9e 100644
@@ -1191,14 +1191,14 @@
 
 				port at 0 {
 					reg = <0>;
-					etf_out: endpoint {
+					etf_in: endpoint {
 						slave-mode;
 						remote-endpoint = <&funnel0_out>;
 					};
 				};
 				port at 1 {
 					reg = <0>;
-					etf_in: endpoint {
+					etf_out: endpoint {
 						remote-endpoint = <&replicator_in>;
 					};
 				};
Signature · 1 line
2.17.0
author maintainer
#3 lore raw

PATCH 1/1 arm64: dts: msm8916: fix Coresight ETF graph connections

Quoted 14 lines · Rob Herring

The ETF input should be connected to the funnel output, and the ETF output should be connected to the replicator input. The labels are wrong and these got swapped:

Warning (graph_endpoint): /soc/funnel at 821000/ports/port at 8/endpoint: graph connection to node '/soc/etf at 825000/ports/port at 1/endpoint' is not bidirectional Warning (graph_endpoint): /soc/replicator at 824000/ports/port at 2/endpoint: graph connection to node '/soc/etf at 825000/ports/port at 0/endpoint' is not bidirectional

Fixes 7c10da373698 ("arm64: dts: qcom: Add msm8916 CoreSight components")
Cc Ivan T. Ivanov <[email protected]>
Cc Mathieu Poirier <[email protected]>
Cc Andy Gross <[email protected]>
Cc David Brown <[email protected]>
Cc linux-arm-msm at vger.kernel.org
Quoted 3 lines
---
 arch/arm64/boot/dts/qcom/msm8916.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Ping. Still seeing warnings in -next for these.

Rob

#4 lore raw

PATCH 1/1 arm64: dts: msm8916: fix Coresight ETF graph connections

Quoting Rob Herring (2018-05-23 23:29:29)

Quoted 19 lines · Rob Herring
Quoted 14 lines

The ETF input should be connected to the funnel output, and the ETF output should be connected to the replicator input. The labels are wrong and these got swapped:

Warning (graph_endpoint): /soc/funnel at 821000/ports/port at 8/endpoint: graph connection to node '/soc/etf at 825000/ports/port at 1/endpoint' is not bidirectional Warning (graph_endpoint): /soc/replicator at 824000/ports/port at 2/endpoint: graph connection to node '/soc/etf at 825000/ports/port at 0/endpoint' is not bidirectional

Fixes 7c10da373698 ("arm64: dts: qcom: Add msm8916 CoreSight components")
Cc Ivan T. Ivanov <[email protected]>
Cc Mathieu Poirier <[email protected]>
Cc Andy Gross <[email protected]>
Cc David Brown <[email protected]>
Cc linux-arm-msm at vger.kernel.org
Quoted 3 lines
---
 arch/arm64/boot/dts/qcom/msm8916.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Quoted 2 lines

Ping. Still seeing warnings in -next for these.

Hi Rob,

I no longer have access to this hardware and documentation. I am sure that Mathieu and friends will take care for verification of this patch :-)

Regards,
Ivan

#5 lore raw

PATCH 1/1 arm64: dts: msm8916: fix Coresight ETF graph connections

Quoted 20 lines · Ivan T. Ivanov

Quoting Rob Herring (2018-05-23 23:29:29)

Quoted 19 lines · Rob Herring
Quoted 17 lines

The ETF input should be connected to the funnel output, and the ETF output should be connected to the replicator input. The labels are wrong and these got swapped:

Warning (graph_endpoint): /soc/funnel at 821000/ports/port at 8/endpoint: graph connection to node '/soc/etf at 825000/ports/port at 1/endpoint' is not bidirectional Warning (graph_endpoint): /soc/replicator at 824000/ports/port at 2/endpoint: graph connection to node '/soc/etf at 825000/ports/port at 0/endpoint' is not bidirectional

Fixes 7c10da373698 ("arm64: dts: qcom: Add msm8916 CoreSight components")
Cc Ivan T. Ivanov <[email protected]>
Cc Mathieu Poirier <[email protected]>
Cc Andy Gross <[email protected]>
Cc David Brown <[email protected]>
Cc linux-arm-msm at vger.kernel.org
---
 arch/arm64/boot/dts/qcom/msm8916.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Quoted 8 lines
Quoted 2 lines

Ping. Still seeing warnings in -next for these.

Hi Rob,

I no longer have access to this hardware and documentation. I am sure that Mathieu and friends will take care for verification of this patch :-)

The code triggers on the "slave-mode" property rather than the labels, so this patch has no effect on how a path is established. I've tested this on a 410c and things look good.

Quoted 4 lines

Regards,
Ivan

#6 lore raw

PATCH 1/1 arm64: dts: msm8916: fix Coresight ETF graph connections

On Thu, May 24, 2018 at 10:32:46AM -0600, Mathieu Poirier wrote:

<snip>

Quoted 7 lines
Quoted 6 lines

Hi Rob,

I no longer have access to this hardware and documentation. I am sure that Mathieu and friends will take care for verification of this patch :-)

Quoted 6 lines

The code triggers on the "slave-mode" property rather than the labels, so this patch has no effect on how a path is established. I've tested this on a 410c and things look good.

Thanks for verifying this Matthew. I'll put this in for a fixes as I just sent out my last set for 4.18.

Regards,

Andy

author maintainer
#7 lore raw

PATCH 1/1 arm64: dts: sprd: fix typo in 'remote-endpoint'

In reply to Rob Herring

dtc now warns on incomplete OF graph endpoint connections:

arch/arm64/boot/dts/sprd/sp9860g-1h10.dtb: Warning (graph_endpoint): /soc/stm at 10006000/port/endpoint: graph connection to node '/soc/funnel at 10001000/ports/port at 2/endpoint' is not bidirectional

The cause is a typo in 'remote-endpoint'.

Cc Orson Zhai <[email protected]>
Cc Baolin Wang <[email protected]>
Cc Chunyan Zhang <[email protected]>
---
 arch/arm64/boot/dts/sprd/sc9860.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/sprd/sc9860.dtsi +1 -1
index 5dbfb796d9f9..dcd03ffcda03 100644
@@ -326,7 +326,7 @@
 					reg = <4>;
 					soc_funnel_in_port1: endpoint {
 						slave-mode;
-						remote-endpioint =
+						remote-endpoint =
 							<&stm_out_port>;
 					};
 				};
Signature · 1 line
2.17.0
reviewer
#8 lore raw

PATCH 1/1 arm64: dts: sprd: fix typo in 'remote-endpoint'

Hi Rob,

Quoted 5 lines · Rob Herring

dtc now warns on incomplete OF graph endpoint connections:

arch/arm64/boot/dts/sprd/sp9860g-1h10.dtb: Warning (graph_endpoint): /soc/stm at 10006000/port/endpoint: graph connection to node '/soc/funnel at 10001000/ports/port at 2/endpoint' is not bidirectional

The cause is a typo in 'remote-endpoint'.

Thanks for fixing this and,

Quoted 25 lines
Cc Orson Zhai <[email protected]>
Cc Baolin Wang <[email protected]>
Cc Chunyan Zhang <[email protected]>
---
 arch/arm64/boot/dts/sprd/sc9860.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/sprd/sc9860.dtsi +1 -2
index 5dbfb796d9f9..dcd03ffcda03 100644
@@ -326,7 +326,7 @@
                                        reg = <4>;
                                        soc_funnel_in_port1: endpoint {
                                                slave-mode;
-                                               remote-endpioint =
+                                               remote-endpoint =
                                                        <&stm_out_port>;
                                        };
                                };
--

2.17.0

author maintainer
#9 lore raw

PATCH 1/1 arm64: dts: sprd: fix typo in 'remote-endpoint'

Quoted 5 lines · Chunyan Zhang

Hi Rob,

Quoted 2 lines · Rob Herring

dtc now warns on incomplete OF graph endpoint connections:

Quoted 7 lines
Quoted 3 lines

arch/arm64/boot/dts/sprd/sp9860g-1h10.dtb: Warning (graph_endpoint): /soc/stm at 10006000/port/endpoint: graph connection to node '/soc/funnel at 10001000/ports/port at 2/endpoint' is not bidirectional

The cause is a typo in 'remote-endpoint'.

Thanks for fixing this and,

Is someone going to apply this? Still seeing warnings in linux-next.

Rob

#10 lore raw

PATCH 1/1 arm64: dts: sprd: fix typo in 'remote-endpoint'

Quoted 8 lines · Rob Herring
Quoted 7 lines · Chunyan Zhang

Hi Rob,

Quoted 4 lines · Rob Herring

dtc now warns on incomplete OF graph endpoint connections:

arch/arm64/boot/dts/sprd/sp9860g-1h10.dtb: Warning (graph_endpoint): /soc/stm at 10006000/port/endpoint: graph connection to node '/soc/funnel at 10001000/ports/port at 2/endpoint' is not bidirectional

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

The cause is a typo in 'remote-endpoint'.

Thanks for fixing this and,

Is someone going to apply this? Still seeing warnings in linux-next.

I think Arnd will pick up this patch.

Signature · 2 lines
Baolin.wang
Best Regards
reviewer
#11 lore raw

PATCH 1/1 arm64: dts: sprd: fix typo in 'remote-endpoint'

In reply to Rob Herring

Hi Arnd, Olof

Could you please take this patch through arm-soc git?

Thanks,
Chunyan

Quoted 17 lines · Rob Herring
Quoted 5 lines · Chunyan Zhang

Hi Rob,

Quoted 2 lines · Rob Herring

dtc now warns on incomplete OF graph endpoint connections:

Quoted 7 lines
Quoted 3 lines

arch/arm64/boot/dts/sprd/sp9860g-1h10.dtb: Warning (graph_endpoint): /soc/stm at 10006000/port/endpoint: graph connection to node '/soc/funnel at 10001000/ports/port at 2/endpoint' is not bidirectional

The cause is a typo in 'remote-endpoint'.

Thanks for fixing this and,

Is someone going to apply this? Still seeing warnings in linux-next.

Rob

#12 lore raw

PATCH 1/1 arm64: dts: sprd: fix typo in 'remote-endpoint'

Quoted 3 lines · Chunyan Zhang

Hi Arnd, Olof

Could you please take this patch through arm-soc git?

Applied.

-Olof

maintainer
#13 lore raw

PATCH 1/1 arm64: dts: juno: fix OF graph endpoint node names

In reply to Rob Herring
Quoted 9 lines · Rob Herring

OF graph endpoint node names should be 'endpoint'. Fix the following warnings found by dtc:

Warning (graph_endpoint): /hdlcd at 7ff50000/port/hdlcd1-endpoint: graph endpont node nameshould be 'endpoint' Warning (graph_endpoint): /hdlcd at 7ff60000/port/hdlcd0-endpoint: graph endpont node nameshould be 'endpoint' Warning (graph_endpoint): /i2c at 7ffa0000/hdmi-transmitter at 70/port/tda998x-0-endpoint: graph endpont node name should be 'endpoint' Warning (graph_endpoint): /i2c at 7ffa0000/hdmi-transmitter at 71/port/tda998x-1-endpoint: graph endpont node name should be 'endpoint'

Cc Liviu Dudau <[email protected]>

Thanks for this!
Liviu

Quoted 50 lines
Cc Sudeep Holla <[email protected]>
Cc Lorenzo Pieralisi <[email protected]>
---
 arch/arm64/boot/dts/arm/juno-base.dtsi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/arm/juno-base.dtsi +4 -4
index eb749c50a736..b2fedaab3fcc 100644
@@ -677,7 +677,7 @@
 		clock-names = "pxlclk";
 
 		port {
-			hdlcd1_output: hdlcd1-endpoint {
+			hdlcd1_output: endpoint {
 				remote-endpoint = <&tda998x_1_input>;
 			};
 		};
@@ -692,7 +692,7 @@
 		clock-names = "pxlclk";
 
 		port {
-			hdlcd0_output: hdlcd0-endpoint {
+			hdlcd0_output: endpoint {
 				remote-endpoint = <&tda998x_0_input>;
 			};
 		};
@@ -720,7 +720,7 @@
 			compatible = "nxp,tda998x";
 			reg = <0x70>;
 			port {
-				tda998x_0_input: tda998x-0-endpoint {
+				tda998x_0_input: endpoint {
 					remote-endpoint = <&hdlcd0_output>;
 				};
 			};
@@ -730,7 +730,7 @@
 			compatible = "nxp,tda998x";
 			reg = <0x71>;
 			port {
-				tda998x_1_input: tda998x-1-endpoint {
+				tda998x_1_input: endpoint {
 					remote-endpoint = <&hdlcd1_output>;
 				};
 			};
Signature · 1 line
2.17.0
Signature · 8 lines
====================
| I would like to |
| fix the world,  |
| but they're not |
| giving me the   |
 \ source code!  /
  ---------------
    ?\_(?)_/?
#14 lore raw

PATCH 1/1 arm64: dts: juno: fix OF graph endpoint node names

In reply to Rob Herring
Quoted 8 lines · Rob Herring

OF graph endpoint node names should be 'endpoint'. Fix the following warnings found by dtc:

Warning (graph_endpoint): /hdlcd at 7ff50000/port/hdlcd1-endpoint: graph endpont node nameshould be 'endpoint' Warning (graph_endpoint): /hdlcd at 7ff60000/port/hdlcd0-endpoint: graph endpont node nameshould be 'endpoint' Warning (graph_endpoint): /i2c at 7ffa0000/hdmi-transmitter at 70/port/tda998x-0-endpoint: graph endpont node name should be 'endpoint' Warning (graph_endpoint): /i2c at 7ffa0000/hdmi-transmitter at 71/port/tda998x-1-endpoint: graph endpont node name should be 'endpoint'

Quoted 4 lines
Cc Liviu Dudau <[email protected]>
Cc Sudeep Holla <[email protected]>
Cc Lorenzo Pieralisi <[email protected]>

Thanks Robs, both patches applied.

Signature · 2 lines
Regards,
Sudeep