AnsweredAssumed Answered

ADAU1761 Machine Driver for i.MX6UL

Question asked by GianfryCaputo on Oct 18, 2017
Latest reply on May 17, 2018 by larsc
Branched to a new discussion


I have a Variscite SoM (DART-6UL CPU: NXP/Freescale i.MX 6UltraLite / i.MX 6ULL - Variscite ) and I would like to use the ADAU1761 with it. I'm having a lot of problems with the drivers though. I'm using the kernel branch 4.1.15, with official ADAU1761 drivers from analog. I already modified the kernel to compile and add the drivers, modified the device tree accordingly to use the right I2C and I2S ports, and somehow the SoM and the codec seem to communicate correctly.

The problem is that I couldn't find a machine driver for it anywhere (something like a imx_adau1761.c), just some pieces of code from someone on this forum, but it seems to lack a lot of parts.

The main problem for now is that the PLL seems to never be enabled. Can you please point me in the right direction?

Attached you can find my dts, the ADAU1761 drivers I'm using (just a bit tweaked for debug prints purposes), and the machine driver I'm currently using.


Thanks a lot