yes, as mentioned before: you need to look at all the #ifdef IS_AM572x
sections.
AndyCap Looking at the BBAI overlay, I'm guessing that should just work on the AI64.
that's possible, it was written with the "cape compatibility layer"... if you load the overlay at boot you can then check in dmesg
whether you see any relevant error ...
you can also use i2cdetect -y -r X
for a relevant X
to see if the codec is detected at 0x18. As to what X is, it may well be that the overlay uses a different name from what the datasheet/system reference manual uses, so you could try a few X
and see if you get any result from any of those ...