Hello NXP expert:
imx6q Linux 4.1.15 wm8962 recording has a lot of noise
Our hardware board using linux 3.0 wm8962 sound card driver is no noise, only the use of Linux 4.1.15 wm8962 sound card driver to generate noise.
how to solve the problem of noise ?
Thanks
dts configure:
sound {
compatible = "fsl,imx6q-sabresd-wm8962", "fsl,imx-audio-wm8962";
model = "wm8962-audio";
cpu-dai = <&ssi2>;
audio-codec = <&codec>;
audio-routing =
"Headphone Jack", "HPOUTL",
"Headphone Jack", "HPOUTR",
"Ext Spk", "SPKOUTL",
"Ext Spk", "SPKOUTR",
"MICBIAS", "AMIC",
"AMIC", "MICBIAS",
"IN3R", "AMIC",
"IN3R", "MICBIAS",
"DMIC", "MICBIAS",
"DMICDAT", "DMIC";
mux-int-port = <2>;
mux-ext-port = <3>;
//hp-det-gpios = <&gpio7 8 1>;
//mic-det-gpios = <&gpio1 9 1>;
};
codec: wm8962@1a {
compatible = "wlf,wm8962"; // wm8962.c
reg = <0x1a>;
pinctrl-names = "default";
//pinctrl-0 = <&audmux>;
clocks = <&clks 201>;
gpio-cfg = <
0x0000 /* 0:Default */
0x0000 /* 1:Default */
0x0013 /* 2:FN_DMICCLK */
0x0000 /* 3:Default */
0x8014 /* 4:FN_DMICCDAT */
0x0000 /* 5:Default */
>;
};
Hi coder
please try Demo Images on
https://www.nxp.com/webapp/Download?colCode=L4.1.15_2.0.0_MX6QDLSOLO&appType=license&location=null
for test use sect.7.3.7 Audio/Video recording attached Linux Guide.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------