AnsweredAssumed Answered

Android9 imx8mm is not support wm8942 codec?

Question asked by zhou wei on May 3, 2020
Latest reply on May 9, 2020 by igorpadykov

I configure dts to codec as below

 

wm8524: wm8524 { compatible = "wlf,wm8524";
clocks = <&clk IMX8MM_CLK_SAI3_ROOT>;
clock-names = "mclk";
wlf,mute-gpios = <&gpio5 21 GPIO_ACTIVE_LOW>; };
sound-wm8524 { compatible = "fsl,imx-audio-wm8524";
model = "wm8524-audio";
audio-cpu = <&sai3>;
audio-codec = <&wm8524>;
audio-routing = "Line Out Jack", "LINEVOUTL",
"Line Out Jack", "LINEVOUTR"; };

 

while the start kernel log show us snd_soc_register_card 

 

[ 2.058694] imx-wm8524 sound-wm8524: ASoC: CODEC DAI wm8524-hifi not registered
[ 2.066018] imx-wm8524 sound-wm8524: snd_soc_register_card failed (-517)

Outcomes