AnsweredAssumed Answered

关于Android5.1移植wm8960若干问题

Question asked by HongBo Liu on Jun 14, 2016
Latest reply on Mar 21, 2017 by XianYo Ju

大家好,我用的是sabresd-6dl平台,在移植wm8960出现了下列问题,希望得到大家的帮助,先谢过了

imx6qdl-sabresd.dtsi配置如下:

     sound {
        compatible = "fsl,imx-audio-wm8960";
        model = "wm8960-audio";
        cpu-dai = <&ssi2>;
        audio-codec = <&codec>;
        codec-master;
        gpr = <&gpr>;
        audio-routing =
            "Headset Jack", "HP_L",
            "Headset Jack", "HP_R",
            "LINPUT1", "Main MIC",
            "LINPUT3", "Main MIC",
            "RINPUT1", "Main MIC",
            "RINPUT3", "Main MIC",
            "Main MIC", "MICB";
        mux-int-port = <2>;
        mux-ext-port = <3>;
        status = "okay";
    }; 

 

   codec: wm8960@1a {                                                                                                                                                

        compatible = "wlf,wm8960";

        reg = <0x1a>;

        clocks = <&clks 201>;

        clock-names = "mclk";

        clock-frequency = <12000000>;

        wlf,shared-lrclk;

    };

 

&ssi2 {

        fsl,mode = "i2s-slave";

        status = "okay";

};

其他没做文件没做任何修改,开机打印信息如下:

root@sabresd_6dq:/ # dmesg | grep wm

<5>    lowmem  : 0xc0000000 - 0xef000000   ( 752 MB)

<6>wm8962-supply: no parameters

<4>pwm-backlight.25 supply power not found, using dummy regulator

<6>imx-wm8960 sound.21: wm8960-hifi <-> 202c000.ssi mapping ok

<6>wm8962-supply: disabling

<6>  #0: wm8960-audio

 

 

而且一直打印下列错误

ASoC: HiFi startup failed: -16

ASoC: HiFi startup failed: -16

ASoC: HiFi startup failed: -16

ASoC: HiFi startup failed: -16

ASoC: HiFi startup failed: -16

ASoC: HiFi startup failed: -16

Outcomes