How to let ESAI output start from ESAI_TX1 and reserved ESAI_TX0 as other function on Linux

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to let ESAI output start from ESAI_TX1 and reserved ESAI_TX0 as other function on Linux

1,206 次查看
qiang_li-mpu_se
NXP Employee
NXP Employee

    For the default Freescale Linux BSP, when playback on ESAI, for two channel audio, the sound will be output from TX0, and for four channel audio, the sound will be output from TX0 and TX1.

 

    But for some special design case, for example GPIO is not enough for the board design, the IMX ESAI can also let the ESAI output start from TX1 and not use the TX0. In this case, when playback on ESAI, for two channel audio, the sound can be output from TX1, and for four channel audio, the sound can be output from TX1 and TX2.

 

    Attached is the updated ESAI driver code for such feature, it is based on Freescale Android R10.3 kernel. The macro "ESAI_NOT_USE_TX0" in file "imx-esai.h". The code was tested with CS42888 codec on iMX53 ARD board.

 

    File path:

kernel_imx/sound/soc/imx/imx-esai.c

kernel_imx/sound/soc/imx/imx-esai.h

Original Attachment has been moved to: 669-imxesai.c

Original Attachment has been moved to: 670-imxesai.h

标记 (1)
0 项奖励
回复
1 回复

665 次查看
qiang_li-mpu_se
NXP Employee
NXP Employee

This is not issue, just for information share, I had moved it to "http://imxcommunity.org/profiles/blogs/how-to-let-esai-output-start-from-esai-tx1-and-reserved-esai-..."

0 项奖励
回复