Enable VOIP SSP Driver on CTP
authorLouis Le Gall <louis.le.gall@intel.com>
Tue, 27 Mar 2012 11:17:35 +0000 (13:17 +0200)
committerbuildbot <buildbot@intel.com>
Thu, 5 Apr 2012 03:48:43 +0000 (20:48 -0700)
commitaa6f84521cc9ab5ced506352cb4e4336a4e83537
treeee56ca7c9dbde4350376d34bb6b3be4c50a32c65
parent8b048c7edd9de2e22dcb3e893ddf4da7bbe82404
Enable VOIP SSP Driver on CTP

BZ: 21780

This patch modify the 'builtin' voip ssp driver to a format
compatible with hw codecs (MSIC, but mostly Cirrus logic that
is not able to provide master pcm format as legacy used on
medfield platforms)
In this new format, the SSP provides Master I2S 16 bits@48Khz
First channel (Framesync low) : 16bits of channel 1 data
second channel (framesync high) : 16bits of channel 2 data +
 8 dummy bits (clk is running at 1.923Mhz need 40bits)
This signal is comptatible with audience and two version of hw
codecs as it is very close to signal provided by modem (i2s 48hz
without dummy bits)
Please note that platform modification is required to change
hw codec configuration and audience firmware to take care of
voip signal format modification.

Change-Id: I73323201842345db85ab571df6f2f1a3f242b303
Signed-off-by: Louis Le Gall <louis.le.gall@intel.com>
Reviewed-on: http://android.intel.com:8080/40931
Reviewed-by: Bellouard, Jean-marieX <jean-mariex.bellouard@intel.com>
Reviewed-by: Centelles, Sylvain <sylvain.centelles@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Mendi, EduardoX <eduardox.mendi@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
sound/pci/Kconfig
sound/pci/intel_mid_i2s/intel_alsa_ssp_hw_private.h
sound/pci/intel_mid_i2s/intel_mid_i2s.c