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