AnsweredAssumed Answered

imx8 sai2 interface edma0 configuration missing in current dtsi?

Question asked by Massimo Pennazio on Sep 18, 2018
Latest reply on Sep 19, 2018 by Massimo Pennazio

Hi,

 

I'm using a i.MX 8QuadXPlus on a custom board. I'm having problems using a custom

audio card driver, which uses sai2 peripheral (rx only).

 

The error I'm getting is:

fsl-sai 59060000.sai: ASoC: can't open platform 59060000.sai: -6

 

I've found this error (ENXIO) to be generated from

snd_dmaengine_pcm_open(substream, chan)

function called in imx-pcm-dma-v2.c while opening pcm stream.

 

Since I think it's a dma related problem, I've looked into fsl-imx8dx.dtsi and it seems that edma0 definition is missing 

sai2 and sai3 configuration, so I've added it on my own, but I'm getting the same error again and again.

 

I'm using linux-imx 4.9.88-r0 from codeaurora.org.

Outcomes