mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jie Gan <jie.gan@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Abel Vesa <abelvesa@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Tingwei Zhang <tingwei.zhang@oss.qualcomm.com>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 4/4] arm64: dts: qcom: glymur: Add CoreSight nodes for APSS debug block
Date: Fri, 27 Nov 2026 12:34:08 +0800	[thread overview]
Message-ID: <8d0150ef-a8f2-41ac-9128-9d887cbae6b8@oss.qualcomm.com> (raw)
In-Reply-To: <20261127-add-etm-devices-for-multiple-qcom-platforms-v2-4-42d47474a67a@qti.qualcomm.com>



On 11/27/2026 11:10 AM, Jie Gan wrote:
> The APSS debug block is built with CoreSight devices like ETM,
> replicator, funnel and TMC ETF. Add dt nodes for these devices to
> enable ETM trace.
> 
> The replicator, funnel and TMC ETF nodes in this block are physically
> powered by the CPU cluster power rail rather than by a dedicated
> always-on rail. Add a power-domains property referencing the
> corresponding cluster_pdN domain to each of these nodes, so their
> power state is tied to the CPU cluster domain and the runtime PM core
> can power the domain on before the devices are accessed and let it be
> powered off otherwise.
> 
> Mahua is based on glymur but only has 12 CPUs across two clusters
> instead of 18 across three, so delete the ETM and cluster2 CoreSight
> nodes that have no corresponding CPUs on that platform.
> 
> Kalambo is based on Mahua with the first CPU cluster removed, so also
> delete the ETM and cluster0 CoreSight nodes there.
> 
> Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
> ---
>   arch/arm64/boot/dts/qcom/glymur.dtsi  | 1184 +++++++++++++++++++++++++++++++++
>   arch/arm64/boot/dts/qcom/kalambo.dtsi |   16 +
>   arch/arm64/boot/dts/qcom/mahua.dtsi   |   16 +
>   3 files changed, 1216 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/glymur.dtsi b/arch/arm64/boot/dts/qcom/glymur.dtsi
> index 165dfa11f17f..9dd23a52fb2b 100644
> --- a/arch/arm64/boot/dts/qcom/glymur.dtsi
> +++ b/arch/arm64/boot/dts/qcom/glymur.dtsi
> @@ -397,6 +397,312 @@ eud_in: endpoint {
>   		};
>   	};
>   

[...]

