From: Pierre-Louis Bossart Date: Mon, 7 Aug 2023 21:09:44 +0000 (-0500) Subject: ASoC: SOF: Intel: hda: add interface definitions for ACE2.x X-Git-Tag: v6.6.17~3959^2^2~142^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=701c0ba46fabc4715606f840119271a818209357;p=platform%2Fkernel%2Flinux-rpi.git ASoC: SOF: Intel: hda: add interface definitions for ACE2.x All interfaces are accessible without the DSP and rely on the HDaudio DMA only. Signed-off-by: Pierre-Louis Bossart Reviewed-by: Péter Ujfalusi Reviewed-by: Bard Liao Link: https://lore.kernel.org/r/20230807210959.506849-6-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/sof/intel/hda.c b/sound/soc/sof/intel/hda.c index 64bebe1..6074b0c 100644 --- a/sound/soc/sof/intel/hda.c +++ b/sound/soc/sof/intel/hda.c @@ -71,6 +71,11 @@ static u32 hda_get_interface_mask(struct snd_sof_dev *sdev) BIT(SOF_DAI_INTEL_HDA) | BIT(SOF_DAI_INTEL_ALH); interface_mask[1] = BIT(SOF_DAI_INTEL_HDA); break; + case SOF_INTEL_ACE_2_0: + interface_mask[0] = BIT(SOF_DAI_INTEL_SSP) | BIT(SOF_DAI_INTEL_DMIC) | + BIT(SOF_DAI_INTEL_HDA) | BIT(SOF_DAI_INTEL_ALH); + interface_mask[1] = interface_mask[0]; /* all interfaces accessible without DSP */ + break; default: break; }