AnsweredAssumed Answered

imx6q Linux 4.1.15 wm8962 recording has a lot of noise

Question asked by coder Planet on Oct 25, 2017
Latest reply on Oct 26, 2017 by igorpadykov

Hello NXP expert:

 

imx6q Linux 4.1.15 wm8962 recording has a lot of noise

 

Our hardware board using linux 3.0 wm8962 sound card driver is no noise, only the use of Linux 4.1.15 wm8962 sound card driver to generate noise.

 

how to solve the problem of noise ?

 

Thanks

 

dts configure:

 

    sound {
        compatible = "fsl,imx6q-sabresd-wm8962", "fsl,imx-audio-wm8962";     
        model = "wm8962-audio";
        cpu-dai = <&ssi2>;
        audio-codec = <&codec>;
        audio-routing =
            "Headphone Jack", "HPOUTL",
            "Headphone Jack", "HPOUTR",
            "Ext Spk", "SPKOUTL",
            "Ext Spk", "SPKOUTR",
            "MICBIAS", "AMIC",  
            "AMIC", "MICBIAS",
            "IN3R", "AMIC",
            "IN3R", "MICBIAS",
            "DMIC", "MICBIAS",
            "DMICDAT", "DMIC";
        mux-int-port = <2>;
        mux-ext-port = <3>;
        //hp-det-gpios = <&gpio7 8 1>;
        //mic-det-gpios = <&gpio1 9 1>;
    };     
    
    codec: wm8962@1a {  
        compatible = "wlf,wm8962";  // wm8962.c
        reg = <0x1a>;  
        pinctrl-names = "default";
        //pinctrl-0 = <&audmux>;
        clocks = <&clks 201>;    
        gpio-cfg = <
            0x0000 /* 0:Default */
            0x0000 /* 1:Default */
            0x0013 /* 2:FN_DMICCLK */
            0x0000 /* 3:Default */
            0x8014 /* 4:FN_DMICCDAT */
            0x0000 /* 5:Default */
        >;
    };    

wm8962

 

 

 

Outcomes