Create overlay for INMP441 I2S slave microphone over ALSA

Hi everyone,

I would like to compare two beaglebone boards running an online voice recorder application over http. To do so, I need to create an overlay to setup McASP as a I2S Master receiver in both Beaglebone AI and Beaglebone Black to record voice from a INMP441 microphone. Any hint were I could begin configure McASP as a I2S Master, generating both clock and frame sync, and get data over ALSA for this two beaglebone boards?

Best regards,

Vítor Cruz.