AnsweredAssumed Answered

FSL ESAI drivers in 3.10.17 linux imx : IMX6

Question asked by sharvari harisangam on Aug 27, 2015
Latest reply on Aug 31, 2015 by sharvari harisangam

Hello,

     I am working on a custom board based on Sabreauto imx6 solo board. our board has custom audio codecs. So I need to add custom drivers on top of fsl_esai driver. I am using linux-imx 3.10.17 kernel.  While looking at the fsl_esai.h file , I found some #defines such as

#define ESAI_TFCR_TE(x) ((0x3f >> (6 - ((x + 1) >> 1))) << 2)

#define ESAI_RFCR_RE(x) ((0xf >> (4 - ((x + 1) >> 1))) << 2)

 

How exactly are these used ?

In the newer kernel (3.14.28) , I see these defines are changed. How to relate these two?

 

-Thanks

Sharvari Harisangam

Outcomes