OpenCloudOS-Kernel/sound/soc/sof/amd
Peter Ujfalusi 7ed1f83bb4
ASoC: SOF: Compile and runtime IPC version selection
The new IPC4 version is only supported by Intel platforms, iMX, AMD and
MediaTek only uses the standard SOF IPC.
There is no need for these platforms to build kernel support for IPC4 as
it is just dead code for them.

SND_SOC_SOF_IPC3 and SND_SOC_SOF_INTEL_IPC4 is introduced to allow compile
time selection and exclusion of IPC implementations.

To avoid randconfig failures add also support for runtime selection of
the IPC ops in ipc.c based on sdev->pdata->ipc_type

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20220614075618.28605-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-06-14 11:22:12 +01:00
..
Kconfig ASoC: SOF: Compile and runtime IPC version selection 2022-06-14 11:22:12 +01:00
Makefile ASoC: SOF: amd: Add trace logger support 2021-11-17 17:35:55 +00:00
acp-dsp-offset.h ASoC: SOF: amd: Add SOF pm ops callback for Renoir 2022-06-06 22:08:21 +01:00
acp-ipc.c ASoC: SOF: amd: Remove unneeded semicolon 2022-03-09 17:34:57 +00:00
acp-loader.c ASoC: SOF: amd: Move group register configuration to acp-loader 2022-03-07 13:12:50 +00:00
acp-pcm.c ASoC: SOF: Make pcm_hw_params snd_sof_dsp_ops callback IPC neutral 2022-03-11 13:41:01 +00:00
acp-stream.c ASoC: SOF: amd: Flush cache after ATU_BASE_ADDR_GRP register update 2022-03-07 13:12:48 +00:00
acp-trace.c ASoC: SOF: Modify the host trace_init parameter list to include dmab 2022-05-19 16:44:17 +01:00
acp.c ASoC: SOF: amd: Add SOF pm ops callback for Renoir 2022-06-06 22:08:21 +01:00
acp.h ASoC: SOF: amd: Add SOF pm ops callback for Renoir 2022-06-06 22:08:21 +01:00
pci-rn.c ASoC: SOF: amd: Add SOF pm ops callback for Renoir 2022-06-06 22:08:21 +01:00
renoir.c ASoC: SOF: amd: Add SOF pm ops callback for Renoir 2022-06-06 22:08:21 +01:00