25 Sep
2017
25 Sep
'17
2:33 a.m.
Hi
We're looking into using the generic simple-card.c driver to glue together WM8510 codec driver and Atmel SSC platform driver without a specific machine code. It turned out that the DTS configuration below fails to set the codec PLL and clkdiv values. In fact, wm8510_set_dai_pll() and wm8510_set_dai_clkdiv() get never called. After adding following lines (omitting determination of myboard_* values) into wm8510_pcm_hw_params(), the audio starts working properly:
I think simple-card doesn't have .set_pll / .set_clkdiv feature today. You can add such feature if needed.
Best regards --- Kuninori Morimoto