Working on Audio codec interface with hikey960 .
My question is how can we enable the DMA for i2s . As far as my knowledge PCM driver taken care this dma side operation. It might be bydefault available . But while checking on dmesg prints I have seen some prints related to dma - pls see below
7.463668] hisi_i2s e804f000.hisi_i2s: Failed to get DMA channel capabilities, falling back to period counting: -6
[ 7.463672] asoc-simple-card soc:sound: hdmi-hifi.0 <-> hisi_i2s2 mapping ok
[ 7.463825] hisi_i2s_plat soc:hisi_i2s_plat: Failed to get DMA channel capabilities, falling back to period counting: -6
[ 7.463875] hisi_i2s_plat soc:hisi_i2s_plat: Failed to get DMA channel capabilities, falling back to period counting: -6
[ 7.463878] asoc-simple-card soc:sound: virtual-dai <-> hisi_i2s0 mapping ok
3m 0s 7m 27s
So Do I need to do anything exatra for dma enable for i2s ? Or is it taken care by PCM driver and it enabled by default ?
Any body have idea about this ?