Nicolin,
Thanks. As the mainline kernel supports I2S master mode, would you please tell me which ASoC machine driver actually uses I2S master mode?
The reason I am asking is that I am using I2S master mode, I'd like to reference that machine driver to configure audmux by function imx_audmux_v2_configure_port().
Thanks.
On 02/20/2015 01:01 PM, Nicolin Chen wrote:
On Thu, Feb 19, 2015 at 06:57:39PM +0800, Xuebing Wang wrote:
I am working on ASoC based sound driver for our iMX6SL based board. There are 3 I2S peripherals on the board:
- iMX6SL pads AUD3 (as in AUD3_TXC), connect to peripheral Codec3
- iMX6SL pads AUD5 connect to Codec5
- iMX6SL pads Aud6, connect to Codec6
Q1) Is internal SSI3 controller (ssi@02030000) actually *hard-wired* to AUDMUX port 7?
Yes. The first version of AUDMUX was only designed for two SSIs. Later version of i.MX SoC added an extra SSI so it had to connect to AUD7 which looks a bit weird.
Q2) Can I configure audmux as below?
- External AUD3 -> internal SSI3 (which is actually audmux port 7?)
- External AUD5 -> internal SSI2 (ssi@0202c000)
- External AUD6 -> internal SSI1 (ssi@02028000)
I think you can.
Nicolin