AnsweredAssumed Answered

iMX6Q sgtl5000 problem

Question asked by Matteo Sperandio on Feb 25, 2020
Latest reply on Feb 26, 2020 by Matteo Sperandio

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

Outcomes