From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 9A4EC374A02 for ; Thu, 10 Sep 2026 23:17:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789082235; cv=none; b=MPw4s7BjLvWL2ZuvEf0eDezHt28j2b6pc1O1ciG5r1eVzb8YkTBMAPoZrUZYb44TRhPUr6dS6350E8sMiNOTREs2ZC1EW8dNfZg9pHiRZNmAIVnxcfCrbdANMYbnqe8/kXuH0W1+sYh/wOrbGYh5nJRqMMPZdobTdA8Ql3zpDP4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789082235; c=relaxed/simple; bh=P05HO03ZYyZrW4Ag2KSYbb4FQunT5owJ/0D+IdcGUuk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=IaPXYwhXx5Xv5h8ScceRTjK7bpTIHioV/7YmGTG70EroEV1kTdxw19IbhreeiXTj2rk1bs78QEsUNDQ4Rvz4wHbX38bmMd3XVt8m5gvyL3SbRu5SJ5l+vq9CoPAmgcpGazJl94TssJ6mMXRCFZlU3D6LSYnkLIPE/L20OeMgPZo= 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=o0d16HB9; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Tc5LnNMt; arc=none smtp.client-ip=205.220.180.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="o0d16HB9"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Tc5LnNMt" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 68ALUEMT2127611 for ; Thu, 10 Sep 2026 23:17:12 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=lhsPzx6WudA vXStOROuDUjr5sSipj8dOiqKgIuzxuE8=; b=o0d16HB9Bh25A8ELDWyVXNLIJNO E8W1CmjqoQvflP62SjH1FZTbfznJsaNLkXq3HWnktX/MtkcQNVodHoOuaplBF//Q GpfVmsREn/O/35/aLQwLKt27Gz4SKD0E07Fl+6xkELVtxVbNar8QZS+DSIuVgl2D PXrllZd9e5kWmutdVQNOr5glHN1YxfJQg3Is1j8nfssFGVCzprC/3i4V/2r33KYN Jf1tzN+AliOYjLNnJSgz3KfvVr+z0RSVsZ5lE1NrQVFm589QiUY65akNRsPhEc+Z AfW9xVH1MFBG0oNZNJ+2GESH62nowsPrQckm/t4BTuP+JcV5iF9vI6oWtqg== Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gkwkwafbw-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 10 Sep 2026 23:17:11 +0000 (GMT) Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-396b9ef3070so459926a91.3 for ; Thu, 10 Sep 2026 16:17:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1789082231; x=1789687031; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=lhsPzx6WudAvXStOROuDUjr5sSipj8dOiqKgIuzxuE8=; b=Tc5LnNMtZ5qo5WrBNWpJwIVT1Db/d81siuDZ4Wd1JNimxHPKiuhIFjp0Sy9uFUgIuP qkDtgZEHr6NAEnlHhdKarsrN52VCl4AKPOWRhAWMJUyLo31Wwe/2cMrO0/fNsyfNEngY cjMSGHiynAC2IY1rSlXoee1yHD9saGJcEjEFaII0n41A0cRz9VWZzd14PAivV8jLuTAW bMdbyWtuYlDk/w0s/xV1X4W0EOkpegMHObVNYJyreZfOrxQqQhFKCyTEjUTw1JsqjhZY +Ct74owhKgLghS6BJ2WB5SGQag9pFKl0hJRWJy18pYAMcBRHXM5bezpCeQfCx5RgxKKK Q/Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789082231; x=1789687031; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=lhsPzx6WudAvXStOROuDUjr5sSipj8dOiqKgIuzxuE8=; b=CIBIGP8PI/P72tKjKht3V6jxGt1hKyED5jmYgyiSIusy+q0Igafdqz26vreqmbLA32 AIVnRehrHMi5IcYn8T3ACJK35t/D4M45VhgHrYgzwcmnv+UoQ/UkpGbWZiNW8DrP17wi Fvcq6xVIJT7ZTpskP5Uc06XtiJL6L6TEolG96KKuo1l+DBWbxuvE23mk+w51t1dUS2s3 bi15M1K6qa1YMZfdK1Eza59IG5v2t/e+w80DMaJUrJaldwK+wlCVHoRSLUCtfLN7jSG2 Fkgi70pestx0A+vBOK/iFj9SQ/wEplwCqxHf/OnaDPo4PvdfRU0FFWfVUTwWpd+s+vNi lASw== X-Forwarded-Encrypted: i=1; AKwUvBwEgbbhoO7x+wl4Z+VG+nDCBo7VQNotijbiydyMAIEFfrnjhtS6cciEdQk65rmrQk7OHj/5KeGWLVAoo8E=@vger.kernel.org X-Gm-Message-State: AFuF++ncd2aXngXLg+50Z4Hvi8iAXX4IhW3wsAQcdnmbW1NW6RnhBnqS ieI4RmRTuFT7r4geGWxUPpTKc+q1L625nQWyLBdVkWo+XQvFPQ4NFPuly1KYYB9EeSm3VKwKpCr Aicb53z3fmnYuCtVTqdHtYqLxWOtU99soYdiw1RN34z3WBWsJqys9uOGLVM5gtgG2Uno= X-Gm-Gg: AYBFou2jbALKomnV+kDTXBoAbFmX2CpqBV7XXAz64mvFzo8VL/fWSxUBroeEdO5BVj8 cEbzkx34KWnsmUHeK7yH17k+RX3seCep5PsMRdZs+8n3+CRjpP8fe2lwGgzTbIUZTGyhbZF6pS4 4B+LdOYJBsrgHChaVoNfR65dSqs0EvX2fLE6welB9zAv3qhsIyCFIXZSch+ws+lKq1G7ofkO6S6 12YkX6r0InFPShn6R1bK8KN88Y5+Mdjrj3CFlYgZ1C2YMH1R7ZX/RQQlJD+F2u4ir5+Wvllbdup XjH0clYE7bE0rHlIeCgeEUq8ro0xLO/EHs/CuyXuYnDoFh6ywRdnxIQ6WPbOHp6S2JcWeTK8kXp vW+/uTPtJOOPi8+LtLU9lFGVxHIOfXwVIMU0L X-Received: by 2002:a17:90b:498c:b0:392:ca3b:370a with SMTP id 98e67ed59e1d1-39d9bc6a1admr1752557a91.2.1789082230925; Thu, 10 Sep 2026 16:17:10 -0700 (PDT) X-Received: by 2002:a17:90b:498c:b0:392:ca3b:370a with SMTP id 98e67ed59e1d1-39d9bc6a1admr1752507a91.2.1789082230512; Thu, 10 Sep 2026 16:17:10 -0700 (PDT) Received: from hu-mohs-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-33ba4f7390csm1204374eec.26.2026.09.10.16.17.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2026 16:17:09 -0700 (PDT) From: Mohammad Rafi Shaik To: Srinivas Kandagatla , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Mark Brown Cc: linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Ajay Kumar Nandam Subject: [PATCH v2 4/9] arm64: dts: qcom: shikra: Add gpr node Date: Fri, 11 Sep 2026 04:46:37 +0530 Message-Id: <20260910231642.1794948-5-mohammad.rafi.shaik@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260910231642.1794948-1-mohammad.rafi.shaik@oss.qualcomm.com> References: <20260910231642.1794948-1-mohammad.rafi.shaik@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Authority-Analysis: v=2.4 cv=EZNd0/mC c=1 sm=1 tr=0 ts=6aa33a77 cx=c_pps a=vVfyC5vLCtgYJKYeQD43oA==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=VdqzKS8jKosA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=rJkE3RaqiGZ5pbrm-msn:22 a=EUspDBNiAAAA:8 a=T3D8ljLgrI678HBggIwA:9 a=rl5im9kqc5Lf4LNbBjHf:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwOTEwMDI5MyBTYWx0ZWRfX0y8GtRwEHvot ISvK30r9tqfBfas1low4dynScNjhlCX29lg3uAbkUlfPRE1Cd4+eIWVBLG+p2d0Jzj7K2y7WXhm Mnp3gGTSXupoUzgzbe19oSL9/K1GE7c= X-Proofpoint-ORIG-GUID: 6Ttv1HxOOOi8lAQyAjRph3Gk4SWd7Xac X-Proofpoint-GUID: 6Ttv1HxOOOi8lAQyAjRph3Gk4SWd7Xac X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTEwMDI5MyBTYWx0ZWRfX7118MkUTKVRd yGvyCgLY2JMI/9V3JnkcL46BD2xchwzN3bLXmiya01/sojxbjUeeG5+2TaR6ilxay54MglKS0tC VbvLDOSy8DxkMYnVijtLpdcsGEQfABcADudGtnIu4kEVq5eDz1mS0gtLkhLcVmjcFSwjvxiyCBN QOpYTUI/MYdyOYHbfbadUFBaLyeyV7fyV0pMjXhHdSDEQNZihBihh5Xf49CuExbFM9OgSmP2AYj 3800D8hKOA907t9jT98TB/0g6Qlm6vPd+R+yr2Wg6lF30ZnsFj9F3Co7f1S2QZL6sge7RYb4qpn fiSqy8UZpmHiw8JUgoBQ7EvLngvhDm28Qq2MLxJ7A0c7TokjI1p9YbZLGzvCWxCSM9jThutu1r0 6PY/1f74HfkYUCQ+zr1GolihXU/lwRwACCi1kYC0Nb8imQMLZap8w7aFtS+3+/ih1Q6baYVO/eW koGCsbatd/6KvUDE8wA== 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-10_07,2026-09-09_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 spamscore=0 phishscore=0 malwarescore=0 impostorscore=0 priorityscore=1501 adultscore=0 suspectscore=0 bulkscore=0 clxscore=1015 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609100293 Add GPR (Generic Packet Router) node along with APM (Audio Process Manager) and PRM (Proxy Resource Manager) audio services. Add a dedicated MDSP carveout memory region for audio usecases on Shikra and mark both existing audio heap and MDSP carveout regions as shared DMA pools. Update the Q6 APM DAI node to reference multiple memory regions, where index 0 is used for control path buffers and index 1 is used for MDSP data path buffers. This separation ensures proper memory allocation and access for APM communication between APSS and MDSP. Also add shared-dma-pool compatibility to the existing audio heap region to align with upstream DMA pool usage. Co-developed-by: Ajay Kumar Nandam Signed-off-by: Ajay Kumar Nandam Signed-off-by: Mohammad Rafi Shaik --- arch/arm64/boot/dts/qcom/shikra.dtsi | 49 +++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/shikra.dtsi b/arch/arm64/boot/dts/qcom/shikra.dtsi index 52b71790becb..5ebc40b428af 100644 --- a/arch/arm64/boot/dts/qcom/shikra.dtsi +++ b/arch/arm64/boot/dts/qcom/shikra.dtsi @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -15,6 +16,7 @@ #include #include #include +#include #include #include @@ -475,7 +477,14 @@ smem_mem: smem@86000000 { }; audio_heap_mem: audio-heap@86200000 { - reg = <0x0 0x86200000 0x0 0x100000>; + compatible = "shared-dma-pool"; + reg = <0x0 0x86200000 0x0 0x40000>; + no-map; + }; + + audio_mdsp_carveout_mem: audio-mdsp-carveout@86240000 { + compatible = "shared-dma-pool"; + reg = <0x0 0x86240000 0x0 0x100000>; no-map; }; @@ -2016,6 +2025,44 @@ glink-edge { mboxes = <&apcs_glb 12>; qcom,remote-pid = <1>; label = "mpss"; + + gpr: gpr { + compatible = "qcom,gpr"; + qcom,glink-channels = "modem_apps"; + qcom,domain = ; + qcom,intents = <200 20>; + #address-cells = <1>; + #size-cells = <0>; + + q6apm: service@1 { + compatible = "qcom,q6apm"; + reg = ; + #sound-dai-cells = <0>; + + q6apmbedai: bedais { + compatible = "qcom,q6apm-lpass-dais"; + #sound-dai-cells = <1>; + }; + + q6apmdai: dais { + compatible = "qcom,q6apm-dais"; + memory-region = <&audio_heap_mem + &audio_mdsp_carveout_mem>; + qcom,vmid = ; + }; + }; + + q6prm: service@2 { + compatible = "qcom,q6prm"; + reg = ; + + q6prmcc: clock-controller { + compatible = "qcom,q6prm-lpass-clocks"; + #clock-cells = <2>; + }; + }; + }; }; }; -- 2.34.1