Android9 imx8mm is not support wm8942 codec?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Android9 imx8mm is not support wm8942 codec?

1,237 次查看
13660284951
Contributor III

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)

0 项奖励
回复
4 回复数

1,061 次查看
injaneer1
Contributor II

Did you solve this ?  I am have the same issue with a driver I wrote in Android 10.


Thanks

0 项奖励
回复

1,092 次查看
igorpadykov
NXP Employee
NXP Employee

Hi zhou

for i.MX8M Mini supported codec is WM8524 as described in Table 2. Features

attached Release Notes. For other codec ona can try to port it:

How to port new audio codec into Android.docx 

Porting custom audio codec in Linux BSP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,092 次查看
13660284951
Contributor III

thks igorpadykov

I was tryed? but it still register snd card fail,and while checked ths asoc platform,and I think code is ok。

Is there any imx8xxx chips on android9 can be referenced?

0 项奖励
回复

1,092 次查看
igorpadykov
NXP Employee
NXP Employee

one can look at Alsa Chapter Linux Manual in Linux 5.4.3_1.0.0 Documentation

Best regards
igor

0 项奖励
回复