Hello,
I am developing custom audio codec driver on IMX6ULL with ESAI as interface.
My interface mapping is as below,
pinctrl_esai: esaigrp {
fsl,pins = <
MX6ULL_PAD_CSI_DATA00__ESAI_TX_HF_CLK 0x1b0b0
MX6ULL_PAD_CSI_DATA01__ESAI_RX_HF_CLK 0x1b0b0
MX6ULL_PAD_CSI_DATA04__ESAI_TX_FS 0x1b0b0
MX6ULL_PAD_CSI_DATA05__ESAI_TX_CLK 0x1b0b0
MX6ULL_PAD_CSI_DATA07__ESAI_T0 0x1b0b0
MX6ULL_PAD_CSI_HSYNC__ESAI_TX1 0x1b0b0
MX6ULL_PAD_CSI_PIXCLK__ESAI_TX2_RX3 0x1b0b0
MX6ULL_PAD_CSI_MCLK__ESAI_TX3_RX2 0x1b0b0
MX6ULL_PAD_CSI_DATA02__ESAI_RX_FS 0x1b0b0
MX6ULL_PAD_CSI_DATA03__ESAI_RX_CLK 0x1b0b0
MX6ULL_PAD_CSI_DATA06__ESAI_TX5_RX0 0x1b0b0
MX6ULL_PAD_CSI_VSYNC__ESAI_TX4_RX1 0x1b0b0
>;
};
And Codec is master and CPU (ESAI) slave.
After all coding, when I am running the aplay, i am getting write error: Input/output error.
Looks like the clock is not configured correctly.
can anyone tried this setup before? please share your implementation details.
Thanks,
Kiran
解決済! 解決策の投稿を見る。
Hi Kiran
for i.MX6ULL esai example one can look on
Driver description in Chapter 7 Audio Linux Manual included in Documentation
Best regards
igor
Hi Kiran
for i.MX6ULL esai example one can look on
Driver description in Chapter 7 Audio Linux Manual included in Documentation
Best regards
igor