Re: [PATCH v8 01/10] ASoC: dt-bindings: qcom,shikra-qaif-cpu: Add binding

From: Rob Herring

Date: Thu Oct 15 2026 - 15:08:20 EST


On Mon, Oct 12, 2026 at 12:15:52PM +0530, Harendra Gautam wrote:
> > > +

[...]

> > > +
> > > + qcom,qaif-aif-lane-map:
> > > + $ref: /schemas/types.yaml#/definitions/uint32-array
> > > + description:
> > > + Per-lane direction map, one entry per lane starting from lane 0.
> > > + Use 0 for TX (output/speaker) and 1 for RX (input/mic).
> > > + minItems: 1
> > > + maxItems: 8
> > > + items:
> > > + enum: [0, 1]
> >
> > Can't you use a single uint32 bit mask for this?
> Here intention to keep this consistent with the other tdm mask array properties.

What I mean is use 1-bit per lane/slot. That *is* aligned to the
existing properties:

'^dai-tdm-slot-[rt]x-idle-mask$':
$ref: /schemas/types.yaml#/definitions/uint32
description: Idle slot mask. Optional. A bit being set to 1 indicates
that the corresponding TDM slot is inactive/idle.

It can be extended to an array if you someday have more than 32 lanes,
but it seems you only have 8 ATM.

Rob