>   
> @@ -7837,6 +8151,51 @@ pcie_rscc_tpda_out: endpoint {
>   			};
>   		};
>   
> +		funnel@12080000 {
> +			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
> +			reg = <0x0 0x12080000 0x0 0x1000>;
> +

Sashiko reported this node is out of order and I confirmed its valid.

Will fix it with new version.

Thanks,
Jie

> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +
> +			in-ports {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +
> +				apss_funnel_port0: port@0 {
> +					reg = <0>;
> +
> +					apss_funnel_in0: endpoint {
> +						remote-endpoint = <&ncc0_etf_out>;
> +					};
> +				};
> +
> +				port@1 {
> +					reg = <1>;
> +
> +					apss_funnel_in1: endpoint {
> +						remote-endpoint = <&ncc1_etf_out>;
> +					};
> +				};
> +
> +				apss_funnel_port2: port@2 {
> +					reg = <2>;
> +
> +					apss_funnel_in2: endpoint {
> +						remote-endpoint = <&ncc2_etf_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					apss_funnel_out: endpoint {
> +						remote-endpoint = <&tn_ag_in54>;
> +					};
> +				};
> +			};
> +		};
> +
>   		tpdm@11c03000 {
>   			compatible = "qcom,coresight-tpdm", "arm,primecell";
>   			reg = <0x0 0x11c03000 0x0 0x1000>;
> @@ -8514,6 +8873,831 @@ rpmhpd_opp_turbo_l1: opp-416 {
>   			};
>   		};
>   
> +		cluster0_funnel_l2: funnel@1d021000 {
> +			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
> +			reg = <0x0 0x1d021000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster0_pd>;
> +
> +			in-ports {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +
> +				port@2 {
> +					reg = <2>;
> +
> +					ncc0_2_funnel_in2: endpoint {
> +						remote-endpoint = <&ncc0_1_funnel_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc0_2_funnel_out: endpoint {
> +						remote-endpoint = <&ncc0_etf_in>;
> +					};
> +				};
> +			};
> +		};
> +
> +		cluster0_etf: tmc@1d029000 {
> +			compatible = "arm,coresight-tmc", "arm,primecell";
> +			reg = <0x0 0x1d029000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster0_pd>;
> +
> +			in-ports {
> +				port {
> +					ncc0_etf_in: endpoint {
> +						remote-endpoint = <&ncc0_2_funnel_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc0_etf_out: endpoint {
> +						remote-endpoint = <&apss_funnel_in0>;
> +					};
> +				};
> +			};
> +		};
> +
> +		cluster0_funnel_l1: funnel@1d081000 {
> +			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
> +			reg = <0x0 0x1d081000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster0_pd>;
> +
> +			in-ports {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +
> +				port@0 {
> +					reg = <0>;
> +
> +					ncc0_1_funnel_in0: endpoint {
> +						remote-endpoint = <&ncc0_0_rep_out>;
> +					};
> +				};
> +
> +				port@1 {
> +					reg = <1>;
> +
> +					ncc0_1_funnel_in1: endpoint {
> +						remote-endpoint = <&ncc0_1_rep_out>;
> +					};
> +				};
> +
> +				port@2 {
> +					reg = <2>;
> +
> +					ncc0_1_funnel_in2: endpoint {
> +						remote-endpoint = <&ncc0_2_rep_out>;
> +					};
> +				};
> +
> +				port@3 {
> +					reg = <3>;
> +
> +					ncc0_1_funnel_in3: endpoint {
> +						remote-endpoint = <&ncc0_3_rep_out>;
> +					};
> +				};
> +
> +				port@4 {
> +					reg = <4>;
> +
> +					ncc0_1_funnel_in4: endpoint {
> +						remote-endpoint = <&ncc0_4_rep_out>;
> +					};
> +				};
> +
> +				port@5 {
> +					reg = <5>;
> +
> +					ncc0_1_funnel_in5: endpoint {
> +						remote-endpoint = <&ncc0_5_rep_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc0_1_funnel_out: endpoint {
> +						remote-endpoint = <&ncc0_2_funnel_in2>;
> +					};
> +				};
> +			};
> +		};
> +
> +		cluster0_rep_0_0: replicator@1d090000 {
> +			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
> +			reg = <0x0 0x1d090000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster0_pd>;
> +
> +			in-ports {
> +				port {
> +					ncc0_0_rep_in: endpoint {
> +						remote-endpoint = <&etm0_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc0_0_rep_out: endpoint {
> +						remote-endpoint = <&ncc0_1_funnel_in0>;
> +					};
> +				};
> +			};
> +		};
> +
> +		cluster0_rep_0_1: replicator@1d0a0000 {
> +			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
> +			reg = <0x0 0x1d0a0000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster0_pd>;
> +
> +			in-ports {
> +				port {
> +					ncc0_1_rep_in: endpoint {
> +						remote-endpoint = <&etm1_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc0_1_rep_out: endpoint {
> +						remote-endpoint = <&ncc0_1_funnel_in1>;
> +					};
> +				};
> +			};
> +		};
> +
> +		cluster0_rep_0_2: replicator@1d0b0000 {
> +			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
> +			reg = <0x0 0x1d0b0000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster0_pd>;
> +
> +			in-ports {
> +				port {
> +					ncc0_2_rep_in: endpoint {
> +						remote-endpoint = <&etm2_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc0_2_rep_out: endpoint {
> +						remote-endpoint = <&ncc0_1_funnel_in2>;
> +					};
> +				};
> +			};
> +		};
> +
> +		cluster0_rep_0_3: replicator@1d0c0000 {
> +			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
> +			reg = <0x0 0x1d0c0000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster0_pd>;
> +
> +			in-ports {
> +				port {
> +					ncc0_3_rep_in: endpoint {
> +						remote-endpoint = <&etm3_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc0_3_rep_out: endpoint {
> +						remote-endpoint = <&ncc0_1_funnel_in3>;
> +					};
> +				};
> +			};
> +		};
> +
> +		cluster0_rep_0_4: replicator@1d0d0000 {
> +			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
> +			reg = <0x0 0x1d0d0000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster0_pd>;
> +
> +			in-ports {
> +				port {
> +					ncc0_4_rep_in: endpoint {
> +						remote-endpoint = <&etm4_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc0_4_rep_out: endpoint {
> +						remote-endpoint = <&ncc0_1_funnel_in4>;
> +					};
> +				};
> +			};
> +		};
> +
> +		cluster0_rep_0_5: replicator@1d0e0000 {
> +			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
> +			reg = <0x0 0x1d0e0000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster0_pd>;
> +
> +			in-ports {
> +				port {
> +					ncc0_5_rep_in: endpoint {
> +						remote-endpoint = <&etm5_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc0_5_rep_out: endpoint {
> +						remote-endpoint = <&ncc0_1_funnel_in5>;
> +					};
> +				};
> +			};
> +		};
> +
> +		funnel@1d121000 {
> +			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
> +			reg = <0x0 0x1d121000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster1_pd>;
> +
> +			in-ports {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +
> +				port@2 {
> +					reg = <2>;
> +
> +					ncc1_2_funnel_in2: endpoint {
> +						remote-endpoint = <&ncc1_1_funnel_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc1_2_funnel_out: endpoint {
> +						remote-endpoint = <&ncc1_etf_in>;
> +					};
> +				};
> +			};
> +		};
> +
> +		tmc@1d129000 {
> +			compatible = "arm,coresight-tmc", "arm,primecell";
> +			reg = <0x0 0x1d129000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster1_pd>;
> +
> +			in-ports {
> +				port {
> +					ncc1_etf_in: endpoint {
> +						remote-endpoint = <&ncc1_2_funnel_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc1_etf_out: endpoint {
> +						remote-endpoint = <&apss_funnel_in1>;
> +					};
> +				};
> +			};
> +		};
> +
> +		funnel@1d181000 {
> +			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
> +			reg = <0x0 0x1d181000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster1_pd>;
> +
> +			in-ports {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +
> +				port@0 {
> +					reg = <0>;
> +
> +					ncc1_1_funnel_in0: endpoint {
> +						remote-endpoint = <&ncc1_0_rep_out>;
> +					};
> +				};
> +
> +				port@1 {
> +					reg = <1>;
> +
> +					ncc1_1_funnel_in1: endpoint {
> +						remote-endpoint = <&ncc1_1_rep_out>;
> +					};
> +				};
> +
> +				port@2 {
> +					reg = <2>;
> +
> +					ncc1_1_funnel_in2: endpoint {
> +						remote-endpoint = <&ncc1_2_rep_out>;
> +					};
> +				};
> +
> +				port@3 {
> +					reg = <3>;
> +
> +					ncc1_1_funnel_in3: endpoint {
> +						remote-endpoint = <&ncc1_3_rep_out>;
> +					};
> +				};
> +
> +				port@4 {
> +					reg = <4>;
> +
> +					ncc1_1_funnel_in4: endpoint {
> +						remote-endpoint = <&ncc1_4_rep_out>;
> +					};
> +				};
> +
> +				port@5 {
> +					reg = <5>;
> +
> +					ncc1_1_funnel_in5: endpoint {
> +						remote-endpoint = <&ncc1_5_rep_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc1_1_funnel_out: endpoint {
> +						remote-endpoint = <&ncc1_2_funnel_in2>;
> +					};
> +				};
> +			};
> +		};
> +
> +		replicator@1d190000 {
> +			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
> +			reg = <0x0 0x1d190000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster1_pd>;
> +
> +			in-ports {
> +				port {
> +					ncc1_0_rep_in: endpoint {
> +						remote-endpoint = <&etm6_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc1_0_rep_out: endpoint {
> +						remote-endpoint = <&ncc1_1_funnel_in0>;
> +					};
> +				};
> +			};
> +		};
> +
> +		replicator@1d1a0000 {
> +			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
> +			reg = <0x0 0x1d1a0000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster1_pd>;
> +
> +			in-ports {
> +				port {
> +					ncc1_1_rep_in: endpoint {
> +						remote-endpoint = <&etm7_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc1_1_rep_out: endpoint {
> +						remote-endpoint = <&ncc1_1_funnel_in1>;
> +					};
> +				};
> +			};
> +		};
> +
> +		replicator@1d1b0000 {
> +			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
> +			reg = <0x0 0x1d1b0000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster1_pd>;
> +
> +			in-ports {
> +				port {
> +					ncc1_2_rep_in: endpoint {
> +						remote-endpoint = <&etm8_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc1_2_rep_out: endpoint {
> +						remote-endpoint = <&ncc1_1_funnel_in2>;
> +					};
> +				};
> +			};
> +		};
> +
> +		replicator@1d1c0000 {
> +			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
> +			reg = <0x0 0x1d1c0000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster1_pd>;
> +
> +			in-ports {
> +				port {
> +					ncc1_3_rep_in: endpoint {
> +						remote-endpoint = <&etm9_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc1_3_rep_out: endpoint {
> +						remote-endpoint = <&ncc1_1_funnel_in3>;
> +					};
> +				};
> +			};
> +		};
> +
> +		replicator@1d1d0000 {
> +			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
> +			reg = <0x0 0x1d1d0000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster1_pd>;
> +
> +			in-ports {
> +				port {
> +					ncc1_4_rep_in: endpoint {
> +						remote-endpoint = <&etm10_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc1_4_rep_out: endpoint {
> +						remote-endpoint = <&ncc1_1_funnel_in4>;
> +					};
> +				};
> +			};
> +		};
> +
> +		replicator@1d1e0000 {
> +			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
> +			reg = <0x0 0x1d1e0000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster1_pd>;
> +
> +			in-ports {
> +				port {
> +					ncc1_5_rep_in: endpoint {
> +						remote-endpoint = <&etm11_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc1_5_rep_out: endpoint {
> +						remote-endpoint = <&ncc1_1_funnel_in5>;
> +					};
> +				};
> +			};
> +		};
> +
> +		cluster2_funnel_l2: funnel@1d221000 {
> +			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
> +			reg = <0x0 0x1d221000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster2_pd>;
> +
> +			in-ports {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +
> +				port@2 {
> +					reg = <2>;
> +
> +					ncc2_2_funnel_in2: endpoint {
> +						remote-endpoint = <&ncc2_1_funnel_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc2_2_funnel_out: endpoint {
> +						remote-endpoint = <&ncc2_etf_in>;
> +					};
> +				};
> +			};
> +		};
> +
> +		cluster2_etf: tmc@1d229000 {
> +			compatible = "arm,coresight-tmc", "arm,primecell";
> +			reg = <0x0 0x1d229000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster2_pd>;
> +
> +			in-ports {
> +				port {
> +					ncc2_etf_in: endpoint {
> +						remote-endpoint = <&ncc2_2_funnel_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc2_etf_out: endpoint {
> +						remote-endpoint = <&apss_funnel_in2>;
> +					};
> +				};
> +			};
> +		};
> +
> +		cluster2_funnel_l1: funnel@1d281000 {
> +			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
> +			reg = <0x0 0x1d281000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster2_pd>;
> +
> +			in-ports {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +
> +				port@0 {
> +					reg = <0>;
> +
> +					ncc2_1_funnel_in0: endpoint {
> +						remote-endpoint = <&ncc2_0_rep_out>;
> +					};
> +				};
> +
> +				port@1 {
> +					reg = <1>;
> +
> +					ncc2_1_funnel_in1: endpoint {
> +						remote-endpoint = <&ncc2_1_rep_out>;
> +					};
> +				};
> +
> +				port@2 {
> +					reg = <2>;
> +
> +					ncc2_1_funnel_in2: endpoint {
> +						remote-endpoint = <&ncc2_2_rep_out>;
> +					};
> +				};
> +
> +				port@3 {
> +					reg = <3>;
> +
> +					ncc2_1_funnel_in3: endpoint {
> +						remote-endpoint = <&ncc2_3_rep_out>;
> +					};
> +				};
> +
> +				port@4 {
> +					reg = <4>;
> +
> +					ncc2_1_funnel_in4: endpoint {
> +						remote-endpoint = <&ncc2_4_rep_out>;
> +					};
> +				};
> +
> +				port@5 {
> +					reg = <5>;
> +
> +					ncc2_1_funnel_in5: endpoint {
> +						remote-endpoint = <&ncc2_5_rep_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc2_1_funnel_out: endpoint {
> +						remote-endpoint = <&ncc2_2_funnel_in2>;
> +					};
> +				};
> +			};
> +		};
> +
> +		cluster2_rep_2_0: replicator@1d290000 {
> +			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
> +			reg = <0x0 0x1d290000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster2_pd>;
> +
> +			in-ports {
> +				port {
> +					ncc2_0_rep_in: endpoint {
> +						remote-endpoint = <&etm12_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc2_0_rep_out: endpoint {
> +						remote-endpoint = <&ncc2_1_funnel_in0>;
> +					};
> +				};
> +			};
> +		};
> +
> +		cluster2_rep_2_1: replicator@1d2a0000 {
> +			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
> +			reg = <0x0 0x1d2a0000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster2_pd>;
> +
> +			in-ports {
> +				port {
> +					ncc2_1_rep_in: endpoint {
> +						remote-endpoint = <&etm13_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc2_1_rep_out: endpoint {
> +						remote-endpoint = <&ncc2_1_funnel_in1>;
> +					};
> +				};
> +			};
> +		};
> +
> +		cluster2_rep_2_2: replicator@1d2b0000 {
> +			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
> +			reg = <0x0 0x1d2b0000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster2_pd>;
> +
> +			in-ports {
> +				port {
> +					ncc2_2_rep_in: endpoint {
> +						remote-endpoint = <&etm14_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc2_2_rep_out: endpoint {
> +						remote-endpoint = <&ncc2_1_funnel_in2>;
> +					};
> +				};
> +			};
> +		};
> +
> +		cluster2_rep_2_3: replicator@1d2c0000 {
> +			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
> +			reg = <0x0 0x1d2c0000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster2_pd>;
> +
> +			in-ports {
> +				port {
> +					ncc2_3_rep_in: endpoint {
> +						remote-endpoint = <&etm15_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc2_3_rep_out: endpoint {
> +						remote-endpoint = <&ncc2_1_funnel_in3>;
> +					};
> +				};
> +			};
> +		};
> +
> +		cluster2_rep_2_4: replicator@1d2d0000 {
> +			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
> +			reg = <0x0 0x1d2d0000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster2_pd>;
> +
> +			in-ports {
> +				port {
> +					ncc2_4_rep_in: endpoint {
> +						remote-endpoint = <&etm16_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc2_4_rep_out: endpoint {
> +						remote-endpoint = <&ncc2_1_funnel_in4>;
> +					};
> +				};
> +			};
> +		};
> +
> +		cluster2_rep_2_5: replicator@1d2e0000 {
> +			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
> +			reg = <0x0 0x1d2e0000 0x0 0x1000>;
> +
> +			clocks = <&aoss_qmp>;
> +			clock-names = "apb_pclk";
> +			power-domains = <&cluster2_pd>;
> +
> +			in-ports {
> +				port {
> +					ncc2_5_rep_in: endpoint {
> +						remote-endpoint = <&etm17_out>;
> +					};
> +				};
> +			};
> +
> +			out-ports {
> +				port {
> +					ncc2_5_rep_out: endpoint {
> +						remote-endpoint = <&ncc2_1_funnel_in5>;
> +					};
> +				};
> +			};
> +		};
> +
>   		nsi_noc: interconnect@1d600000 {
>   			compatible = "qcom,glymur-nsinoc";
>   			reg = <0x0 0x1d600000 0x0 0x14080>;
> diff --git a/arch/arm64/boot/dts/qcom/kalambo.dtsi b/arch/arm64/boot/dts/qcom/kalambo.dtsi
> index 868b924c4734..41218577777b 100644
> --- a/arch/arm64/boot/dts/qcom/kalambo.dtsi
> +++ b/arch/arm64/boot/dts/qcom/kalambo.dtsi
> @@ -5,7 +5,17 @@
>   
>   #include "mahua.dtsi"
>   
> +/delete-node/ &apss_funnel_port0;
> +/delete-node/ &cluster0_etf;
> +/delete-node/ &cluster0_funnel_l1;
> +/delete-node/ &cluster0_funnel_l2;
>   /delete-node/ &cluster0_pd;
> +/delete-node/ &cluster0_rep_0_0;
> +/delete-node/ &cluster0_rep_0_1;
> +/delete-node/ &cluster0_rep_0_2;
> +/delete-node/ &cluster0_rep_0_3;
> +/delete-node/ &cluster0_rep_0_4;
> +/delete-node/ &cluster0_rep_0_5;
>   /delete-node/ &cpu_map;
>   /delete-node/ &cpu0;
>   /delete-node/ &cpu1;
> @@ -20,6 +30,12 @@
>   /delete-node/ &cpu_pd4;
>   /delete-node/ &cpu_pd5;
>   /delete-node/ &cpu_scp_lpri1;
> +/delete-node/ &etm0;
> +/delete-node/ &etm1;
> +/delete-node/ &etm2;
> +/delete-node/ &etm3;
> +/delete-node/ &etm4;
> +/delete-node/ &etm5;
>   
>   &bwmon_cluster0 {
>   	status = "disabled";
> diff --git a/arch/arm64/boot/dts/qcom/mahua.dtsi b/arch/arm64/boot/dts/qcom/mahua.dtsi
> index e7141f8c9e0d..d2ac3e632ec0 100644
> --- a/arch/arm64/boot/dts/qcom/mahua.dtsi
> +++ b/arch/arm64/boot/dts/qcom/mahua.dtsi
> @@ -9,8 +9,18 @@
>    */
>   #include "glymur-cob.dtsi"
>   
> +/delete-node/ &apss_funnel_port2;
>   /delete-node/ &bwmon_cluster2;
> +/delete-node/ &cluster2_etf;
> +/delete-node/ &cluster2_funnel_l1;
> +/delete-node/ &cluster2_funnel_l2;
>   /delete-node/ &cluster2_pd;
> +/delete-node/ &cluster2_rep_2_0;
> +/delete-node/ &cluster2_rep_2_1;
> +/delete-node/ &cluster2_rep_2_2;
> +/delete-node/ &cluster2_rep_2_3;
> +/delete-node/ &cluster2_rep_2_4;
> +/delete-node/ &cluster2_rep_2_5;
>   /delete-node/ &cpu_map_cluster2;
>   /delete-node/ &cpu12;
>   /delete-node/ &cpu13;
> @@ -25,6 +35,12 @@
>   /delete-node/ &cpu_pd16;
>   /delete-node/ &cpu_pd17;
>   /delete-node/ &cti_wpss;
> +/delete-node/ &etm12;
> +/delete-node/ &etm13;
> +/delete-node/ &etm14;
> +/delete-node/ &etm15;
> +/delete-node/ &etm16;
> +/delete-node/ &etm17;
>   /delete-node/ &pcie3_phy;
>   /delete-node/ &pcie3a;
>   /delete-node/ &thermal_aoss_6;
> 


      reply	other threads:[~2026-11-27  4:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27  3:10 [PATCH v2 0/4] Add ETM devices for multiple QCOM platforms Jie Gan
2026-11-27  3:10 ` [PATCH v2 1/4] arm64: dts: qcom: hamoa: Add CoreSight nodes for APSS debug block Jie Gan
2026-11-27  3:10 ` [PATCH v2 2/4] arm64: dts: qcom: sm8750: " Jie Gan
2026-11-27  3:10 ` [PATCH v2 3/4] arm64: dts: qcom: kaanapali: " Jie Gan
2026-11-27  3:10 ` [PATCH v2 4/4] arm64: dts: qcom: glymur: " Jie Gan
2026-11-27  4:34   ` Jie Gan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8d0150ef-a8f2-41ac-9128-9d887cbae6b8@oss.qualcomm.com \
    --to=jie.gan@oss.qualcomm.com \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=tingwei.zhang@oss.qualcomm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®