Android9 imx8mm is not support wm8942 codec?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Android9 imx8mm is not support wm8942 codec?

1,074件の閲覧回数
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 返答(返信)

898件の閲覧回数
injaneer1
Contributor II

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


Thanks

0 件の賞賛

929件の閲覧回数
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 件の賞賛

929件の閲覧回数
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 件の賞賛

929件の閲覧回数
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 件の賞賛