diff options
author | Guneshwor Singh <guneshwor.o.singh@intel.com> | 2017-08-02 19:21:18 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-03 13:07:33 +0300 |
commit | cb6a552846297094aac942a588fe7ed7922a6c11 (patch) | |
tree | 350add97ce491bbe362c47b4b2ccf563630e0ad3 /sound/soc/intel/skylake/cnl-sst-dsp.h | |
parent | 4bdb04f0e1b7600b87a92b4f98ba5490ceffdf4f (diff) | |
download | linux-cb6a552846297094aac942a588fe7ed7922a6c11.tar.xz |
ASoC: Intel: cnl: Add sst library functions for cnl platform
This adds the necessary DSP functions specific for the Cannonlake platform
which includes firmware download using host DMA, DO/D3 handlers, irq_thread
handlers and sst ops.
Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake/cnl-sst-dsp.h')
-rw-r--r-- | sound/soc/intel/skylake/cnl-sst-dsp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/cnl-sst-dsp.h b/sound/soc/intel/skylake/cnl-sst-dsp.h index 2fe41b137a2c..09bd218df5c4 100644 --- a/sound/soc/intel/skylake/cnl-sst-dsp.h +++ b/sound/soc/intel/skylake/cnl-sst-dsp.h @@ -103,4 +103,10 @@ void cnl_ipc_op_int_disable(struct sst_dsp *ctx); bool cnl_ipc_int_status(struct sst_dsp *ctx); void cnl_ipc_free(struct sst_generic_ipc *ipc); +int cnl_sst_dsp_init(struct device *dev, void __iomem *mmio_base, int irq, + const char *fw_name, struct skl_dsp_loader_ops dsp_ops, + struct skl_sst **dsp); +int cnl_sst_init_fw(struct device *dev, struct skl_sst *ctx); +void cnl_sst_dsp_cleanup(struct device *dev, struct skl_sst *ctx); + #endif /*__CNL_SST_DSP_H__*/ |