[Sound-open-firmware] [PATCH 0/8] SSP: baytrail 24 bits support

Keyon Jie yang.jie at linux.intel.com
Tue Dec 20 08:46:47 CET 2016


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:
1. change ssp clock from 25M to 19.2M;
2. add 16bit <==> 24bit volume converting functions;
3. switch to use I2S mode(more common on host side);
4. change ssp stream format to 24 bits;
5. remove the usage of shim SSP divider and use SSCR0.SCR
for BCLK generating.

Keyon Jie (8):
  platform: ssp divider: read the ssp clock directly
  platform: switch default ssp clock to 19.2M
  volume: add 16bit<==>24bit volume copy function and mapping
  ssp: switch dai format form PCM B mode to normal I2S mode
  platform: add divider m/n setting for 50 bclk_fs
  dai: add stream_format to dai_data for codec stream
  ssp: change stream format to S24_4LE
  ssp: switch to use SCR for BCLK

 src/audio/dai.c                                   |  9 +++++
 src/audio/volume.c                                | 43 +++++++++++++++++++++++
 src/drivers/ssp.c                                 |  4 +--
 src/ipc/intel-ipc.c                               | 19 +++-------
 src/platform/baytrail/include/platform/platform.h |  8 +++--
 src/platform/baytrail/platform.c                  | 10 ++----
 6 files changed, 66 insertions(+), 27 deletions(-)

-- 
2.7.4



More information about the Sound-open-firmware mailing list