summaryrefslogtreecommitdiff
path: root/sound/soc/intel/skylake/cnl-sst-dsp.h
diff options
context:
space:
mode:
authorGuneshwor Singh <guneshwor.o.singh@intel.com>2017-08-02 21:51:18 +0530
committerMark Brown <broonie@kernel.org>2017-08-03 11:07:33 +0100
commitcb6a552846297094aac942a588fe7ed7922a6c11 (patch)
tree350add97ce491bbe362c47b4b2ccf563630e0ad3 /sound/soc/intel/skylake/cnl-sst-dsp.h
parent4bdb04f0e1b7600b87a92b4f98ba5490ceffdf4f (diff)
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.h6
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__*/