ADAU1977 Linux Driver

One of our customer is struggling to get the ADAU1977 driver register with no error in the kernel.

 

After adding some print traces into the driver code, it seems the error comes from the driver complaining that the configuration is missing the dai_name which could be the cpu_dai_name and /or codec_dai_name. In the ADI wiki page for the ADAU1977 it shows this snippet of code (fixed MCLK shown):

 

 

But there’s no device tree equivalent given. If I want set .cpu_dai_name and/or .codec_dai_name using the device tree method, how it should be done? I don’t want to hardcode the driver ,hence using the device tree method..

Can someone help?

Regards

Rajeev

Parents Reply Children
No Data