Thread (52 messages) 52 messages, 9 authors, 2018-07-03
STALE2896d

[PATCH 13/20] dts: qcom: Update coresight bindings for hw ports

From: suzuki.poulose@arm.com (Suzuki K Poulose)
Date: 2018-06-05 21:47:03
Also in: linux-devicetree, lkml
Subsystem: arm/qualcomm mailing list, arm/qualcomm support, the rest · Maintainers: Bjorn Andersson, Konrad Dybcio, Linus Torvalds

Switch to updated coresight bindings for hw ports

Cc: Andy Gross <redacted>
Cc: David Brown <redacted>
Cc: Ivan T. Ivanov <redacted>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
---
 arch/arm64/boot/dts/qcom/msm8916.dtsi | 55 ++++++++++++++++++++++++++---------
 1 file changed, 41 insertions(+), 14 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index 66b318e..40da823 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -1101,8 +1101,9 @@
 
 			port {
 				tpiu_in: endpoint {
-					slave-mode;
+					direction = <0>;
 					remote-endpoint = <&replicator_out1>;
+					coresight,hwid = <0>;
 				};
 			};
 		};
@@ -1132,14 +1133,17 @@
 				port at 4 {
 					reg = <4>;
 					funnel0_in4: endpoint {
-						slave-mode;
+						direction = <0>;
 						remote-endpoint = <&funnel1_out>;
+						coresight,hwid = <4>;
 					};
 				};
 				port at 8 {
-					reg = <0>;
+					reg = <8>;
 					funnel0_out: endpoint {
+						direction = <1>;
 						remote-endpoint = <&etf_in>;
+						coresight,hwid = <0>;
 					};
 				};
 			};
@@ -1159,20 +1163,25 @@
 				port at 0 {
 					reg = <0>;
 					replicator_out0: endpoint {
+						direction = <1>;
 						remote-endpoint = <&etr_in>;
+						coresight,hwid = <0>;
 					};
 				};
 				port at 1 {
 					reg = <1>;
 					replicator_out1: endpoint {
+						direction = <1>;
 						remote-endpoint = <&tpiu_in>;
+						coresight,hwid = <1>;
 					};
 				};
 				port at 2 {
-					reg = <0>;
+					reg = <2>;
 					replicator_in: endpoint {
-						slave-mode;
+						direction = <0>;
 						remote-endpoint = <&etf_out>;
+						coresight,hwid = <0>;
 					};
 				};
 			};
@@ -1192,14 +1201,17 @@
 				port at 0 {
 					reg = <0>;
 					etf_out: endpoint {
-						slave-mode;
+						direction = <0>;
 						remote-endpoint = <&funnel0_out>;
+						coresight,hwid = <0>;
 					};
 				};
 				port at 1 {
-					reg = <0>;
+					reg = <1>;
 					etf_in: endpoint {
+						direction = <1>;
 						remote-endpoint = <&replicator_in>;
+						coresight,hwid = <0>;
 					};
 				};
 			};
@@ -1214,8 +1226,9 @@
 
 			port {
 				etr_in: endpoint {
-					slave-mode;
+					direction = <0>;
 					remote-endpoint = <&replicator_out0>;
+					coresight,hwid = <0>;
 				};
 			};
 		};
@@ -1234,35 +1247,41 @@
 				port at 0 {
 					reg = <0>;
 					funnel1_in0: endpoint {
-						slave-mode;
+						direction = <0>;
 						remote-endpoint = <&etm0_out>;
+						coresight,hwid = <0>;
 					};
 				};
 				port at 1 {
 					reg = <1>;
 					funnel1_in1: endpoint {
-						slave-mode;
+						direction = <0>;
 						remote-endpoint = <&etm1_out>;
+						coresight,hwid = <1>;
 					};
 				};
 				port at 2 {
 					reg = <2>;
 					funnel1_in2: endpoint {
-						slave-mode;
+						direction = <0>;
 						remote-endpoint = <&etm2_out>;
+						coresight,hwid = <2>;
 					};
 				};
 				port at 3 {
 					reg = <3>;
 					funnel1_in3: endpoint {
-						slave-mode;
+						direction = <0>;
 						remote-endpoint = <&etm3_out>;
+						coresight,hwid = <3>;
 					};
 				};
 				port at 4 {
-					reg = <0>;
+					reg = <4>;
 					funnel1_out: endpoint {
+						direction = <1>;
 						remote-endpoint = <&funnel0_in4>;
+						coresight,hwid = <0>;
 					};
 				};
 			};
@@ -1311,7 +1330,9 @@
 
 			port {
 				etm0_out: endpoint {
-				remote-endpoint = <&funnel1_in0>;
+					direction = <1>;
+					remote-endpoint = <&funnel1_in0>;
+					coresight,hwid = <0>;
 				};
 			};
 		};
@@ -1327,7 +1348,9 @@
 
 			port {
 				etm1_out: endpoint {
+					direction = <1>;
 					remote-endpoint = <&funnel1_in1>;
+					coresight,hwid = <0>;
 				};
 			};
 		};
@@ -1343,7 +1366,9 @@
 
 			port {
 				etm2_out: endpoint {
+					direction = <1>;
 					remote-endpoint = <&funnel1_in2>;
+					coresight,hwid = <0>;
 				};
 			};
 		};
@@ -1359,7 +1384,9 @@
 
 			port {
 				etm3_out: endpoint {
+					direction = <1>;
 					remote-endpoint = <&funnel1_in3>;
+					coresight,hwid = <0>;
 				};
 			};
 		};
-- 
2.7.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help