Re: [PATCH 5/6] dt-bindings: tlv320adcx140: Add slot programming property

From: Mark Brown
Date: Thu Sep 17 2020 - 09:04:03 EST


On Tue, Sep 15, 2020 at 02:06:05PM -0500, Dan Murphy wrote:

> + ti,slot-mapping:
> + type: boolean
> + description: |
> + Each channel can be assigned a specific TDM slot for either a left or
> + right channel. The left channel values are from 0-31d and the right
> + channel values are from 32-63d. If the right channel value is 32 then the
> + right channel slot will be slot 31.
> + The array index is sequential audio channel to be set.
> + [ch1, ch2, ch3, ch4, ch5, ch6, ch7, ch8]
> + If the channel is not to be used then the channel should be set to it's
> + default value.

This is something I'd expect to be done by the machine driver rather
than in the CODEC specific DT bindings, and apart from anything else
everything involved in the DAI will need to agree on the mapping so this
doesn't look like something that should be done in a device specific
binding.

Attachment: signature.asc
Description: PGP signature