Re: [PATCH v2 5/7] dt-bindings: sound: qcom,sm8250: allow TDM slot properties

From: Rob Herring

Date: Tue Jun 30 2026 - 15:29:50 EST


On Tue, Jun 30, 2026 at 02:46:03PM +0530, Prasad Kumpatla wrote:
> Allow the standard TDM slot properties in CPU and codec endpoint
> nodes.
>
> Some audio backends operate in TDM mode and require the slot
> configuration to be described in Devicetree. The common TDM binding
> defines dai-tdm-slot-num, dai-tdm-slot-width,
> dai-tdm-slot-tx-mask and dai-tdm-slot-rx-mask for this purpose.
>
> Permit these standard properties in endpoint nodes so TDM-capable
> links can describe their slot configuration using the common binding.
>
> Signed-off-by: Prasad Kumpatla <prasad.kumpatla@xxxxxxxxxxxxxxxx>
> ---
> .../bindings/sound/qcom,sm8250.yaml | 26 +++++++++++++++++++
> 1 file changed, 26 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml
> index 15f38622b98b..c82c6c521f40 100644
> --- a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml
> +++ b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml
> @@ -90,6 +90,19 @@ patternProperties:
> sound-dai:
> maxItems: 1
>
> + dai-tdm-slot-num:
> + $ref: /schemas/types.yaml#/definitions/uint32
> + description: Number of slots in use
> +
> + dai-tdm-slot-width:
> + $ref: /schemas/types.yaml#/definitions/uint32
> + description: Width, in bits, of each slot
> +
> + patternProperties:
> + '^dai-tdm-slot-[rt]x-mask$':
> + $ref: /schemas/types.yaml#/definitions/uint32-array
> + description: Slot mask for active TDM slots

tdm-slot.yaml already defines these properties. Incorporate that into
this schema.

Rob