From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A9574248880 for ; Wed, 2 Sep 2026 05:59:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788328753; cv=none; b=lwy3w5sZ2r7FAlgk6qXkNNyRs7dZs4bFqAwOS3hPsEHaj7xFb4yse82rApTAn3xwCGcyaL5Wwyq0wV/hcCe65OL5oHlFHvIiP2+h8zxjnCwfiCPoWO4CgybwqmOoTYN3Q5TrrYwXWDn9pGcJOMvwtWpxOkFSIg5sTB9b3YD0aPM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788328753; c=relaxed/simple; bh=OgTp1K7wrCpVpIYXRj1XeRkGRnHqu/BSVufgVq2n8ns=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=aGk7edE56CHDyUQWErQVIBgC6GwpgvP+6OO3r/ZZ0fgfHCikSBrd62Gls91kGf3g1uXjs9viqBVC2hZ5qjjfL3xTLL+9kXPmYuhUTKINHm13DtxhRYpqB2af1aVTcXhx4Oqpdk1IvkikNPO6HqciPDf8pkPmp5afxSOn55QuqvI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=P2jUMi/r; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=QM4MyJQD; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="P2jUMi/r"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="QM4MyJQD" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6825YYni1731542 for ; Wed, 2 Sep 2026 05:59:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= bCQp2+xpT2Hvc69+SxSesqNuC+KulHQuCZHZNGt0Peo=; b=P2jUMi/rixYd1eaa GLk4GtTKixt6aanOsON5u/1mhYFTpYh9E2DxB261kQ+OmoETZx0Ym4hdaLjW8q7Q HP3oqnylgZbNiXCWUcIPPrEnMoPmdoVK8ncwvnlqkqOXDCP4IPnru46BzaHRS57s lSAlWErsDyvK1EyTiqELgyv91CfoJL7LjEId+swofReEkzVnJYhzUsCSrgEctnKa bjLouxnjFxFxyvpngcf3t3cHazuWrnwp9kI35k+AbCtSf6UI1C2IcSAGdjl+XeLt BX6xP7umVMsQSefcSOznA5PiYbnsUamNfbh3JKwRu0uIcv45aJRyACZRsuz0Ce6+ SDgd0w== Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ge8whh14r-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 02 Sep 2026 05:59:10 +0000 (GMT) Received: by mail-pf1-f200.google.com with SMTP id d2e1a72fcca58-84e048a801dso964848b3a.3 for ; Tue, 01 Sep 2026 22:59:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1788328750; x=1788933550; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=bCQp2+xpT2Hvc69+SxSesqNuC+KulHQuCZHZNGt0Peo=; b=QM4MyJQDNn1U/DwMCcSZLJi35pjaxRl5IOe3pES248IRbagdQqpLl6yOSQOTewLMTv nlA019YuUbAIBXRY8addHdHBRFWbJfwPXX9isOl1HZ4+grxpfLyNfDGm6Sfc+C7l0cbD RPasnFIlQjH0sXFYRI6/NoRSwlFOdyzHTPcz2lf+wvatV3e/yZG0ADtxye0jcTPMnpDg sLM543yagzo1yy4OKZXmKJdsz2DD7ry/YCGesrW91xOdRmjYYOqzqT3hlDs8581WpSY/ enU9qbEDWDBgc+DAMLGqwNpgA+F0B1K9YxkXVgjwbF71/22G7ZisYRfGPLhez3RzSzBa jZ5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788328750; x=1788933550; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=bCQp2+xpT2Hvc69+SxSesqNuC+KulHQuCZHZNGt0Peo=; b=A8zjnVAdlwb/NzD5Qa+V0IN+vESpR/gEmxnB9o5lDkM9mdeMj3fF4F3v6FP+5ixu46 aVU3MEinwZbSQyytlVTQqZKj2Hl6i583ffi/A77B22a4rpzgDJ9sVdOTyJMHh+IDi0X9 EZRazyqF2Y8HBeP7YULyHD1FiWGNDcWYkh3GLjAuSBhY+nYTSBLIfQx2lpg8qR4xo9yd tV9hv467zplJaXiY/4IZZ8Zhphcoi7aChNbdZr87KUYG6UAZcOVBHBRurPjWG5r/haEC BMq+oPnxSXOP+iQDpi7hoEO6NoOigR+aKI2U3QCZ1LbrBzQWRaQxo24/4fx/HhCH1WdX LvEg== X-Forwarded-Encrypted: i=1; AKwUvByCUP+lb9ujdrmBItsJIzr1DY9uPmo0VOqAzsuVGt7W7T0i46T+OgmFzJDxD70LlV4l/F+vPE3c+85I@vger.kernel.org X-Gm-Message-State: AFuF++lgLYGs59ZGigf9/JvxjpeTkVMJ6pqTnA3mXDuYJfkxXG38bNcT IaMUQ6WPCUQ7qtLNjJesRRy6U/XZTzygdxEJ+VB9RCC3AUaZtAfKCB3z/lDXznenQCnQ4Js7pzj OLDwWbs84BSJjtF4T6th8aFfYpAFbX607xKrP7MVTSEsHhpVb06R+/sm+EWpHDBzOVFbl0NCT9B 0= X-Gm-Gg: AYBFou25I6yUEzai35QhSNikbn3N13nW23wrzeSwLRPgO1Sh+TwArcQxoY0EKpe+lPg gN9iu25O0Zw1c/N3Czn/J2MzGSAPI8cYp2RZTA8Ca5ExwfHkwTa0RC2SLV1ygXAxu8a02skzxcG PVcztRkv/R6QcCci0z06LimT+gRPP3kmkErv7APtWfHsDPtMpmkTh8INfVqvS+AhN32jw7d+kXi oS76R3dhga7ExBiAAxtj1PIbYLepjaASAi5AJd26Qy8UrJ2/DINUSPf1JOPzeHfud0041SdOL49 usAsT0+qhJCuO9LPkIWaBtioeGgy1mqTz+WN9jJjrzdC78vQZH40f6F8DklweCiS45Oo2/M+gDY oMn7/1anqjvzfAnvyThbz X-Received: by 2002:a05:6a00:44cb:b0:851:8012:c38b with SMTP id d2e1a72fcca58-85ed6a7b0a3mr4512211b3a.10.1788328750264; Tue, 01 Sep 2026 22:59:10 -0700 (PDT) X-Received: by 2002:a05:6a00:44cb:b0:851:8012:c38b with SMTP id d2e1a72fcca58-85ed6a7b0a3mr4512172b3a.10.1788328749782; Tue, 01 Sep 2026 22:59:09 -0700 (PDT) Received: from [10.64.68.243] ([114.94.8.21]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-85db2ad8e8dsm847018b3a.17.2026.09.01.22.59.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Sep 2026 22:59:09 -0700 (PDT) Message-ID: Date: Wed, 2 Sep 2026 13:59:04 +0800 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] arm64: dts: qcom: kaanapali: enable ETR and CTCU devices To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Tingwei Zhang Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260831-enable-ctcu-etr-for-knp-v1-1-8dbd3ff15ed4@oss.qualcomm.com> Content-Language: en-US From: Jie Gan In-Reply-To: <20260831-enable-ctcu-etr-for-knp-v1-1-8dbd3ff15ed4@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=fLkJG5ae c=1 sm=1 tr=0 ts=6a97bb2e cx=c_pps a=mDZGXZTwRPZaeRUbqKGCBw==:117 a=Uz3yg00KUFJ2y2WijEJ4bw==:17 a=IkcTkHD0fZMA:10 a=VdqzKS8jKosA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=lC4qlntngRxk1_k7zu8A:9 a=QEXdDO2ut3YA:10 a=zc0IvFSfCIW2DFIPzwfm:22 X-Proofpoint-ORIG-GUID: hxF9zkAngZdRqP35liC1XdHuur0LdEqe X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTAyMDA1MSBTYWx0ZWRfX4+RvwsNRUCPH Jx+hbJDTrirXJtdUXxbRy36+dAGV6ey2APHecPVA/jP3uKEKg6yF3OUWbOtM9Qbge96hNiGkrWV 6f6qqfMb2kgpYLYxytk9N3Bs/3+sOkhJzWGQOOHICTqF0idJOAdHSxPp7cy+GVti6C0vN5Zr75x Xvx4Rx/kjNG3FVXSIOCqszioXSUjrgixgXhvQsRtZmV/pVQT7z79losN0o8pl3zTNjRtLgDHx7T hQjG36QZ5x2OMvJBffrgGoDIgoxmT+e+dKFc4CXQMnCXAA6EJwlUVHe46mwSOJRK2MFvrZPTldg sOmNj7rrbUPm9QPiRr6GtVj9eGs7u1evO+boEReDcjm0M5Boe7A7qqk2x6Ut1+2woaf0lnI38Vh ziD6u4Jn5YXRy25kSeIIf5U2qADFQ+NlQd146U1yHWGk87f6eh2fyHa/aYO8Y13W2GIrxFgQy6U kB6FJCp3ImYf0arcUHw== X-Proofpoint-Spam-Info: AW1haW4tMjYwOTAyMDA1MSBTYWx0ZWRfXwCvNTj8LN8pT 6pCE5P2ZR5nuWtNaXC/+quH3UGLWO4r//IfvMLt26v85QANtrjGPJgoMfi5bxwUjsF7YFgW77q1 GV9lbMENzSrKHAUlP1mgF8gswqv8vxI= X-Proofpoint-GUID: hxF9zkAngZdRqP35liC1XdHuur0LdEqe X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-01_06,2026-09-01_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 malwarescore=0 impostorscore=0 clxscore=1015 priorityscore=1501 spamscore=0 phishscore=0 lowpriorityscore=0 adultscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2609020051 On 8/31/2026 7:34 PM, Jie Gan wrote: > Embedded Trace Router(ETR) is working as a DDR memory sink to collect > tracing data from source device and the CTCU device serves as the > control unit for the ETR device. > Please ignore this patch, I already sent it before and got reviewed by Konrad. Sorry for the mistake. https://lore.kernel.org/all/b9bd5d63-787f-41c6-ae7b-8543a7b6c4c6@oss.qualcomm.com/ Thanks, Jie > Signed-off-by: Jie Gan > --- > arch/arm64/boot/dts/qcom/kaanapali.dtsi | 181 ++++++++++++++++++++++++++++++++ > 1 file changed, 181 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/kaanapali.dtsi b/arch/arm64/boot/dts/qcom/kaanapali.dtsi > index 131fd2a16c54..6fc1399a7e5e 100644 > --- a/arch/arm64/boot/dts/qcom/kaanapali.dtsi > +++ b/arch/arm64/boot/dts/qcom/kaanapali.dtsi > @@ -4421,40 +4421,69 @@ cmd-pins { > pins = "sdc2_cmd"; > drive-strength = <2>; > bias-pull-up; > }; > > data-pins { > pins = "sdc2_data"; > drive-strength = <2>; > bias-pull-up; > }; > > card-detect-pins { > pins = "gpio55"; > function = "gpio"; > drive-strength = <2>; > bias-pull-up; > }; > }; > }; > > + ctcu@10001000 { > + compatible = "qcom,kaanapali-ctcu", "qcom,sa8775p-ctcu"; > + reg = <0x0 0x10001000 0x0 0x1000>; > + > + clocks = <&aoss_qmp>; > + clock-names = "apb"; > + > + in-ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + > + ctcu_in0: endpoint { > + remote-endpoint = <&tmc_etr_out>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + > + ctcu_in1: endpoint { > + remote-endpoint = <&tmc_etr1_out>; > + }; > + }; > + }; > + }; > + > stm@10002000 { > compatible = "arm,coresight-stm", "arm,primecell"; > reg = <0x0 0x10002000 0x0 0x1000>, > <0x0 0x16280000 0x0 0x180000>; > reg-names = "stm-base", > "stm-stimulus-base"; > > clocks = <&aoss_qmp>; > clock-names = "apb_pclk"; > > out-ports { > port { > stm_out: endpoint { > remote-endpoint = <&funnel_in0_in7>; > }; > }; > }; > }; > > tpdm@10003000 { > @@ -4560,40 +4589,155 @@ funnel_in0_in6: endpoint { > }; > > port@7 { > reg = <7>; > > funnel_in0_in7: endpoint { > remote-endpoint = <&stm_out>; > }; > }; > }; > > out-ports { > port { > funnel_in0_out: endpoint { > remote-endpoint = <&funnel_aoss_in6>; > }; > }; > }; > }; > > + replicator@10046000 { > + compatible = "arm,coresight-dynamic-replicator", "arm,primecell"; > + reg = <0x0 0x10046000 0x0 0x1000>; > + > + clocks = <&aoss_qmp>; > + clock-names = "apb_pclk"; > + > + in-ports { > + port { > + replicator_qdss_in: endpoint { > + remote-endpoint = <&replicator_swao_out0>; > + }; > + }; > + }; > + > + out-ports { > + port { > + replicator_qdss_out: endpoint { > + remote-endpoint = <&replicator_etr_in>; > + }; > + }; > + }; > + }; > + > + tmc@10048000 { > + compatible = "arm,coresight-tmc", "arm,primecell"; > + reg = <0x0 0x10048000 0x0 0x1000>; > + > + clocks = <&aoss_qmp>; > + clock-names = "apb_pclk"; > + > + iommus = <&apps_smmu 0x04e0 0x0>; > + arm,scatter-gather; > + > + in-ports { > + port { > + tmc_etr_in: endpoint { > + remote-endpoint = <&replicator_etr_out0>; > + }; > + }; > + }; > + > + out-ports { > + port { > + tmc_etr_out: endpoint { > + remote-endpoint = <&ctcu_in0>; > + }; > + }; > + }; > + }; > + > + replicator@1004e000 { > + compatible = "arm,coresight-dynamic-replicator", "arm,primecell"; > + reg = <0x0 0x1004e000 0x0 0x1000>; > + > + clocks = <&aoss_qmp>; > + clock-names = "apb_pclk"; > + > + in-ports { > + port { > + replicator_etr_in: endpoint { > + remote-endpoint = <&replicator_qdss_out>; > + }; > + }; > + }; > + > + out-ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + > + replicator_etr_out0: endpoint { > + remote-endpoint = <&tmc_etr_in>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + > + replicator_etr_out1: endpoint { > + remote-endpoint = <&tmc_etr1_in>; > + }; > + }; > + }; > + }; > + > + tmc@1004f000 { > + compatible = "arm,coresight-tmc", "arm,primecell"; > + reg = <0x0 0x1004f000 0x0 0x1000>; > + > + clocks = <&aoss_qmp>; > + clock-names = "apb_pclk"; > + > + iommus = <&apps_smmu 0x0500 0x0>; > + arm,scatter-gather; > + > + in-ports { > + port { > + tmc_etr1_in: endpoint { > + remote-endpoint = <&replicator_etr_out1>; > + }; > + }; > + }; > + > + out-ports { > + port { > + tmc_etr1_out: endpoint { > + remote-endpoint = <&ctcu_in1>; > + }; > + }; > + }; > + }; > + > tpdm@11000000 { > compatible = "qcom,coresight-tpdm", "arm,primecell"; > reg = <0x0 0x11000000 0x0 0x1000>; > > clocks = <&aoss_qmp>; > clock-names = "apb_pclk"; > label = "tpdm_modem_0"; > > qcom,dsb-element-bits = <32>; > qcom,dsb-msrs-num = <32>; > > out-ports { > port { > tpdm_modem0_out: endpoint { > remote-endpoint = <&tpda_modem_in0>; > }; > }; > }; > }; > > @@ -5374,40 +5518,77 @@ funnel_aoss_out: endpoint { > remote-endpoint = <&tmc_etf_in>; > }; > }; > }; > }; > > tmc@11305000 { > compatible = "arm,coresight-tmc", "arm,primecell"; > reg = <0x0 0x11305000 0x0 0x1000>; > > clocks = <&aoss_qmp>; > clock-names = "apb_pclk"; > > in-ports { > port { > tmc_etf_in: endpoint { > remote-endpoint = <&funnel_aoss_out>; > }; > }; > }; > + > + out-ports { > + port { > + tmc_etf_out: endpoint { > + remote-endpoint = <&replicator_swao_in>; > + }; > + }; > + }; > + }; > + > + replicator@11306000 { > + compatible = "arm,coresight-dynamic-replicator", "arm,primecell"; > + reg = <0x0 0x11306000 0x0 0x1000>; > + > + clocks = <&aoss_qmp>; > + clock-names = "apb_pclk"; > + > + in-ports { > + port { > + replicator_swao_in: endpoint { > + remote-endpoint = <&tmc_etf_out>; > + }; > + }; > + }; > + > + out-ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + > + replicator_swao_out0: endpoint { > + remote-endpoint = <&replicator_qdss_in>; > + }; > + }; > + }; > }; > > tpda@11308000 { > compatible = "qcom,coresight-tpda", "arm,primecell"; > reg = <0x0 0x11308000 0x0 0x1000>; > > clocks = <&aoss_qmp>; > clock-names = "apb_pclk"; > > in-ports { > #address-cells = <1>; > #size-cells = <0>; > > port@0 { > reg = <0>; > > tpda_aoss_in0: endpoint { > remote-endpoint = <&tpdm_swao_prio0_out>; > }; > }; > > --- > base-commit: e30626823a406725ce29bc75cb8ec467d3e1e326 > change-id: 20260831-enable-ctcu-etr-for-knp-28434e777f1e > > Best regards,