hi,everyone
I have a problem with sgtl5000 in imx6q.
1.the mono format is OK,the left channel is normal,right is mute.
#./aplay Front_Center.wav
Playing WAVE 'Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
2.the stereo format is mute
#./aplay voice/wav2/1-9/9.wav
Playing WAVE 'voice/wav2/1-9/9.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: pcm_write:1939: write error: Input/output error
(kernel log)sound/core/pcm_lib.c:1944 playback write error (DMA or IRQ trouble?)
our env:
linux-3.10.53
imx6q
the dts:
1.
sound
{
compatible = "fsl,imx-audio-sgtl5000";
model = "sgtl5000-audio";
cpu-dai = <&ssi1>;
audio-codec = <&codec>;
audio-routing =
"MIC_IN", "Mic Jack",
"Mic Jack", "Mic Bias",
"Headphone Jack", "HP_OUT",
"Ext Spk", "LINE_OUT";
mux-int-port = <1>;
mux-ext-port = <5>;
};
2.
&ssi1
{
fsl,mode = "i2s-slave";
status = "okay";
};
sch:
imx6q + sgtl5000 + Aamplifier + speaker(R/L)
Is everyone can help me?
Best wishes!