]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9985c6ecbdcbd931ef6e26b3f1fd9e20f84548f7
treeba87d20ce1e7d7bf43d2460a4c6f63c66992c7a5
parente9b75d538a5234c75b3541ae6989736d6c3ac812
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