Hello Kuninori,
We are seeing a regression while rebasing on kernel V5.1 (from v4.19). The regression is linked to your update of the audio graph to merge the support of the normal and DPCM sound cards.
In our sound card (described here: https://github.com/STMicroelectronics/linux/blob/v4.19-stm32mp/arch/arm/boot...)
We declare a normal sound card using the WM8994 codec:
Playback: CPU-DAI (SAI2a)-> CODEC-DAI/port0 Record: CPU-DAI (SAI2B)<- CODEC-DAI/port1 ...
The WM8994 codec is declared with 2 ports as it supports 2 interfaces.
When we probe the sound card we are detecting a wrong dai link type because the condition if (of_get_child_count(codec_port) > 1) return true. The dai link is detected as DPCM instead of the expected normal link.
I checked your last commits sent on mailing list, seems that this criteria is still valid.
Please could you elaborate a little bit on this criteria for the normal/DPCM selection?
What is you feeling about this limitation. Do you see a way to refine the condition to allow normal sound card with multi-port codecs. Or do we have to migrate our sound card to DPCM.
Thanks in advance for your answer
Regards Arnaud