![](https://secure.gravatar.com/avatar/4201ac5d0777deda8b422d473c17053a.jpg?s=120&d=mm&r=g)
29 Sep
2022
29 Sep
'22
8:25 a.m.
I think TDM slot number is possible but not TX/RX mask. What we have in topology is union of tx/rx mask of all channels. We don't know the mask of specific channel in DAI_CONFIG.
DAI_CONFIG(SSP, 0, BOARD_HP_BE_ID, SSP0-Codec, SSP_CONFIG(I2S, SSP_CLOCK(mclk, 19200000, codec_mclk_in), SSP_CLOCK(bclk, 2400000, codec_slave), SSP_CLOCK(fsync, 48000, codec_slave), SSP_TDM(2, 25, 3, 3),
the 3 3 is precisely the channel mask!
Yes, but what we need in the hw_params() is the mask for individual channel, like 0x1 for left and 0x2 for right.
Regards, Brent