On 04/09/2018 02:07 AM, Nicolin Chen wrote:
On Sun, Apr 08, 2018 at 09:33:52PM +0200, Marek Vasut wrote:
Try feeding it the following values, The codec I use is PCM1808.
[1] fsl_esai_set_dai_sysclk[227] clk_id=0 freq=24576000 dir=1 [2] fsl_esai_divisor_cal[131] tx=0 ratio=2 usefp=0 fp=0 [3] fsl_esai_set_bclk[322] tx=0 freq=3072000 [4] fsl_esai_divisor_cal[131] tx=0 ratio=8 usefp=1 fp=8
Sorry for confusing you, clk_id in [1] should be 3 .
No worries, it doesn't change the program flow. But it makes sense now as the input is 48MHz.
Except with this configuration , the audio doesn't work without this patch. I'm happy to receive any feedback on why or what is the problem.
I sent a patch to you and in the maillist for review. Would you please test it and sent a Tested-by to the patch? Thanks
Done, thanks for your help! :)