9803242...
by
Daniel Baluta <email address hidden>
drivers: imx: Select HAVE_SDMA_FIRMWARE when using MICFIL
MICFIL needs multi-fifo SDMA script so select HAVE_SDMA_FIRMWARE.
Signed-off-by: Daniel Baluta <email address hidden>
a8678d3...
by
Daniel Baluta <email address hidden>
drivers: sdma: Add sdma script code in header file
For ease of use add sdma script code directly in the sdma
header file.
Signed-off-by: Daniel Baluta <email address hidden>
8819667...
by
Daniel Baluta <email address hidden>
drivers: imx: Select DONE bit from software
With multi-fifo we need to enable done bit from software
as we have multiple fifos.
For this we make use of sw_done_sel configurations bits and
write proper bits into SDMA_DONE0 register.
For more information see `SDMA DONE0 Configuration
(SDMAARMx_DONE0_CONFIG)` SDMA register from i.MX8 reference manual.
Signed-off-by: Daniel Baluta <email address hidden>
4c7b69b...
by
Daniel Baluta <email address hidden>
drivers: sdma: Set watermark level for PDM
In order to enable PDM we need to use Multi-fifo support
and mcu_2_sai RAM script.
This script defines watermark level as follows:
r7 = Watermark
bit0~11: watermark level(wml*fifo_number)
bit15~12: to do-fifo number
bit16~19: fifo offset
bit27~24: sw done selector
bit28~31: # audio channels in one frame, 0: 1 channel,1: 2 channels
bit23: sw done enabled
Configuration parameters should come from DAI (PDM in our specific case)
but there is no easy way to forward such information so we just make
use of some default configuration, 4 fifos, 1 channel per fifo, sw done
enabled.
Signed-off-by: Daniel Baluta <email address hidden>
5f0d622...
by
Daniel Baluta <email address hidden>
platform: imx8m: dai: Set FIFO depth for PDM
On i.MX8MP PDM fifo has 32 entries (each with 4 bytes).
Signed-off-by: Daniel Baluta <email address hidden>
fb1d4f8...
by
Daniel Baluta <email address hidden>
drivers: imx: sdma: Enable multi-fifo script for micfil
MICFIL can support up to 8 channels. In order for this to work
we need to use multi-fifo script.
Signed-off-by: Daniel Baluta <email address hidden>
52c4da5...
by
Daniel Baluta <email address hidden>
drivers: imx: sdma: Introduce new SDMA channel type
Based on this we select proper firmware in order to
support multi-fifo.
Signed-off-by: Daniel Baluta <email address hidden>
15507ec...
by
Daniel Baluta <email address hidden>
topology: Add MICFIL topology for imx8mp
Signed-off-by: Daniel Baluta <email address hidden>
868711c...
by
Marcin Szkudlinski <email address hidden>
dp: start DP tick fixup
This is fixup for 689e8e999f220356f69b8532216790fed18a9da4
Incorrect list pointer has been used
Signed-off-by: Marcin Szkudlinski <email address hidden>
topology2: sof-mtl-rt713-l0-rt1316-l12-rt1713-l3: use default stream
name
rt713 and rt1713 are in different SoundWire links. So, no DAI type will
be appended to DAI link name. We should use default stream name in
the topology.