Hello,
I am trying to configure SAI1 of the iMX7 to be used with an external codec.
Interesting part of my device tree is shown below:
...
I am trying to play a 48kHz audio file with aplay and it always fails with this error:
aplay: set_params:1403: Unable to install hw params:
Going deeper into the code, it seems the problem comes in clk.c:
That function is called when the DAI is configured:
The clk_calc_new_rates fails as "parent" is not defined when the function is called, and no callback are defined for the "derterminate_rate" and "round_rate" functions for the clock.
Kernel version is 4.14
I do not see what is wrong in my configuration, am i missing something?
Thanks for your help.
Hi Jean-Baptiste
for MX7 simple audio card one can look at
Eight channels audio on i.MX7 with PCM3168 - Bootlin's blog
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello,
The mistake was on my side, the question is totally off topic.
However thanks for your answer.
Regards,