]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: sm8650: add all 8 coresight ETE nodes
authorNeil Armstrong <neil.armstrong@linaro.org>
Thu, 27 Feb 2025 08:55:26 +0000 (09:55 +0100)
committerBjorn Andersson <andersson@kernel.org>
Wed, 5 Mar 2025 02:14:25 +0000 (20:14 -0600)
Only CPU0 Embedded Trace Extension (ETE) was added, but there's one
for all 8 CPUs, so add the missing ones.

Fixes: 256e6937e48a ("arm64: dts: qcom: sm8650: Add coresight nodes")
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250227-topic-sm8650-upstream-add-all-coresight-cpus-v3-1-48ae516be0d5@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8650.dtsi

index 719ad437756a499cee4170abccc83f2047f0f747..d5037cc306c25fc0eeede9c33c2b4d561631867b 100644 (file)
                };
        };
 
-       ete0 {
+       ete-0 {
                compatible = "arm,embedded-trace-extension";
 
                cpu = <&cpu0>;
                };
        };
 
+       ete-1 {
+               compatible = "arm,embedded-trace-extension";
+
+               cpu = <&cpu1>;
+
+               out-ports {
+                       port {
+                               ete1_out_funnel_ete: endpoint {
+                                       remote-endpoint = <&funnel_ete_in_ete1>;
+                               };
+                       };
+               };
+       };
+
+       ete-2 {
+               compatible = "arm,embedded-trace-extension";
+
+               cpu = <&cpu2>;
+
+               out-ports {
+                       port {
+                               ete2_out_funnel_ete: endpoint {
+                                       remote-endpoint = <&funnel_ete_in_ete2>;
+                               };
+                       };
+               };
+       };
+
+       ete-3 {
+               compatible = "arm,embedded-trace-extension";
+
+               cpu = <&cpu3>;
+
+               out-ports {
+                       port {
+                               ete3_out_funnel_ete: endpoint {
+                                       remote-endpoint = <&funnel_ete_in_ete3>;
+                               };
+                       };
+               };
+       };
+
+       ete-4 {
+               compatible = "arm,embedded-trace-extension";
+
+               cpu = <&cpu4>;
+
+               out-ports {
+                       port {
+                               ete4_out_funnel_ete: endpoint {
+                                       remote-endpoint = <&funnel_ete_in_ete4>;
+                               };
+                       };
+               };
+       };
+
+       ete-5 {
+               compatible = "arm,embedded-trace-extension";
+
+               cpu = <&cpu5>;
+
+               out-ports {
+                       port {
+                               ete5_out_funnel_ete: endpoint {
+                                       remote-endpoint = <&funnel_ete_in_ete5>;
+                               };
+                       };
+               };
+       };
+
+       ete-6 {
+               compatible = "arm,embedded-trace-extension";
+
+               cpu = <&cpu6>;
+
+               out-ports {
+                       port {
+                               ete6_out_funnel_ete: endpoint {
+                                       remote-endpoint = <&funnel_ete_in_ete6>;
+                               };
+                       };
+               };
+       };
+
+       ete-7 {
+               compatible = "arm,embedded-trace-extension";
+
+               cpu = <&cpu7>;
+
+               out-ports {
+                       port {
+                               ete7_out_funnel_ete: endpoint {
+                                       remote-endpoint = <&funnel_ete_in_ete7>;
+                               };
+                       };
+               };
+       };
+
        funnel-ete {
                compatible = "arm,coresight-static-funnel";
 
                in-ports {
-                       port {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       port@0 {
+                               reg = <0>;
+
                                funnel_ete_in_ete0: endpoint {
                                        remote-endpoint = <&ete0_out_funnel_ete>;
                                };
                        };
+
+                       port@1 {
+                               reg = <1>;
+
+                               funnel_ete_in_ete1: endpoint {
+                                       remote-endpoint = <&ete1_out_funnel_ete>;
+                               };
+                       };
+
+                       port@2 {
+                               reg = <2>;
+
+                               funnel_ete_in_ete2: endpoint {
+                                       remote-endpoint = <&ete2_out_funnel_ete>;
+                               };
+                       };
+
+                       port@3 {
+                               reg = <3>;
+
+                               funnel_ete_in_ete3: endpoint {
+                                       remote-endpoint = <&ete3_out_funnel_ete>;
+                               };
+                       };
+
+                       port@4 {
+                               reg = <4>;
+
+                               funnel_ete_in_ete4: endpoint {
+                                       remote-endpoint = <&ete4_out_funnel_ete>;
+                               };
+                       };
+
+                       port@5 {
+                               reg = <5>;
+
+                               funnel_ete_in_ete5: endpoint {
+                                       remote-endpoint = <&ete5_out_funnel_ete>;
+                               };
+                       };
+
+                       port@6 {
+                               reg = <6>;
+
+                               funnel_ete_in_ete6: endpoint {
+                                       remote-endpoint = <&ete6_out_funnel_ete>;
+                               };
+                       };
+
+                       port@7 {
+                               reg = <7>;
+
+                               funnel_ete_in_ete7: endpoint {
+                                       remote-endpoint = <&ete7_out_funnel_ete>;
+                               };
+                       };
                };
 
                out-ports {