Commit 5962c2a5 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Mark Brown

ASoC: SOF: Intel: pci-tgl: Allow DSPless mode

set the dspless_mode_supported flag to true for tgl/adl family to allow
DSPless mode.
Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: default avatarRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: default avatarRander Wang <rander.wang@intel.com>
Link: https://lore.kernel.org/r/20230404092115.27949-13-peter.ujfalusi@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent f45b1fd6
...@@ -30,6 +30,7 @@ static const struct sof_dev_desc tgl_desc = { ...@@ -30,6 +30,7 @@ static const struct sof_dev_desc tgl_desc = {
.chip_info = &tgl_chip_info, .chip_info = &tgl_chip_info,
.ipc_supported_mask = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4), .ipc_supported_mask = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4),
.ipc_default = SOF_IPC, .ipc_default = SOF_IPC,
.dspless_mode_supported = true, /* Only supported for HDaudio */
.default_fw_path = { .default_fw_path = {
[SOF_IPC] = "intel/sof", [SOF_IPC] = "intel/sof",
[SOF_INTEL_IPC4] = "intel/avs/tgl", [SOF_INTEL_IPC4] = "intel/avs/tgl",
...@@ -62,6 +63,7 @@ static const struct sof_dev_desc tglh_desc = { ...@@ -62,6 +63,7 @@ static const struct sof_dev_desc tglh_desc = {
.chip_info = &tglh_chip_info, .chip_info = &tglh_chip_info,
.ipc_supported_mask = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4), .ipc_supported_mask = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4),
.ipc_default = SOF_IPC, .ipc_default = SOF_IPC,
.dspless_mode_supported = true, /* Only supported for HDaudio */
.default_fw_path = { .default_fw_path = {
[SOF_IPC] = "intel/sof", [SOF_IPC] = "intel/sof",
[SOF_INTEL_IPC4] = "intel/avs/tgl-h", [SOF_INTEL_IPC4] = "intel/avs/tgl-h",
...@@ -93,6 +95,7 @@ static const struct sof_dev_desc ehl_desc = { ...@@ -93,6 +95,7 @@ static const struct sof_dev_desc ehl_desc = {
.chip_info = &ehl_chip_info, .chip_info = &ehl_chip_info,
.ipc_supported_mask = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4), .ipc_supported_mask = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4),
.ipc_default = SOF_IPC, .ipc_default = SOF_IPC,
.dspless_mode_supported = true, /* Only supported for HDaudio */
.default_fw_path = { .default_fw_path = {
[SOF_IPC] = "intel/sof", [SOF_IPC] = "intel/sof",
[SOF_INTEL_IPC4] = "intel/avs/ehl", [SOF_INTEL_IPC4] = "intel/avs/ehl",
...@@ -125,6 +128,7 @@ static const struct sof_dev_desc adls_desc = { ...@@ -125,6 +128,7 @@ static const struct sof_dev_desc adls_desc = {
.chip_info = &adls_chip_info, .chip_info = &adls_chip_info,
.ipc_supported_mask = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4), .ipc_supported_mask = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4),
.ipc_default = SOF_IPC, .ipc_default = SOF_IPC,
.dspless_mode_supported = true, /* Only supported for HDaudio */
.default_fw_path = { .default_fw_path = {
[SOF_IPC] = "intel/sof", [SOF_IPC] = "intel/sof",
[SOF_INTEL_IPC4] = "intel/avs/adl-s", [SOF_INTEL_IPC4] = "intel/avs/adl-s",
...@@ -157,6 +161,7 @@ static const struct sof_dev_desc adl_desc = { ...@@ -157,6 +161,7 @@ static const struct sof_dev_desc adl_desc = {
.chip_info = &tgl_chip_info, .chip_info = &tgl_chip_info,
.ipc_supported_mask = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4), .ipc_supported_mask = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4),
.ipc_default = SOF_IPC, .ipc_default = SOF_IPC,
.dspless_mode_supported = true, /* Only supported for HDaudio */
.default_fw_path = { .default_fw_path = {
[SOF_IPC] = "intel/sof", [SOF_IPC] = "intel/sof",
[SOF_INTEL_IPC4] = "intel/avs/adl", [SOF_INTEL_IPC4] = "intel/avs/adl",
...@@ -189,6 +194,7 @@ static const struct sof_dev_desc adl_n_desc = { ...@@ -189,6 +194,7 @@ static const struct sof_dev_desc adl_n_desc = {
.chip_info = &tgl_chip_info, .chip_info = &tgl_chip_info,
.ipc_supported_mask = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4), .ipc_supported_mask = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4),
.ipc_default = SOF_IPC, .ipc_default = SOF_IPC,
.dspless_mode_supported = true, /* Only supported for HDaudio */
.default_fw_path = { .default_fw_path = {
[SOF_IPC] = "intel/sof", [SOF_IPC] = "intel/sof",
[SOF_INTEL_IPC4] = "intel/avs/adl-n", [SOF_INTEL_IPC4] = "intel/avs/adl-n",
...@@ -221,6 +227,7 @@ static const struct sof_dev_desc rpls_desc = { ...@@ -221,6 +227,7 @@ static const struct sof_dev_desc rpls_desc = {
.chip_info = &adls_chip_info, .chip_info = &adls_chip_info,
.ipc_supported_mask = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4), .ipc_supported_mask = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4),
.ipc_default = SOF_IPC, .ipc_default = SOF_IPC,
.dspless_mode_supported = true, /* Only supported for HDaudio */
.default_fw_path = { .default_fw_path = {
[SOF_IPC] = "intel/sof", [SOF_IPC] = "intel/sof",
[SOF_INTEL_IPC4] = "intel/avs/rpl-s", [SOF_INTEL_IPC4] = "intel/avs/rpl-s",
...@@ -253,6 +260,7 @@ static const struct sof_dev_desc rpl_desc = { ...@@ -253,6 +260,7 @@ static const struct sof_dev_desc rpl_desc = {
.chip_info = &tgl_chip_info, .chip_info = &tgl_chip_info,
.ipc_supported_mask = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4), .ipc_supported_mask = BIT(SOF_IPC) | BIT(SOF_INTEL_IPC4),
.ipc_default = SOF_IPC, .ipc_default = SOF_IPC,
.dspless_mode_supported = true, /* Only supported for HDaudio */
.default_fw_path = { .default_fw_path = {
[SOF_IPC] = "intel/sof", [SOF_IPC] = "intel/sof",
[SOF_INTEL_IPC4] = "intel/avs/rpl", [SOF_INTEL_IPC4] = "intel/avs/rpl",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment