ASoC: Intel: Skylake: Add MCLK configuration
authorDharageswari.R <dharageswari.r@intel.com>
Fri, 5 Feb 2016 06:49:07 +0000 (12:19 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 8 Feb 2016 16:44:17 +0000 (16:44 +0000)
commitc115fa5ec06a647c5aeff95d73e56d488145ec2e
treeb278c825a2ead41cbd4a7a2631e3b5d4b28108f0
parent718a42b5eaddb3180e2589590732d61e047858fb
ASoC: Intel: Skylake: Add MCLK configuration

The SoC has MCLK output which is typically required by codecs.
The MCLK is controlled by DSP FW, so driver can configure that by
sending DMA_CONTROL IPC. The configuration for MCLK is present
in the endpoint blob.

So if block has this configuration, send IPC to DSP for MCLK
configuration. This is done by new function skl_dsp_set_dma_control()
which is invoked by BE prepare.

Signed-off-by: Dharageswari R <dharageswari.r@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-messages.c
sound/soc/intel/skylake/skl-pcm.c
sound/soc/intel/skylake/skl-topology.h