Re: iMX6UL EVK with kernel 4.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 2, 2016 at 4:30 PM, Petr Kulhavy <brain@xxxxxxxx> wrote:

> Mine plays at the correct speed. For the correct speed the clock assignment
> from the Freescale DTS needs to be copied, so that the SAI2 clock generates
> 12.288MHz.
> Below are the relevant nodes from my DTS:
>
> &clks {
>         assigned-clocks = <&clks IMX6UL_CLK_PLL4_AUDIO_DIV>;
>         assigned-clock-rates = <786432000>;
> };

That was the part I was missing, thanks!

It plays correctly now, but I get this error message from the wm8960 driver:

$ aplay /home/clarinet.wav
[   55.007221] wm8960 1-001a: failed to configure clock
[   55.012583] wm8960 1-001a: ASoC: Failed to prepare bias: -22

Do you see this too?

>> 2. Find a proper way to enable MCLK.
>>
>
> I would tend to put the control of the SAIx_MCLK_DIR into the SAI driver and
> if needed add an extra boolean property like "enable-mclk-output".

Yes, I think this makes sense.

I will propose some patches today or tomorrow and will keep you on Cc.

Thanks for the cooperation :-)
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux