Hi Support Team,
We are testing analog audio on Apalis iMX8QM and found that SGTL5000 codec met probe error after software rebooting via command with high-impedance headset attached on Ixora carrier X12. if no audio device on X12 or only small low-impedance ear set attached, all are okay. Detailed haredware set up and test process and log please find below, and kindly please help check and advise?
./ set up
Apalis iMX8QM 4GB WB IT V1.1B with Ixora carrier V1.2A, Ycoto linux Multimedia demo image latest quartly V5.3 installed.
Headset - Sony WH-1000XM3 and another local brand big headset (bluetooth off)
ear set - iPhone original small ear set
./ test process
a). attach Headset to Ixora X12 and power on apalis imx8, after booting all is fine
root@apalis-imx8:~# dmesg |grep sgtl
[ 2.491235] sgtl5000 3-000a: sgtl5000 revision 0x11
[ 3.292400] debugfs: Directory '59050000.sai' with parent 'apalis-imx8qm-sgtl5000' already presen
t!
[ 3.302046] asoc-simple-card sound: sgtl5000 <-> 59050000.sai mapping ok
[ 3.379712] #1: apalis-imx8qm-sgtl5000
b). then rebooting via command
root@apalis-imx8:~# reboot
c). after rebooting, the sgtl5000 probe error, and please find full failure boot log in the attachment.
root@apalis-imx8:~# dmesg |grep sgtl
[ 2.531016] sgtl5000 3-000a: Error reading chip id -5
[ 2.536547] sgtl5000: probe of 3-000a failed with error -5
apalis_imx8_sgtl5000_probe_failure.log (44.6 KB)
./ addtional information
a). if switch to small ear set attached or no audio device connection, everything is okay for several times rebooting. Looks like the issue is related to the audio device load.
b). have also tested apalis imx8 with Ycoto Linux BSP V5.4 nightly 09-01 version, ycoto linux BSP quarterly V5.2/V5.1, all have the same issue.
c). for comparison, with the same HW set up except changing SOM from apalis imx8 to apalis imx6 with ycoto linux quarterly downstream or upstream V5.3 installed, everything is fine for several times rebooting.
d). the issue can be reproduced on multiple apalis iMX8 SOMs, so it is not a single case issue.
Thanks and Best Regards
Hai