SAI3 on imx6ull with sgtl5000

Hi @sirhc !

Do you have any news regarding this topic?

Best regards,

Hi @henrique.tx,

Well I have it some sort of working so I can evaluate the module with our application.
There is still the issue the MCLK is not clocking at the moment the I2C device is probed after powerup.
When I do a reboot (without powering down) the MCLK is still clocking at the moment the I2C device is probed. So the kernel will find the alsa soundcard
The part I did not look into yet is why it is working for your imx6dl modules. These modules also have the sgtl5000 chip and I would expect a similar behaviour??

Kind regards,

Christian

Hi @sirhc !

Please check the SGTL5000 from this Errata: https://docs.toradex.com/103380-colibri-imx6-errata.pdf

Seems related to your issue, right?

This errata from NXP also seems to be related: https://www.nxp.com/docs/en/errata/SGTL5000ER.pdf

This is the related commit in Toradex’s downstream Linux Kernel:

https://git.toradex.com/cgit/linux-toradex.git/commit/?&id=67de5d6922c174ab4b3d7dd3d0b376e69af0a786

You can also see that this fix is present in upstream Linux Kernel branch (since you are using TorizonCore upstream):

https://git.toradex.com/cgit/linux-toradex.git/commit/?&id=f5d73fd6e9f806fea129d0f26ca7c555d408ba0

Let us know if this helps you.

Best regards,

Hi @sirhc !

Do you have any news regarding this topic?

Best regards,