Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: SOF: add platform name into sof_intel_dsp_desc

The platform name will be used construct the topology name.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Simon Trimmer <simont@opensource.cirrus.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://patch.msgid.link/20251009094023.3474895-7-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Bard Liao and committed by
Mark Brown
6937ff42 5ed60e45

+15
+1
sound/soc/sof/intel/apl.c
··· 118 118 .power_down_dsp = hda_power_down_dsp, 119 119 .disable_interrupts = hda_dsp_disable_interrupts, 120 120 .hw_ip_version = SOF_INTEL_CAVS_1_5_PLUS, 121 + .platform = "apl", 121 122 };
+2
sound/soc/sof/intel/cnl.c
··· 479 479 .power_down_dsp = hda_power_down_dsp, 480 480 .disable_interrupts = hda_dsp_disable_interrupts, 481 481 .hw_ip_version = SOF_INTEL_CAVS_1_8, 482 + .platform = "cnl", 482 483 }; 483 484 484 485 /* ··· 516 515 .power_down_dsp = hda_power_down_dsp, 517 516 .disable_interrupts = hda_dsp_disable_interrupts, 518 517 .hw_ip_version = SOF_INTEL_CAVS_2_0, 518 + .platform = "jsl", 519 519 }; 520 520 EXPORT_SYMBOL_NS(jsl_chip_info, "SND_SOC_SOF_INTEL_CNL");
+1
sound/soc/sof/intel/icl.c
··· 193 193 .power_down_dsp = hda_power_down_dsp, 194 194 .disable_interrupts = hda_dsp_disable_interrupts, 195 195 .hw_ip_version = SOF_INTEL_CAVS_2_0, 196 + .platform = "icl", 196 197 };
+1
sound/soc/sof/intel/lnl.c
··· 183 183 .power_down_dsp = mtl_power_down_dsp, 184 184 .disable_interrupts = lnl_dsp_disable_interrupts, 185 185 .hw_ip_version = SOF_INTEL_ACE_2_0, 186 + .platform = "lnl", 186 187 }; 187 188 188 189 MODULE_IMPORT_NS("SND_SOC_SOF_INTEL_MTL");
+2
sound/soc/sof/intel/mtl.c
··· 786 786 .power_down_dsp = mtl_power_down_dsp, 787 787 .disable_interrupts = mtl_dsp_disable_interrupts, 788 788 .hw_ip_version = SOF_INTEL_ACE_1_0, 789 + .platform = "mtl", 789 790 }; 790 791 791 792 const struct sof_intel_dsp_desc arl_s_chip_info = { ··· 815 814 .power_down_dsp = mtl_power_down_dsp, 816 815 .disable_interrupts = mtl_dsp_disable_interrupts, 817 816 .hw_ip_version = SOF_INTEL_ACE_1_0, 817 + .platform = "arl", 818 818 };
+2
sound/soc/sof/intel/ptl.c
··· 125 125 .power_down_dsp = mtl_power_down_dsp, 126 126 .disable_interrupts = lnl_dsp_disable_interrupts, 127 127 .hw_ip_version = SOF_INTEL_ACE_3_0, 128 + .platform = "ptl", 128 129 }; 129 130 130 131 const struct sof_intel_dsp_desc wcl_chip_info = { ··· 150 149 .power_down_dsp = mtl_power_down_dsp, 151 150 .disable_interrupts = lnl_dsp_disable_interrupts, 152 151 .hw_ip_version = SOF_INTEL_ACE_3_0, 152 + .platform = "wcl", 153 153 }; 154 154 155 155 MODULE_IMPORT_NS("SND_SOC_SOF_INTEL_MTL");
+1
sound/soc/sof/intel/shim.h
··· 186 186 u32 sdw_alh_base; 187 187 u32 d0i3_offset; 188 188 u32 quirks; 189 + const char *platform; 189 190 enum sof_intel_hw_ip_version hw_ip_version; 190 191 int (*read_sdw_lcount)(struct snd_sof_dev *sdev); 191 192 void (*enable_sdw_irq)(struct snd_sof_dev *sdev, bool enable);
+1
sound/soc/sof/intel/skl.c
··· 113 113 .power_down_dsp = hda_power_down_dsp, 114 114 .disable_interrupts = hda_dsp_disable_interrupts, 115 115 .hw_ip_version = SOF_INTEL_CAVS_1_5, 116 + .platform = "skl", 116 117 }; 117 118 EXPORT_SYMBOL_NS(skl_chip_info, "SND_SOC_SOF_INTEL_HDA_COMMON");
+4
sound/soc/sof/intel/tgl.c
··· 162 162 .power_down_dsp = hda_power_down_dsp, 163 163 .disable_interrupts = hda_dsp_disable_interrupts, 164 164 .hw_ip_version = SOF_INTEL_CAVS_2_5, 165 + .platform = "tgl", 165 166 }; 166 167 167 168 const struct sof_intel_dsp_desc tglh_chip_info = { ··· 192 191 .power_down_dsp = hda_power_down_dsp, 193 192 .disable_interrupts = hda_dsp_disable_interrupts, 194 193 .hw_ip_version = SOF_INTEL_CAVS_2_5, 194 + .platform = "tgl", 195 195 }; 196 196 197 197 const struct sof_intel_dsp_desc ehl_chip_info = { ··· 222 220 .power_down_dsp = hda_power_down_dsp, 223 221 .disable_interrupts = hda_dsp_disable_interrupts, 224 222 .hw_ip_version = SOF_INTEL_CAVS_2_5, 223 + .platform = "ehl", 225 224 }; 226 225 227 226 const struct sof_intel_dsp_desc adls_chip_info = { ··· 252 249 .power_down_dsp = hda_power_down_dsp, 253 250 .disable_interrupts = hda_dsp_disable_interrupts, 254 251 .hw_ip_version = SOF_INTEL_CAVS_2_5, 252 + .platform = "adl", 255 253 };