SGTL5000 problems on iMX53

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SGTL5000 problems on iMX53

2,101 Views
NeilSimpson
Contributor I

Hello, my board is based on the imx53 QSB and uses the SGTL5000 sound chip connected up in the same way.  When the kernel loads I get this error:-

sgtl5000_hw_read: read reg error : Reg 0x00
Device with ID register 0 is not a SGTL5000
No device for DAI imx-ssi-1-0
No device for DAI imx-ssi-1-1
No device for DAI imx-ssi-2-0
No device for DAI imx-ssi-2-1
ALSA device list:
No soundcards found.

So no sound!

I tried to add in SSI in the kernel config, but the build.

Can anyone tell me if I need SSI for SGTL5000 support?

If so, what is it dependent on?  

Also, I noticed that if I read back IOMUXC_SW_MUX_CTL_PAD_KEY_COL3 and IOMUXC_SW_MUX_CTL_PAD_KEY_ROW3 after boot, they are both set to 0x00000014 which is software override mode (SION), not the ALT4 mode which I need.  I'm setting it in u-boot but it's getting overwritten by something in the kernel - I don't know what!  Any ideas?

0 Kudos
4 Replies

784 Views
ChaimA
Contributor I

Hi,

I've just boot QSB coming with ubuntu out of the box:

lucid-desktop login: lucid
Password:
sgtl5000_hw_read: read reg error : Reg 0x0e
sgtl5000_write: write reg error : Reg 0x0e = 0x000c
sgtl5000_write: write reg error : Reg 0x02 = 0x0020
Last login: Thu Jan  1 08:04:40 CST 1970 on ttymxc0
sgtl5000_write: write reg error : Reg 0x06 = 0x0130
Linux lucid-desktop 2.6.35.3-1129-g691c08a #7 PREEMPT Wed Nov 16 14:33:06 BRST 2011 armv7l GNU/Linux
Ubuntu 10.04 LTS

Welcome to Ubuntu!
 * Documentation:  https://help.ubuntu.com/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
It's just warnings?
because the video demo works with sound, but when trying Gstreamer, only video works without audio.

  gst-launch udpsrc port=5656 caps="application/x-rtp, media=audio, clock-rate=8000, encoding-name=PCMU, payload=0, ssrc=1253488865, clock-base=3079727525, seqnum-base=32302" ! queue ! rtppcmudepay ! mulawdec ! audioconvert ! alsasink -v

TNX,

0 Kudos

784 Views
NeilSimpson
Contributor I

Fixed!

0 Kudos

784 Views
RafaelThomasGoz
Contributor III

Hi I'm having the same issue. What have you done to fix it?

0 Kudos

784 Views
RafaelThomasGoz
Contributor III

Got it fixed, the problem was actually a bad HW that was introducing noise on the I2C channel and breaking my BSP.

0 Kudos