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

Fabio Estevam festevam at gmail.com
Wed Oct 22 16:29:30 CEST 2014


On Wed, Oct 22, 2014 at 11:32 AM, Jonathan Bennett
<jbscience87 at gmail.com> wrote:

> Applying what I've learned back to the simple-audio-card, I can get a
> muffled pop in the headphones, like something is powering up. That's about
> it. When playing to the card, things think they play fine, but no real
> audio. I've checked volume levels, and also used Valentin's hint.
>
> Sound bits from dts:
>
>        sound {
>                 compatible = "simple-audio-card";
>                 simple-audio-card,model = "wm8731-audio";
>                 simple-audio-card,format = "i2s";
>                 simple-audio-card,audio-routing =
>                         "Line Out", "LOUT",
>                         "Line Out", "ROUT",
>                         "LLINEIN","Line In",
>                         "RLINEIN","Line In";
>                 simple-audio-card,cpu {
>                         sound-dai = <&ssi2>;
>                         bitclock-master;
>                         frame-master;
>                 };
>                 simple-audio-card,codec {
>                         sound-dai = <&codec>;
>                 };
>         };

What about changing this part to?

       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";

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

                dailink0_master: simple-audio-card,codec {
                        sound-dai = <&codec>;
                        clocks = <&clks IMX6QDL_CLK_CKO>;
                };
        };


More information about the Alsa-devel mailing list