Hi Igor
it sounds really interesting. I was not aware of such interesting feature.
So we could add some DCD write commands to configure the SAI2 controller
register to start at boot stage the bit clock and the frame sync.
My doubt is if this initial setting can be lost or overwritten when the
linux kernel starts and the SAI2 is used to stream some audio.
For example I have realized that in the function fsl_sai_trigger (within
the fs_sai.c) the bit clock and frame sync are disabled when the
function is invoked
with a SNDRV_PCM_TRIGGER_STOP parameter. In your opinion do this event
overwrite the DCD initial settings?
Thanks a lot for your help
Best regards
fabio