[alsa-devel] Help with wm8731 support for the Utilite (imx6q)

Jonathan Bennett jbscience87 at gmail.com
Wed Oct 22 19:43:11 CEST 2014


On Wed, Oct 22, 2014 at 11:02 AM, Fabio Estevam <festevam at gmail.com> wrote:

> On Wed, Oct 22, 2014 at 12:29 PM, Fabio Estevam <festevam at gmail.com>
> wrote:
>
> > What about changing this part to?
>
> Forgot that you use ssi as master and codec as slave, so something
> like this maybe:
>
>        sound {
>                 compatible = "simple-audio-card";
>                 simple-audio-card,model = "wm8731-audio";
>                 simple-audio-card,format = "i2s";
>                 simple-audio-card,bitclock-master = <&dailink0_master>;
>                 simple-audio-card,frame-master = <&dailink0_master>;
>                 simple-audio-card,audio-routing =
>                         "Line Out", "LOUT",
>                         "Line Out", "ROUT",
>                         "LLINEIN","Line In",
>                         "RLINEIN","Line In";
>
>                 dailink0_master: simple-audio-card,cpu {
>                         sound-dai = <&ssi2>;
>                         clocks = <&clks IMX6QDL_CLK_CKO>;
>
Tried several different clocks here, didn't seem to make a difference. Open
to thoughts here, but I'm beginning to be inclined to stick with the glue
driver that works. I'd eventually like to get this stuff mainlined, but
want to make sure to do it correctly.

>                 };
>
>                 simple-audio-card,codec {
>                         sound-dai = <&codec>;
>
>                 };
>         };
>


More information about the Alsa-devel mailing list