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 336B13BED23 for ; Thu, 17 Sep 2026 04:38:09 +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=1789619891; cv=none; b=WwHzMUsoko8pWDZIw16/Gdqhf1o8Z2Cr2acW7SLWwBnwU+6IvbysJF6U5BTYn6MbzarrOenKniO/cW3xSksZsEaJ0vYZCZjZ3QAkvfhwrLPi22rnmDTFWShP5GTeYCbJYcaPgIB3DFuIrXjeGdEgPhbKJDfqMq45UcNkdtKRsDg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789619891; c=relaxed/simple; bh=rVj0wB6TfE9jUwIn6RbEtT1SRMnMNK1dShgiCP32JiY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=UEZuH84AlwCI6fYq6I0P913jVa2M9/dJsgnUpSlz97e2qaYAmXeX2l5yUdHIIgBxH3oWTZBy96ZxN6dqOsLce1cF3YQt8PnyvP9YhmEhFaCc21SKYyVszObAriSqo2GXdrH7ZkaUkKcQ6rUllUlJyuCgVUCHSe6krUvhzN1pdv4= 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=pqa1HH7+; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Bgio4LI1; 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="pqa1HH7+"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Bgio4LI1" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 68H1W1lD3898377 for ; Thu, 17 Sep 2026 04:38:09 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= Weq3dJ7H18I/Y0osm5dexfiimeQYQYBP4jA0iRYxto0=; b=pqa1HH7+Is03wUq4 KzZiJ27lho4IVMgfcTc3aIqyDZU72Dku5byw5yjtIz4Jw5V9d18oNacVHbNiRZ2+ 89+23DsuWLqT3rTB+JWJ1X+xBsT5fF7H5mWoAg9Iton4/bmJN9xcaLGML7krmu8L xT9w/Ncnnjci102a5urYloVw7j7JuTrZSHHk3cXa5hKhKJJY5xuvW5dfh4jmoo1z cTPc8hMr5LjPLoazTvyhWiD/3G9PkoknJf7HPU3cfwEZTPJ8exn7+QxUAUzz3HuV R1Bn2dLjW2MpDvc0BMUzYuYPJ8ZfOVmN51Nnj33gCP2+3UTfoM3MhKB13099Ye69 egvJGQ== Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gqy6atbnx-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 17 Sep 2026 04:38:08 +0000 (GMT) Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-2dd667770efso4136905ad.0 for ; Wed, 16 Sep 2026 21:38:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1789619888; x=1790224688; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Weq3dJ7H18I/Y0osm5dexfiimeQYQYBP4jA0iRYxto0=; b=Bgio4LI1BQRuZi+MedBsQQcNIVcuO3l5v7X/NJXXnLeQMeU8Ssx1LQzA46VylzU6QG nIrvYvTIBxwSAiDK5exd/4RrmBxQpygqT5OdiDKdwYUCEXHmf+hT3xcM4ztOFxPqmAYP JMNgC/76crNzpw6UzC18Y0GhLlgHKT904xBllhRfFsncbabXPhwxfCuY9N95I2kK7Mf5 dKtbgSsLRrW3yFTjndtZy8T+WPTYVTKN6nOh/a2k6FhpIc5CdjbRAz0pWQIouz1w+MNa 3G9NLrPq278ZyBigufW6keRS48Dt7Hm5w5rITIVRWqyfD0+KTvejdNaB25cKy2NonGvj zuWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1789619888; x=1790224688; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Weq3dJ7H18I/Y0osm5dexfiimeQYQYBP4jA0iRYxto0=; b=UDc5xppvYLl9NeX9ZDONb7kOFygsQD40OyDye/MuJrH+oBChbbrnn/4mFPrp0L3yH4 yFbNHTrlho0MpglStAFjpqDPkr2mji7Fda7WLVbpRYP1PhFGXAOr+BtAH1AH9ZAZkMtK q9015zShuGs0gadJ9DlS221nlvylP5/BoELBHhdy6+u+pbCqtuzqdnCNH6Dn82VHEs0W rPk3Lgxo0spmfoV00jmjxRk821V0dXTnkIUQydWLiC6lt1CeP0Ku9w2PlcDyOjCqOKQI WqvtYmrvaEuCfMW2ps4VEkBiV3gFCSq8Q5111aTxwhgMndYQb0yjAo21o1Vm24l1NVs0 Vp4g== X-Forwarded-Encrypted: i=1; AKwUvByRUZq4cJvWQWH9hWG9tV2j/W0POwZes2gWNTe9Oit3/DGi9AuhKIF+ZtFrQ1Oruab4URup0OA1MtWAamI=@vger.kernel.org X-Gm-Message-State: AFuF++kTJKvRwHjlJL1tUFWm/wJEYrHJl9KhR08o+Cx97D8mhJB15b3M /wcenPvq92aILjjtM1ymyZ5f1dTZk8V0U7wSF1OUcNglX6OpR50/FPJl9vYwT733+csPSNHWz/Q a0waT5zCB7GigJHzzc0j4ybHCAQ2+iBHfshJ+yS/NjpjprjhkbZfarLk8+0K+TkXcRn8= X-Gm-Gg: AYBFou2gNbcGMuKIfqx5XINHQ86yLP+OZokaafvpdB8eD0iYVYLTc8Xjp0H1zZgdN8F mHocdnh+mXec5Igau39ufFpKlYstx9kLZvOmBBzYcIqXAtYi55J0pTpY4vchADEid1YUOqzGLP4 HRt0Z30OYIFTDKDpu29SJZ2vqfr6PoQ4CjzZH1QrwCgirTdFBZSBkX1RG2VTiEc0grUOqsdsp+v 4oDAt/9xlqr+yZOTGf+53sJSDY7QqVMU0HbtKGIRF+W1kq0MHg1bbfs1Bcf83fH4ZoHjHUJw/Ph lJA5YSDhlX0yg6/9tSrKw+UmLw7u+lc9LPYbzzbTjddirwlzMDzbCczPceizQsWxOsD/BUUykP8 Kp8xVry75eaRkLYOaZPSqhp6xFJlwKQz4mJZ5 X-Received: by 2002:a17:902:cecc:b0:2d8:d4d2:d139 with SMTP id d9443c01a7336-2dd9ca3f088mr31792635ad.21.1789619887861; Wed, 16 Sep 2026 21:38:07 -0700 (PDT) X-Received: by 2002:a17:902:cecc:b0:2d8:d4d2:d139 with SMTP id d9443c01a7336-2dd9ca3f088mr31792245ad.21.1789619887416; Wed, 16 Sep 2026 21:38:07 -0700 (PDT) Received: from hu-mohs-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-33bf5a9fd38sm12357376eec.13.2026.09.16.21.38.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Sep 2026 21:38:07 -0700 (PDT) From: Mohammad Rafi Shaik Date: Thu, 17 Sep 2026 10:07:32 +0530 Subject: [PATCH v3 3/8] arm64: dts: qcom: shikra: Add gpr node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260917-shikra_audio_dts-v3-3-9a49e1ca6370@oss.qualcomm.com> References: <20260917-shikra_audio_dts-v3-0-9a49e1ca6370@oss.qualcomm.com> In-Reply-To: <20260917-shikra_audio_dts-v3-0-9a49e1ca6370@oss.qualcomm.com> To: Srinivas Kandagatla , Bjorn Andersson , Konrad Dybcio , Abel Vesa , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Mohammad Rafi Shaik , linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Ajay Kumar Nandam X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1789619867; l=3434; i=mohammad.rafi.shaik@oss.qualcomm.com; s=20260424; h=from:subject:message-id; bh=rVj0wB6TfE9jUwIn6RbEtT1SRMnMNK1dShgiCP32JiY=; b=E/QoJRcoYrzbLaxCBFVJf8MAU767a1GSDtIZUCe6ts+uE8hTGtI9uebyKU07z5nYxSsbjKsRs bBokGBHoB4dAmSxAAlX9mIwI+xYhjkJl6RgP3B6ESbboLTmQg6O9Rpz X-Developer-Key: i=mohammad.rafi.shaik@oss.qualcomm.com; a=ed25519; pk=KZedmYgMGYOzuTpLGv56tdrL+pTLDP8pdmfQ91xemiA= X-Proofpoint-GUID: q1qTZU83T6A8k9xymZx8UibvS_1rCBkv X-Proofpoint-ORIG-GUID: q1qTZU83T6A8k9xymZx8UibvS_1rCBkv X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTE3MDA1NiBTYWx0ZWRfXySRKidO+zP24 iammX5YaZCjoDL4bySOjWKx5jauhwlrKTMZGDG6DfFVc+c0eo67RE3mijfYeNjtnxCtUQepp4pr K6LRaGv4y+4wEEDIwQpfSlzq+2y6aKE0+M1A9Kwy4MgmrtgeLbcXacKkEqAsaiQ5qsMbTI4cLdr 7kQNUDJp1tO1ImKxe4m3QGK7IWXBE1CpcXtfyQurA+FZPLK3686fW02cKYsjYeIjeIYhbyUMgi7 4tO/SoXXuc8U+/actWyMwpKuRR10xH7P89254P8TCo7JZVQE782yqgz4UhKiIcH8pKYCjdh28Bd K6UH5iQTdXGgS45AAeLLZHSxC5GSQqUVNIbKgqxQzfjJHbh8WLY7o0UErVUDHazb8XgM10Sgs/f V8sy+uW1T6k2pdMQ1BoIpUL46W4W/25WYw7M9DvWzVRk9K+bE1A/HpHK3hQcCCPuhI9v0/aw/nf BcaMUTmQzLSf996vY1Q== X-Proofpoint-Spam-Info: AW1haW4tMjYwOTE3MDA1NiBTYWx0ZWRfXzmcsMwFMVceA EAyUb73/Ee16UGAQznUEJGnUmg91bX7Vqn5ywTgvZ6DBQzL4ttzAhIPBdtUnO6VtXy6gHj0jr8v yRmraVWaQHsNAfn/oEtt06oJxvFNtGE= X-Authority-Analysis: v=2.4 cv=VIRIDNPX c=1 sm=1 tr=0 ts=6aab6eb0 cx=c_pps a=JL+w9abYAAE89/QcEU+0QA==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=IkcTkHD0fZMA:10 a=VdqzKS8jKosA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=3WHJM1ZQz_JShphwDgj5:22 a=EUspDBNiAAAA:8 a=T3D8ljLgrI678HBggIwA:9 a=QEXdDO2ut3YA:10 a=324X-CrmTo6CU4MGRt3R:22 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-16_03,2026-09-16_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 spamscore=0 adultscore=0 priorityscore=1501 bulkscore=0 lowpriorityscore=0 suspectscore=0 clxscore=1015 phishscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609170056 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 7633d274e090..21e4e6a7e12a 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 @@ -16,6 +17,7 @@ #include #include #include +#include #include #include @@ -476,7 +478,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; }; @@ -2410,6 +2419,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