mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 11:53:53 +00:00
ASoC: SOF: Intel: MTL: Enable DMI L1
DMI L1 should be enabled unconditionally after FW boot is complete. Signed-off-by: Ranjani Sridharan <[email protected]> Reviewed-by: Rander Wang <[email protected]> Reviewed-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Bard Liao <[email protected]> Signed-off-by: Peter Ujfalusi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
@@ -280,6 +280,9 @@ static int mtl_dsp_post_fw_run(struct snd_sof_dev *sdev)
|
||||
}
|
||||
|
||||
hda_sdw_int_enable(sdev, true);
|
||||
|
||||
/* enable DMI L1 */
|
||||
snd_sof_dsp_update_bits(sdev, HDA_DSP_HDA_BAR, MTL_EM2, MTL_EM2_L1SEN, MTL_EM2_L1SEN);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
#define MTL_HFINTIPPTR_PTR_MASK GENMASK(20, 0)
|
||||
|
||||
#define MTL_HDA_VS_D0I3C 0x1D4A
|
||||
#define MTL_EM2 0x1c44
|
||||
#define MTL_EM2_L1SEN BIT(13)
|
||||
|
||||
#define MTL_DSP2CXCAP_PRIMARY_CORE 0x178D00
|
||||
#define MTL_DSP2CXCTL_PRIMARY_CORE 0x178D04
|
||||
|
||||
Reference in New Issue
Block a user