iMX6Q sgtl5000 problem

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

iMX6Q sgtl5000 problem

1,421件の閲覧回数
m_sperandio
Contributor I

I have an Apalis iMX6Q with sgtl5000. The OS is custom made from buildroot this is uname -a:

Linux buildroot 4.9.166 #8 SMP Tue Feb 25 01:12:56 PST 2020 armv7l GNU/Linux

During the boot process I fot the following error messages and no sgtl5000 sound card is available under alsa:

[ 3.142286] sgtl5000 2-000a: Error reading chip id -6
[ 3.275460] imx-sgtl5000 sound: ASoC: CODEC DAI sgtl5000 not registered
[ 3.282127] imx-sgtl5000 sound: snd_soc_register_card failed (-517)

The problems seems to be on sgtl5000.c linux driver but I have no knowledge on how to modify to recognize the sgtl5000. I've tried by adding an additional 10us delay after the clock anable but have no effect always the same errors.

What can I do?

Regards,

Matteo

ラベル(2)
タグ(1)
0 件の賞賛
返信
2 返答(返信)

1,280件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Matteo

sgtl5000 is supported on some third party boards, one can look at sabrelite example:

imx6qdl-sabrelite.dtsi\dts\boot\arm\arch - linux-imx - i.MX Linux kernel 

Codec SGTL5000 can not work 

https://boundarydevices.com/audio-output-selection-under-linux-on-i-mx6/ 

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

0 件の賞賛
返信

1,280件の閲覧回数
m_sperandio
Contributor I

The problem is the carrier board.  switched with a new one and it works!

0 件の賞賛
返信