22 Oct
2014
22 Oct
'14
7:43 p.m.
On Wed, Oct 22, 2014 at 11:02 AM, Fabio Estevam festevam@gmail.com wrote:
On Wed, Oct 22, 2014 at 12:29 PM, Fabio Estevam festevam@gmail.com wrote:
What about changing this part to?
Forgot that you use ssi as master and codec as slave, so something like this maybe:
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"; dailink0_master: simple-audio-card,cpu { sound-dai = <&ssi2>; clocks = <&clks IMX6QDL_CLK_CKO>;
Tried several different clocks here, didn't seem to make a difference. Open to thoughts here, but I'm beginning to be inclined to stick with the glue driver that works. I'd eventually like to get this stuff mainlined, but want to make sure to do it correctly.
}; simple-audio-card,codec { sound-dai = <&codec>; }; };