Re: [PATCH v1 1/3] dt-bindings: sound: qcom,q6apm-dai: add optional qcom,vmid
From: Srinivas Kandagatla
Date: Thu Jun 18 2026 - 18:14:34 EST
On 6/9/26 7:40 AM, Ajay Kumar Nandam wrote:
> Add an optional qcom,vmid property for q6apm-dais nodes to describe
> additional VMIDs that should be granted access to PCM DMA buffers.
>
> The property is optional and bounded, and driver-side validation will
> reject invalid values such as including HLOS in the list or VMIDs that
> exceed 31, matching current SCM source-permission mask handling.
This is totally sounding like non-human text and not really adding any
value other than word count to the commit log.
It would be simple and clean to describe why this property is needed
and which platforms would be benifit from this.
>
> Signed-off-by: Ajay Kumar Nandam <ajay.nandam@xxxxxxxxxxxxxxxx>
> ---
> .../devicetree/bindings/sound/qcom,q6apm-dai.yaml | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml b/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml
> index 9e5b30d9c6e6..b767625985a7 100644
> --- a/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml
> +++ b/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml
> @@ -20,6 +20,16 @@ properties:
> minItems: 1
> maxItems: 2
>
> + qcom,vmid:
> + description: Optional list of destination VMIDs to share PCM DMA buffers with.
> + HLOS retains RW access as source owner and must not be listed.
Description is not clear and accurate, this property is mandatory on
some platforms where we have mDSP providing audio services.
Pl remove HLOS and expand VMID.
> + $ref: /schemas/types.yaml#/definitions/uint32-array
> + items:
> + minimum: 1
> + maximum: 31
Why is the max value 31, do you have predefined list of VMIDs ?
> + minItems: 1
> + maxItems: 8
> +
> required:
> - compatible
> - iommus