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
#define ESAI_TFCR_TE(x) ((0x3f >> (6 - ((x + 1) >> 1))) << 2)
(x + 1) >> 1) it means every cghannel occupy one tx.
hope this link is useful for you.
Hello Guanqiong Xie,
I am not able to access the link you have shared .