From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796198146; b=m9aqNEEHn2f+oOztbpMbIojXsBzQKueenF/02bVk3vXiNI/cLXLCoAwWgzHDcBy/UrM1 +fdwdcWapWCCPVFYJaEvcZg5ld4sCVZ9E0Wn6b9yfh5dU/7ggpt/BSxrOXgpL6UzJIt3v PE1UCzvuBFYTIVNd0L8OeKnlsogMjsYHTywtLcDAvVeTYPiieCZQY7vkxmdHxzCqlcRYO Te4yBhZ/HKRC8KgT/hiNWpg0QNpcHF/Q2pu9Ck/AHqo1hJRWbODHOrC9fZh1Jm7/wLx70 kHHOhScxZex46zIdT5eg7jbR0hgdvtX4S1W3mGAjOC78h0PMhzREv4U+KJYuAxaihLg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796198146; h=DMARC-Filter:Received:DKIM-Signature:Received:Received:Received: Received:From:To:Cc:Subject:Date:Message-Id:X-Mailer:In-Reply-To: References:MIME-Version:Content-Transfer-Encoding: X-Proofpoint-Reinject:X-QCInternal:X-QCInternal: X-Proofpoint-Spam-Details-Enc:X-Authority-Analysis: X-Proofpoint-Spam-Info:X-Proofpoint-ORIG-GUID:X-Proofpoint-GUID: X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details; bh=GRTB6scsvX2+8rRiFj5H5s6fLmWfs5A6B4E6WVX03y4=; b=o5ZvO8+RkYtcQPXTveXAbYlmiZ1tOujcDYNlgTIErKGaPBeWgIh5F/MtyX+fMa4w591n tTZF57VNit+oRzIldwj6lvFQMbyIwz7uVN3QlTBx9LIQ5Nv1bFwFHe4V0yu9fLKB8f8MK FOVKSF0xo1sfRg8u1K9QVl1eOOdtkTSljeDvbaP1cgZSEob1nF5gPWA4J4pHbhGPZjHXB pSan8KRic+k/cRk6QHOiWUfKCuSNRYg0+qA6UH0Ah4bDlV2rPO3G5eZj4WaMGvx55/o6E QPXFPK8/x50kQfa9YU779WfHqt+kKtMlswpt7t1vuM5g8xdbyV3a7apx7oRzK+4zm1A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=kzJt8ufu; arc=none smtp.remote-ip=205.220.168.131 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3A082606A337; Wed, 2 Dec 2026 07:55:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3A082606A337 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=kzJt8ufu Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B26pLB03193174; Wed, 2 Dec 2026 07:55:17 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=GRTB6scsvX2 +8rRiFj5H5s6fLmWfs5A6B4E6WVX03y4=; b=kzJt8ufudeMVqnkVqLnLtbIf5jJ ogbnwt+fJaCXdedBCzYyAPrd4NlwJlzEqE3Ln3Rv/bVgC4nrDk/yJH2+zZXmHtQy iG+qgP/AOq7JHB5S1B11EEG2DfSTMnWTSHFPj9oHc4syKazZ6Pqx3FqshwfWobjs Vn+zx5icLVy1rRltoFoRhT1ek2NYg0HoHdtv+43e8YTRMXv9zJVv4SaVi9IjFHBR I+LuUleoRag9fb9RWqv7xumEtbMUF5SeGCEWGy+FhW5y/s/SCdeQcGUD3szobZVl 8Pdla3FIf4ZrCkdt09a4kHyYzW2eOrHQbg8RNzPjn1ml5rhf3orB831qZ3Q== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ja4m92ep4-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 02 Dec 2026 07:55:17 +0000 (GMT) Received: from pps.filterd (apblrppmta01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.18.1.11/8.18.1.11) with ESMTP id 6B27tDgP1879016; Wed, 2 Dec 2026 07:55:13 GMT Received: from hu-devc-hyd-u22-c.qualcomm.com (hu-mohis-hyd.qualcomm.com [10.147.253.64]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 6B27tDKL1878995 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 02 Dec 2026 07:55:13 +0000 (GMT) Received: by hu-devc-hyd-u22-c.qualcomm.com (Postfix, from userid 4840500) id 826C83D3; Wed, 2 Dec 2026 13:25:12 +0530 (+0530) From: Mohit Sharma To: Srinivas Kandagatla , Bjorn Andersson , Mark Brown Cc: Ajay Kumar Nandam , Liam Girdwood , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rob Clark , Will Deacon , Robin Murphy , Joerg Roedel , Konrad Dybcio , Abel Vesa , Jaroslav Kysela , Takashi Iwai , linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mohit Sharma Subject: [PATCH v2 1/4] ASoC: dt-bindings: qcom,q6apm-dai: Add Shikra support Date: Wed, 2 Dec 2026 13:25:09 +0530 Message-Id: <20261202075512.3112173-2-mohit.sharma@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20261202075512.3112173-1-mohit.sharma@oss.qualcomm.com> References: <20261202075512.3112173-1-mohit.sharma@oss.qualcomm.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Reinject: loops=2 maxloops=12 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAyMDAzMSBTYWx0ZWRfXyZcu6MbsPwfS GVrvQ4Zg4V78Js7UcdguO99dRD1A0097nTwLqTZPY3wNmroOQ4I2MZfdIf/5ZMF411fJMAOLZw1 J0zqOss5NSUYJp1NCXgwI7j4IMf6DIOstMgDbm/Es8qPJZaHhtc+XeVE8b/o3VBQjRALN04t2Ui 6jjwpLT4aNd+YMB+vY1XtDNz39lPvL8zUJt75mINP2rBgNTKWscRDWJzc/qhLf7braUARNpNqBY GacL8Z701hkuXBmUFhC9uRlfgOWN+8eFHTjkRsO0z7CJpIK9eSR1uRPnUzsqm88T4t7FQhz8FX9 NodLKGNl0CM8mDzsjIRj+D6AYgW4tZgFSZmKYVicnNFfWoVRmViZ9iU7D72AOuZmd3dJPL2fIJm 8NtouftTZDf9P3PXsxcFFMBGREG74BGlzq2K6IiJiTD3zsNdApUm6iH4eGPlZDfYYCCZTEIdsuH awG1MQ08ucv12e1leag== X-Authority-Analysis: v=2.4 cv=S/ZMU4sP c=1 sm=1 tr=0 ts=6b0fcee5 cx=c_pps a=Ou0eQOY4+eZoSc0qltEV5Q==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=pUM-KoujPXoA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=EUspDBNiAAAA:8 a=Mho0Gg_QYPVSDt4oThAA:9 X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAyMDAzMSBTYWx0ZWRfXwDzf7rC8m0o6 Gcb32tjfoCUqsITNPoznrbzbop9z8MDROAPAkpxcwiUjeyfTqQyolmD2ofIqxYwQOMCFTFreo9p pRvorCQEm3g3QhHgBU8h3ufnBH1TAgI= X-Proofpoint-ORIG-GUID: uFGDN6VMoYzZrf4cSi4LU42dThZJSYQE X-Proofpoint-GUID: uFGDN6VMoYzZrf4cSi4LU42dThZJSYQE X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-12-02_02,2026-12-01_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 suspectscore=0 lowpriorityscore=0 bulkscore=0 spamscore=0 malwarescore=0 phishscore=0 clxscore=1015 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612020031 Shikra's q6apm DAI needs a SoC-specific compatible so that the Qualcomm SMMU implementation can select the identity domain required by its firmware ABI. The ASoC driver continues to bind using the generic fallback compatible. Shikra uses a reserved-memory carveout as the backing pool for its audio DMA heap. When Linux runs under KVM/EL2, it also owns the apps SMMU and the EL2 overlay adds an iommus property to the DAI node. The resulting tree contains both memory-region and iommus, describing the allocation pool and the mDSP address translation respectively. Allow the Shikra compatible followed by the existing generic compatible. Replace oneOf with anyOf so at least one memory description remains required while permitting both properties in the Shikra EL2 tree. Co-developed-by: Ajay Kumar Nandam Signed-off-by: Ajay Kumar Nandam Signed-off-by: Mohit Sharma --- .../devicetree/bindings/sound/qcom,q6apm-dai.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml b/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml index c1f9fc9eab64..8ad20f95c814 100644 --- a/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml @@ -14,7 +14,11 @@ description: | properties: compatible: - const: qcom,q6apm-dais + oneOf: + - const: qcom,q6apm-dais + - items: + - const: qcom,shikra-q6apm-dais + - const: qcom,q6apm-dais iommus: minItems: 1 @@ -33,7 +37,7 @@ properties: required: - compatible -oneOf: +anyOf: - required: - iommus - required: -- 2.34.1