Messages in this thread | | | Subject | Re: [PATCH] ASoC: dt-bindings: Adjust #sound-dai-cells on TI's single-DAI codecs | From | Martin Povišer <> | Date | Wed, 10 May 2023 09:33:47 +0200 |
| |
> On 10. 5. 2023, at 9:30, Martin Povišer <povik+lin@cutebit.org> wrote: > >> On 10. 5. 2023, at 9:17, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: >> >> On 09/05/2023 17:34, Martin Povišer wrote: >>> A bunch of TI's codecs have binding schemas which force #sound-dai-cells >>> to one despite those codecs only having a single DAI. Allow for bindings >>> with zero DAI cells and deprecate the former non-zero value. >>> >>> Signed-off-by: Martin Povišer <povik+lin@cutebit.org> >>> ---
>>> '#sound-dai-cells': >>> - const: 1 >>> + # The codec has a single DAI, the #sound-dai-cells=<1>; case is left in for backward >>> + # compatibility but is deprecated. >>> + enum: [0, 1] >> >> Does it? I see playback and capture. > > I think so. Playback and capture are not separate DAIs. > > Martin
I double checked, I am pretty sure. There’s a single snd_soc_dai_driver, which becomes a single DAI.
Martin
> >> >> Best regards, >> Krzysztof > >
| |