Hi Mark, Lars
I want to add DPCM support on simle-card driver. 1st reason is for "sampling-rate-convert". And, 2nd reason, our customer want to use 2 cpu 1 codec style.
It works in my local environment. but, I need to know what is the good style for DT.
I guss Xiubo's clean up patch seems good for me, so, below approach is based on his style. What do you think this ?
-- normal style -- sound { compatible = "simple-audio-card"; ...
simple-audio-card,dai-link { ... cpu { ... }; codec { ... }; } }
-- use DPCM for sampling-rate-convert -- sound { compatible = "simple-audio-card"; ...
simple-audio-card,dai-link { ... cpu { ... }; codec { ... fixed-sampling-rate = <xxx>; }; } }
FE-cpu : cpu FE-codec : dummy
BE-cpu : dummy BE-codec : codec
-- use DPCM for multi DAI -- sound { compatible = "simple-audio-card"; ...
simple-audio-card,dai-link { ... cpu@0 { ... }; cpu@1 { ... }; codec@1 { ... }; } }
FE-cpu : cpu@0 FE-codec : dummy
BE-cpu : cpu@1 BE-codec : codec@1
Best regards --- Kuninori Morimoto