Hi Fabio:
I prot the driver from imx_3.14.28_7d_alpha branch to andorid4.4.3 imx6q,only modify the dts,as follow:
reg_audio: wm8960_supply {
compatible = "regulator-fixed";
regulator-name = "wm8960-supply";
gpio = <&gpio4 23 0>;
enable-active-high;
};
sound {
compatible = "fsl,imx6q-sabresd-wm8960",
"fsl,imx-audio-wm8960";
model = "wm8960-audio";
cpu-dai = <&ssi2>;
audio-codec = <&codec>;
codec-master;
};
codec: wm8960@1a {
compatible = "wlf,wm8960";
reg = <0x1a>;
clocks = <&clks 201>;
clock-names = "mclk";
wlf,shared-lrclk;
};
The sound’s card has been found.But can't play music.
When i use the tiny tool,it show below
root@sabresd_6dq:/sdcard/Music # tinyplay xiaopinguo.wav
ASoC: HiFi startup failed: -16
cannot open device '/dev/snd/pcmC0D0p'
Unable to open PCM device 0.
can you help me to analyze what the problems.
The dts and log pls reference to the attachment.
Thanks