Hi Eugeniu
However, my question touched a different aspect of the patch. The comment added by commit [1] and preserved by commit [2] both suggest that is solely 'TDM Extend' mode which needs 6-to-8 channel adjustment. Your comment sounds like this also applies to 'TDM Split'?
Or for 'TDM Split' we only care to sanitize the channel value (i.e. make sure it is in the 0..8 range)?
For "TDM Extend mode", we need to use 8ch clock for 6ch sound. See Figure 41.12 "TDM Extend Mode Operation with 8-channel Data in Serial Bus and 6-channel Data Inside the SoC (SSI0)"
For "TDM Split mode", it is 4ch or 8ch (4ch is not supported on this driver). See Figure 41.17 "TDM Split Mode (Stereo × 4)"
Around here is very confusable, thus, Unfortunately, it is not perfect implementation. It works for existing Renesas board, but maybe just luck (?).
Thank you for your help !! Best regards --- Kuninori Morimoto