mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 14:44:10 +08:00
ASoC: SOF: Intel: pci-tgl: Change the default paths and firmware names
The currently used paths and firmware name reflects the reference firmware convention: default_fw_path: intel/avs/{platform_name} default_lib_path: intel/avs-lib/{platform_name} default_tplg_path: intel/avs-tplg default_fw_filename: dsp_basefw.bin The SOF supports building the firmware for cAVS2.5 platforms using IPC4 and it is the preferred IPC4 implementation to be used on these devices. Change the paths and firmware names to reflect this: default_fw_path: intel/sof-ipc4/{platform_name} default_lib_path: intel/sof-ipc4-lib/{platform_name} default_tplg_path: intel/sof-ipc4-tplg default_fw_filename: sof-{platform_name}.ri Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://msgid.link/r/20240213080418.21256-2-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
f7fe85b229
commit
d463bcd7eb
@ -33,18 +33,18 @@ static const struct sof_dev_desc tgl_desc = {
|
||||
.dspless_mode_supported = true, /* Only supported for HDaudio */
|
||||
.default_fw_path = {
|
||||
[SOF_IPC_TYPE_3] = "intel/sof",
|
||||
[SOF_IPC_TYPE_4] = "intel/avs/tgl",
|
||||
[SOF_IPC_TYPE_4] = "intel/sof-ipc4/tgl",
|
||||
},
|
||||
.default_lib_path = {
|
||||
[SOF_IPC_TYPE_4] = "intel/avs-lib/tgl",
|
||||
[SOF_IPC_TYPE_4] = "intel/sof-ipc4-lib/tgl",
|
||||
},
|
||||
.default_tplg_path = {
|
||||
[SOF_IPC_TYPE_3] = "intel/sof-tplg",
|
||||
[SOF_IPC_TYPE_4] = "intel/avs-tplg",
|
||||
[SOF_IPC_TYPE_4] = "intel/sof-ipc4-tplg",
|
||||
},
|
||||
.default_fw_filename = {
|
||||
[SOF_IPC_TYPE_3] = "sof-tgl.ri",
|
||||
[SOF_IPC_TYPE_4] = "dsp_basefw.bin",
|
||||
[SOF_IPC_TYPE_4] = "sof-tgl.ri",
|
||||
},
|
||||
.nocodec_tplg_filename = "sof-tgl-nocodec.tplg",
|
||||
.ops = &sof_tgl_ops,
|
||||
@ -66,18 +66,18 @@ static const struct sof_dev_desc tglh_desc = {
|
||||
.dspless_mode_supported = true, /* Only supported for HDaudio */
|
||||
.default_fw_path = {
|
||||
[SOF_IPC_TYPE_3] = "intel/sof",
|
||||
[SOF_IPC_TYPE_4] = "intel/avs/tgl-h",
|
||||
[SOF_IPC_TYPE_4] = "intel/sof-ipc4/tgl-h",
|
||||
},
|
||||
.default_lib_path = {
|
||||
[SOF_IPC_TYPE_4] = "intel/avs-lib/tgl-h",
|
||||
[SOF_IPC_TYPE_4] = "intel/sof-ipc4-lib/tgl-h",
|
||||
},
|
||||
.default_tplg_path = {
|
||||
[SOF_IPC_TYPE_3] = "intel/sof-tplg",
|
||||
[SOF_IPC_TYPE_4] = "intel/avs-tplg",
|
||||
[SOF_IPC_TYPE_4] = "intel/sof-ipc4-tplg",
|
||||
},
|
||||
.default_fw_filename = {
|
||||
[SOF_IPC_TYPE_3] = "sof-tgl-h.ri",
|
||||
[SOF_IPC_TYPE_4] = "dsp_basefw.bin",
|
||||
[SOF_IPC_TYPE_4] = "sof-tgl-h.ri",
|
||||
},
|
||||
.nocodec_tplg_filename = "sof-tgl-nocodec.tplg",
|
||||
.ops = &sof_tgl_ops,
|
||||
@ -98,18 +98,18 @@ static const struct sof_dev_desc ehl_desc = {
|
||||
.dspless_mode_supported = true, /* Only supported for HDaudio */
|
||||
.default_fw_path = {
|
||||
[SOF_IPC_TYPE_3] = "intel/sof",
|
||||
[SOF_IPC_TYPE_4] = "intel/avs/ehl",
|
||||
[SOF_IPC_TYPE_4] = "intel/sof-ipc4/ehl",
|
||||
},
|
||||
.default_lib_path = {
|
||||
[SOF_IPC_TYPE_4] = "intel/avs-lib/ehl",
|
||||
[SOF_IPC_TYPE_4] = "intel/sof-ipc4-lib/ehl",
|
||||
},
|
||||
.default_tplg_path = {
|
||||
[SOF_IPC_TYPE_3] = "intel/sof-tplg",
|
||||
[SOF_IPC_TYPE_4] = "intel/avs-tplg",
|
||||
[SOF_IPC_TYPE_4] = "intel/sof-ipc4-tplg",
|
||||
},
|
||||
.default_fw_filename = {
|
||||
[SOF_IPC_TYPE_3] = "sof-ehl.ri",
|
||||
[SOF_IPC_TYPE_4] = "dsp_basefw.bin",
|
||||
[SOF_IPC_TYPE_4] = "sof-ehl.ri",
|
||||
},
|
||||
.nocodec_tplg_filename = "sof-ehl-nocodec.tplg",
|
||||
.ops = &sof_tgl_ops,
|
||||
@ -131,18 +131,18 @@ static const struct sof_dev_desc adls_desc = {
|
||||
.dspless_mode_supported = true, /* Only supported for HDaudio */
|
||||
.default_fw_path = {
|
||||
[SOF_IPC_TYPE_3] = "intel/sof",
|
||||
[SOF_IPC_TYPE_4] = "intel/avs/adl-s",
|
||||
[SOF_IPC_TYPE_4] = "intel/sof-ipc4/adl-s",
|
||||
},
|
||||
.default_lib_path = {
|
||||
[SOF_IPC_TYPE_4] = "intel/avs-lib/adl-s",
|
||||
[SOF_IPC_TYPE_4] = "intel/sof-ipc4-lib/adl-s",
|
||||
},
|
||||
.default_tplg_path = {
|
||||
[SOF_IPC_TYPE_3] = "intel/sof-tplg",
|
||||
[SOF_IPC_TYPE_4] = "intel/avs-tplg",
|
||||
[SOF_IPC_TYPE_4] = "intel/sof-ipc4-tplg",
|
||||
},
|
||||
.default_fw_filename = {
|
||||
[SOF_IPC_TYPE_3] = "sof-adl-s.ri",
|
||||
[SOF_IPC_TYPE_4] = "dsp_basefw.bin",
|
||||
[SOF_IPC_TYPE_4] = "sof-adl-s.ri",
|
||||
},
|
||||
.nocodec_tplg_filename = "sof-adl-nocodec.tplg",
|
||||
.ops = &sof_tgl_ops,
|
||||
@ -164,18 +164,18 @@ static const struct sof_dev_desc adl_desc = {
|
||||
.dspless_mode_supported = true, /* Only supported for HDaudio */
|
||||
.default_fw_path = {
|
||||
[SOF_IPC_TYPE_3] = "intel/sof",
|
||||
[SOF_IPC_TYPE_4] = "intel/avs/adl",
|
||||
[SOF_IPC_TYPE_4] = "intel/sof-ipc4/adl",
|
||||
},
|
||||
.default_lib_path = {
|
||||
[SOF_IPC_TYPE_4] = "intel/avs-lib/adl",
|
||||
[SOF_IPC_TYPE_4] = "intel/sof-ipc4-lib/adl",
|
||||
},
|
||||
.default_tplg_path = {
|
||||
[SOF_IPC_TYPE_3] = "intel/sof-tplg",
|
||||
[SOF_IPC_TYPE_4] = "intel/avs-tplg",
|
||||
[SOF_IPC_TYPE_4] = "intel/sof-ipc4-tplg",
|
||||
},
|
||||
.default_fw_filename = {
|
||||
[SOF_IPC_TYPE_3] = "sof-adl.ri",
|
||||
[SOF_IPC_TYPE_4] = "dsp_basefw.bin",
|
||||
[SOF_IPC_TYPE_4] = "sof-adl.ri",
|
||||
},
|
||||
.nocodec_tplg_filename = "sof-adl-nocodec.tplg",
|
||||
.ops = &sof_tgl_ops,
|
||||
@ -197,18 +197,18 @@ static const struct sof_dev_desc adl_n_desc = {
|
||||
.dspless_mode_supported = true, /* Only supported for HDaudio */
|
||||
.default_fw_path = {
|
||||
[SOF_IPC_TYPE_3] = "intel/sof",
|
||||
[SOF_IPC_TYPE_4] = "intel/avs/adl-n",
|
||||
[SOF_IPC_TYPE_4] = "intel/sof-ipc4/adl-n",
|
||||
},
|
||||
.default_lib_path = {
|
||||
[SOF_IPC_TYPE_4] = "intel/avs-lib/adl-n",
|
||||
[SOF_IPC_TYPE_4] = "intel/sof-ipc4-lib/adl-n",
|
||||
},
|
||||
.default_tplg_path = {
|
||||
[SOF_IPC_TYPE_3] = "intel/sof-tplg",
|
||||
[SOF_IPC_TYPE_4] = "intel/avs-tplg",
|
||||
[SOF_IPC_TYPE_4] = "intel/sof-ipc4-tplg",
|
||||
},
|
||||
.default_fw_filename = {
|
||||
[SOF_IPC_TYPE_3] = "sof-adl-n.ri",
|
||||
[SOF_IPC_TYPE_4] = "dsp_basefw.bin",
|
||||
[SOF_IPC_TYPE_4] = "sof-adl-n.ri",
|
||||
},
|
||||
.nocodec_tplg_filename = "sof-adl-nocodec.tplg",
|
||||
.ops = &sof_tgl_ops,
|
||||
@ -230,18 +230,18 @@ static const struct sof_dev_desc rpls_desc = {
|
||||
.dspless_mode_supported = true, /* Only supported for HDaudio */
|
||||
.default_fw_path = {
|
||||
[SOF_IPC_TYPE_3] = "intel/sof",
|
||||
[SOF_IPC_TYPE_4] = "intel/avs/rpl-s",
|
||||
[SOF_IPC_TYPE_4] = "intel/sof-ipc4/rpl-s",
|
||||
},
|
||||
.default_lib_path = {
|
||||
[SOF_IPC_TYPE_4] = "intel/avs-lib/rpl-s",
|
||||
[SOF_IPC_TYPE_4] = "intel/sof-ipc4-lib/rpl-s",
|
||||
},
|
||||
.default_tplg_path = {
|
||||
[SOF_IPC_TYPE_3] = "intel/sof-tplg",
|
||||
[SOF_IPC_TYPE_4] = "intel/avs-tplg",
|
||||
[SOF_IPC_TYPE_4] = "intel/sof-ipc4-tplg",
|
||||
},
|
||||
.default_fw_filename = {
|
||||
[SOF_IPC_TYPE_3] = "sof-rpl-s.ri",
|
||||
[SOF_IPC_TYPE_4] = "dsp_basefw.bin",
|
||||
[SOF_IPC_TYPE_4] = "sof-rpl-s.ri",
|
||||
},
|
||||
.nocodec_tplg_filename = "sof-rpl-nocodec.tplg",
|
||||
.ops = &sof_tgl_ops,
|
||||
@ -263,18 +263,18 @@ static const struct sof_dev_desc rpl_desc = {
|
||||
.dspless_mode_supported = true, /* Only supported for HDaudio */
|
||||
.default_fw_path = {
|
||||
[SOF_IPC_TYPE_3] = "intel/sof",
|
||||
[SOF_IPC_TYPE_4] = "intel/avs/rpl",
|
||||
[SOF_IPC_TYPE_4] = "intel/sof-ipc4/rpl",
|
||||
},
|
||||
.default_lib_path = {
|
||||
[SOF_IPC_TYPE_4] = "intel/avs-lib/rpl",
|
||||
[SOF_IPC_TYPE_4] = "intel/sof-ipc4-lib/rpl",
|
||||
},
|
||||
.default_tplg_path = {
|
||||
[SOF_IPC_TYPE_3] = "intel/sof-tplg",
|
||||
[SOF_IPC_TYPE_4] = "intel/avs-tplg",
|
||||
[SOF_IPC_TYPE_4] = "intel/sof-ipc4-tplg",
|
||||
},
|
||||
.default_fw_filename = {
|
||||
[SOF_IPC_TYPE_3] = "sof-rpl.ri",
|
||||
[SOF_IPC_TYPE_4] = "dsp_basefw.bin",
|
||||
[SOF_IPC_TYPE_4] = "sof-rpl.ri",
|
||||
},
|
||||
.nocodec_tplg_filename = "sof-rpl-nocodec.tplg",
|
||||
.ops = &sof_tgl_ops,
|
||||
|
Loading…
Reference in New Issue
Block a user