]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Enable tdm slots for max98927
authorHarsha Priya N <harshapriya.n@intel.com>
Thu, 26 Oct 2017 18:44:02 +0000 (11:44 -0700)
committerMark Brown <broonie@kernel.org>
Tue, 31 Oct 2017 11:08:31 +0000 (11:08 +0000)
commit7a679ea75a1bc4ea6216aa6877a8bd47fd83e790
tree3c6c813589952cd56e870a1bd68490ca6dd098eb
parent2fe30129b0a6a8ddf71c46c8fb4524cb89739bc0
ASoC: Intel: Enable tdm slots for max98927

In this patch the SSP0 BE's mode is changed from I2S mode to DSP_B
with 8 slots of 16 bits. It enables 4 slot for IV feedback and 2 slots for
playback on max98927 for kabylake machine driver

The layout of SSP0 Tx and Rx slots is as follows;
1. Playback uses Tx slots 0 and 1
2. Capture uses Rx slots 4,5,6,7.

Slots 0 through 3 of Rx are used by DMIC codec RT5514 in another flavor
of Kabylake platform. We are using the same slots 4 through 7 on all
Kabylake platforms for max98927 in order to reuse same NHLT configuration.

Signed-off-by: Naveen M <naveen.m@intel.com>
Signed-off-by: Harsha Priya <harshapriya.n@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/kbl_rt5663_max98927.c