16 Jun
2023
16 Jun
'23
10:42 p.m.
On 16/06/2023 16:39, Fabio Estevam wrote:
Hi,
I am working on an imx8mn-based board with an ES9080 codec and I am trying to get EASCR to work. (The ES9080 driver is not upstreamed yet).
Audio playback works fine via simple-audio-card and here are my changes to get EASRC to work:
- sound-ess {
compatible = "simple-audio-card";
simple-audio-card,name = "ess-audio";
simple-audio-card,format = "left_j";
simple-audio-card,frame-master = <&s2cpu>;
simple-audio-card,bitclock-master = <&s2cpu>;
s2cpu: simple-audio-card,cpu {
sound-dai = <&sai2>;
dai-tdm-slot-num = <8>;
fsl-asoc-card does not take the number of slots into account.
I have sent a patch adding support for it.
Now I can get audio output and will be running more tests.
Thanks