I am using EZSDK version 5.05.02.00 with the DM8168 processor on the Spectrum Digital DM8168 EVM.
In arch/arm/mach-omap2/board-ti8168evm.c I believe I see where the serializer directions are configured.
static u8 ti8168_iis_serializer_direction[] = {
TX_MODE, RX_MODE, INACTIVE_MODE, INACTIVE_MODE,
INACTIVE_MODE, INACTIVE_MODE, INACTIVE_MODE, INACTIVE_MODE,
INACTIVE_MODE, INACTIVE_MODE, INACTIVE_MODE, INACTIVE_MODE,
INACTIVE_MODE, INACTIVE_MODE, INACTIVE_MODE, INACTIVE_MODE,
};
My interpretation of this is that AXR0 (position 0 in the data structure) is being configured as a transmitter and that AXR1 (position 1 in the data structure) is being configured as a receiver. Could someone please confirm that I am interpreting this correctly?
Per the TI81xx PSP Porting Guide and the "ALSA Framework Hookup" section
http://processors.wiki.ti.com/index.php/TI81xx_PSP_Porting_Guide#ALSA_framework_hookup
I see that the association between the codec and the McASP instance being used is via the number used in the cpu_dai_name.
Where/how is the association made between the serializer channels (AXR0, AXR1) and the capture or playback data paths?