Skip to content
Snippets Groups Projects
Commit a5470268 authored by Pierre-Louis Bossart's avatar Pierre-Louis Bossart Committed by Oleksii Kutuzov
Browse files

UPSTREAM: ASoC: SOF: add definitions for different IPC types


Add enum type to allow for different types of IPCs. The IPCv4 is
intended for Intel only as a convergence path with firmware used in
Windows. Follow-up patches will introduce different abstractions with
.ops and different search paths for firmware and topology files.

Change-Id: I78df4a3052030e686cc08975d21d2498dddb320f
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: default avatarBard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: default avatarRander Wang <rander.wang@intel.com>
Reviewed-by: default avatarPéter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20220414184817.362215-2-pierre-louis.bossart@linux.intel.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 76029a6f
No related branches found
No related tags found
1 merge request!13[UPSTREAM] Add Audio-related patches from Mediatek's Release 24.0
......@@ -47,6 +47,13 @@ enum sof_dsp_power_states {
SOF_DSP_PM_D3,
};
/* Definitions for multiple IPCs */
enum sof_ipc_type {
SOF_IPC,
SOF_INTEL_IPC4,
SOF_IPC_TYPE_COUNT
};
/*
* SOF Platform data.
*/
......@@ -83,6 +90,8 @@ struct snd_sof_pdata {
const struct snd_soc_acpi_mach *machine;
void *hw_pdata;
enum sof_ipc_type ipc_type;
};
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment