Hi,
can someone tell me if there is any restriction on number of channels that are supported by sai driver in imx8 mini.
In my system, i have 8 TDM lanes and want to drive 16 channels per TDM line. total we want to do a playback of 128 channels.
in the following code is max_channels is set to 32 for playback. can i change it 128?
static struct snd_soc_dai_driver fsl_sai_dai = {
.probe = fsl_sai_dai_probe,
.playback = {
.stream_name = "CPU-Playback",
.channels_min = 1,
.channels_max = 32,
.rate_min = 8000,
.rate_max = 2822400,
.rates = SNDRV_PCM_RATE_KNOT,
.formats = FSL_SAI_FORMATS,
},
.capture = {
.stream_name = "CPU-Capture",
.channels_min = 1,
.channels_max = 32,
.rate_min = 8000,
.rate_max = 2822400,
.rates = SNDRV_PCM_RATE_KNOT,
.formats = FSL_SAI_FORMATS,
},
.resume = fsl_sai_dai_resume,
.ops = &fsl_sai_pcm_dai_ops,
};