I have a imx6q custom board with using sgtl5000 for sound card ,I configed the devicetree and build the kernel 3.14.52,when I use command "aplay xxx.wav",I cound not hear any sound ,can any one give any advice ?
here are some configure:
&ssi1 {
fsl,mode = "i2s-slave";
status = "okay";
};
&audmux {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_audmux>;
status = "okay";
};
codec: sgtl5000@0a {
compatible = "fsl,sgtl5000";
reg = <0x0a>;
clocks = <&clks 201>;
VDDA-supply = <®_3p3v>;
VDDIO-supply = <®_3p3v>;
sound {
compatible = "fsl,imx6q-sabresd-sgtl5000",
"fsl,imx-audio-sgtl5000";
model = "imx6q-sabresd-sgtl5000";
cpu-dai = <&ssi1>;
audio-codec = <&codec>;
audio-routing =
"MIC_IN", "Mic Jack",
"Mic Jack", "Mic Bias",
"Headphone Jack", "HP_OUT";
mux-int-port = <1>;
mux-ext-port = <3>;
};
pinctrl_audmux: audmuxgrp {
fsl,pins = <
MX6QDL_PAD_CSI0_DAT7__AUD3_RXD 0x130b0
MX6QDL_PAD_CSI0_DAT4__AUD3_TXC 0x130b0
MX6QDL_PAD_CSI0_DAT5__AUD3_TXD 0x110b0
MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS 0x130b0
>;
};