20 Dec
2016
20 Dec
'16
11:41 a.m.
On Tue, 2016-12-20 at 15:46 +0800, Keyon Jie wrote:
This series is created to change the SSP format setting for both Tx and Rx, and it is verified on MinnowMax + ALC5651 codec with I2S stereo both SSP_CLK_EXT and SSP_CLK_AUDIO mode. Changes including:
- change ssp clock from 25M to 19.2M;
- add 16bit <==> 24bit volume converting functions;
- switch to use I2S mode(more common on host side);
- change ssp stream format to 24 bits;
- remove the usage of shim SSP divider and use SSCR0.SCR
for BCLK generating.
Looks good, but can you do a V2 and also include a patch that removes the M/N divider clock code (since we no longer use M/N).
Thanks
Liam