ASoC: Intel: Skylake: Add DSP muti-core infrastructure
authorJayachandran B <jayachandran.b@intel.com>
Tue, 21 Jun 2016 04:47:41 +0000 (10:17 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 22 Jun 2016 15:13:12 +0000 (16:13 +0100)
commit052f103c89aa8ff6a72a4cadc0a5471cc8bc4c93
treeba87d20ce1e7d7bf43d2460a4c6f63c66992c7a5
parent957427d94a82459b080a99cc7e9f4d5b8c067410
ASoC: Intel: Skylake: Add DSP muti-core infrastructure

The DSP can have more than one cores. In that case the secondary
core has to be managed by the driver. This patch adds the changes
to driver infrastructure to support multiple core.

A new object skl_dsp_cores is introduced to support multiple
core. Helpers skl_dsp_get_core() skl_dsp_put_core() help to
managed the cores.

Many of the power_up/down and DSP APIs take additional argument
of core_id. The primary core, 0 is always powered up first and
then on demand second core.

Signed-off-by: Jayachandran B <jayachandran.b@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/bxt-sst.c
sound/soc/intel/skylake/skl-sst-dsp.c
sound/soc/intel/skylake/skl-sst-dsp.h
sound/soc/intel/skylake/skl-sst-ipc.h
sound/soc/intel/skylake/skl-sst.c