ASoC: intel/sdw_utils: move dai id common macros
Move dai id common macros from intel SoundWire generic driver to soc_sdw_utils.h file so that it can be used by other platform machine driver. Link: https://github.com/thesofproject/linux/pull/5068 Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://patch.msgid.link/20240801111821.18076-1-Vijendar.Mukunda@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
051b7cb3fd
commit
8f87e292a3
@ -29,6 +29,13 @@
|
||||
*/
|
||||
#define SOC_SDW_SIDECAR_AMPS BIT(16)
|
||||
|
||||
#define SOC_SDW_UNUSED_DAI_ID -1
|
||||
#define SOC_SDW_JACK_OUT_DAI_ID 0
|
||||
#define SOC_SDW_JACK_IN_DAI_ID 1
|
||||
#define SOC_SDW_AMP_OUT_DAI_ID 2
|
||||
#define SOC_SDW_AMP_IN_DAI_ID 3
|
||||
#define SOC_SDW_DMIC_DAI_ID 4
|
||||
|
||||
struct asoc_sdw_codec_info;
|
||||
|
||||
struct asoc_sdw_dai_info {
|
||||
|
@ -16,12 +16,6 @@
|
||||
#include "sof_hdmi_common.h"
|
||||
|
||||
#define MAX_HDMI_NUM 4
|
||||
#define SOC_SDW_UNUSED_DAI_ID -1
|
||||
#define SOC_SDW_JACK_OUT_DAI_ID 0
|
||||
#define SOC_SDW_JACK_IN_DAI_ID 1
|
||||
#define SOC_SDW_AMP_OUT_DAI_ID 2
|
||||
#define SOC_SDW_AMP_IN_DAI_ID 3
|
||||
#define SOC_SDW_DMIC_DAI_ID 4
|
||||
#define SOC_SDW_MAX_CPU_DAIS 16
|
||||
#define SOC_SDW_INTEL_BIDIR_PDI_BASE 2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user