[PATCH v2 1/4] ASoC: dt-bindings: qcom,q6apm-dai: Add Shikra support

Mohit Sharma mohit.sharma at oss.qualcomm.com
Tue Dec 1 23:55:09 PST 2026


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 <ajay.nandam at oss.qualcomm.com>
Signed-off-by: Ajay Kumar Nandam <ajay.nandam at oss.qualcomm.com>
Signed-off-by: Mohit Sharma <mohit.sharma at oss.qualcomm.com>
---
 .../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



More information about the linux-arm-kernel mailing list