AnsweredAssumed Answered

How to match dtoverlay machine driver with ADAU1781 linux driver RPi

Question asked by epalaima on Jun 25, 2016
Latest reply on Aug 2, 2016 by larsc


Hi, I'm trying to set up the ADAU1781 as an I2S audio codec with the Raspberry Pi, providing audio input and output via the GPIO. To do this I am aware I need a machine driver as well as the linux driver included with the 1781. I have done some research and found that hardware peripheral setup is controlled on the Pi by device tree, which can be modified by device tree overlays. Further research showed that some analog devices products are already supported in this way: linux/adau1977-adc-overlay.dts at rpi-4.4.y · raspberrypi/linux · GitHub

 

Are there any additional steps I need to take to ensure the dtoverlay machine driver and the ADAU1781 linux driver provide proper support for the codec, or is it enough to have the linux driver installed and the dtoverlay machine driver being activated through /boot/config.txt?

 

Here is additional documentation on how dtoverlays work: Device Trees, overlays and parameters - Raspberry Pi Documentation

Outcomes