On Fri, Jul 18, 2014 at 10:14:16AM +0000, Kevin Startup wrote:
That's great info, thanks very much. My DT looks like this, inside sound{} I have:
compatible = "fs,imx28-tx28-wm8753", "fsl,mxs-audio-wm8753"; model = "wm8753"; saif-controllers = <&saif0 &saif1>; audio-controllers = <&i2c0>; audio-code = <&wm8753>;
Inside i2c0{} I have:
wm8753: wm8753@1a { Compatible = "wlf,wm8753"; reg = <0x1a>;
I have tried changing model to "wm8753-voice" but still get the same error.
Am I changing it in the wrong place? Or do I need another setting?
I'm very much a beginner at this DT stiff and also configuring and using sound devices so any info you can supply will be of great help.
How exactly the DT needs to be specified depends on the machine driver, as it will be what parses the sound node. I would assume that you are writing this as well? Whatever in there is setting the codec_dai_name on the dai_link seems to be setting the wrong value.
Thanks, Charles