On Sun, Oct 19, 2014 at 3:58 AM, Jonathan Bennett jbscience87@gmail.com wrote:
And a different dts that is closer to the example given:
sound { compatible = "simple-audio-card"; simple-audio-card,model = "wm8731-audio"; mux-int-port = <2>; mux-ext-port = <4>; simple-audio-card,format = "i2s"; simple-audio-card,cpu { sound-dai = <&ssi2>; master-clkdir-out; frame-master; bitclock-master; }; simple-audio-card,codec { frame-master; bitclock-master; sound-dai = <&codec>; }; };
/* i2c3 */ &i2c3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c3>; status = "okay";
eeprom@50 { compatible = "at24,24c02"; reg = <0x50>; pagesize = <16>; };
codec: wm8731@1a { #sound-dai-cells = <0>; compatible = "wlf,wm8731"; reg = <0x1a>; AVDD-supply = <®_3p3v>; HPVDD-supply = <®_3p3v>; DCVDD-supply = <®_3p3v>; DBVDD-supply = <®_3p3v>; clocks = <&clks IMX6QDL_CLK_SSI2>;
This 'clocks' entry does not seem correct.
IMX6QDL_CLK_SSI2 is the clock from SSI2 module, which is turned on by the ssi driver.
Who provides the MCLK for wm8731 on utilite board? Isn't it mx6 CLKO pin?
Are you able to monitor this clock with a scope and make sure that it is actually being turned on?
We use CLKO output to drive MCLK pins on mx6qdl-sabresd board with wm8762 codec. You can use it as a reference.
Adding the Compulab's folks on Cc.