I have a card developed from a sc589-ezkit card. I am using Yocto to generate an image for my card.
I am using this documentation: https://wiki.analog.com/resources/tools-software/linuxdsp#getting_started
For my card, I use the same kernel but I modify what I need (configuration, devicetree, drivers etc ...)
I am in the process of setting up the DAIs.
Cross-code was used to obtain the pinmux, which was reported in the "./arch/arm/mach-sc58x/sc58x-ezkit.c" file in the "sru_init" function.
All our configuration compiles except one line: SRU (0, DAI0_PB01_O, SPT0_AD0_I);
This line generates the following errors:
I went to look in the rest of the code and it comes from the SRU macro which extends DAI0_PB01_O to A_DAI0_PB01_O, B_DAI0_PB01_O, C_DAI0_PB01_O etc ... up to G_DAI0_PB01_O.
A_DAI0_PB01_O and C_DAI0_PB01_O do not exist in the sc5xx_sru.h file
https://github.com/analogdevicesinc/lnxdsp-linux/blob/99992b7daf26b1544946a99972ed2349698b5156/include/sound/sc5xx-sru.h#L388 // A_xxxx "should" be on this line.
https://github.com/analogdevicesinc/lnxdsp-linux/blob/99992b7daf26b1544946a99972ed2349698b5156/include/sound/sc5xx-sru.h#L742 // As B_xxxx is on this line.
Naively, I would want to define A_DAI0_PB01_O and C_DAI0_PB01_O at 0x00 as for the other letters.
I do not understand what these groups represent (A, B, C ....). Where can I find the value I should use for the definition?