ASoC: SOF: Intel: add d0i3 definition for MTL
authorRander Wang <rander.wang@intel.com>
Mon, 7 Nov 2022 16:41:52 +0000 (10:41 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 7 Nov 2022 17:10:06 +0000 (17:10 +0000)
MTL has a different offset of d0i3 compared to cavs platforms.

Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20221107164154.21925-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/mtl.h

index 788bf0e3ea87954940208c66d9b2f1f533a62258..0fd4e6fe09b8b36ec279323423bda987d096800c 100644 (file)
@@ -21,6 +21,8 @@
 #define MTL_IRQ_INTEN_L_SOUNDWIRE_MASK BIT(6)
 #define MTL_HFINTIPPTR_PTR_MASK                GENMASK(20, 0)
 
+#define MTL_HDA_VS_D0I3C               0x1D4A
+
 #define MTL_DSP2CXCAP_PRIMARY_CORE     0x178D00
 #define MTL_DSP2CXCTL_PRIMARY_CORE     0x178D04
 #define MTL_DSP2CXCTL_PRIMARY_CORE_SPA_MASK BIT(0)