AnsweredAssumed Answered

some question for porting wm8960 on yocto 1.6.2

Question asked by ChuYuan Chiang on Sep 17, 2015
Latest reply on Sep 21, 2015 by ChuYuan Chiang

Hi,

I found this url Porting WM8960 to Android jb4.2.2  about porting the wm8960 in android (kernel version is 3.0.35)

but in yocto 1.6.2 that is using device tree and 3.10.53 kernel.

 

I try port it, but the AUD3_TXD still not output any signal.

 

the following is my device tree for sound part:

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",
"Ext Spk", "SPK_LP",
"Ext Spk", "SPK_LN",
"Ext Spk", "SPK_RP",
"Ext Spk", "SPK_RN";
hp-det = <3 1>;
hp-det-gpios = <&gpio7 8 0>;
mic-det-gpios = <&gpio1 9 0>;
};

 

codec: wm8960@1a {
compatible = "wlf,wm8960";
reg = <0x1a>;
status = "okay";
clocks = <&clks 201>;
clock-names = "mclk";
wlf,shared-lrclk;

       };

 

&audmux {

  pinctrl-names = "default";

  pinctrl-0 = <&pinctrl_audmux_wcp>;

  status = "okay";

 

  ssi2 {

  fsl,audmux-port = <MX31_AUDMUX_PORT2_SSI1>;

  fsl,port-config = <

  (IMX_AUDMUX_V2_PTCR_TFSDIR |

  IMX_AUDMUX_V2_PTCR_SYN |

  IMX_AUDMUX_V2_PTCR_TFSEL(MX31_AUDMUX_PORT3_SSI_PINS_3) |

  IMX_AUDMUX_V2_PTCR_TCLKDIR |

  IMX_AUDMUX_V2_PTCR_TCSEL(MX31_AUDMUX_PORT3_SSI_PINS_3))

  IMX_AUDMUX_V2_PDCR_RXDSEL(MX31_AUDMUX_PORT3_SSI_PINS_3)

  >;

  };

 

  aud3 {

  fsl,audmux-port = <MX31_AUDMUX_PORT3_SSI_PINS_3>;

  fsl,port-config = <

  IMX_AUDMUX_V2_PTCR_SYN

  IMX_AUDMUX_V2_PDCR_RXDSEL(MX31_AUDMUX_PORT2_SSI1)

  >;

  };

};

 

Dose any one have idea about this?

 

Thanks,

ChuYuan

Outcomes