mirror of
https://github.com/torvalds/linux.git
synced 2026-04-25 10:02:31 -04:00
ASoC: SOF: Add Comet Lake PCI IDs
Add support for Intel Comet Lake platforms by adding a new Kconfig for CometLake and the appropriate PCI IDs. Signed-off-by: Evan Green <evgreen@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
@@ -129,6 +129,26 @@ static const struct sof_dev_desc cfl_desc = {
|
||||
};
|
||||
#endif
|
||||
|
||||
#if IS_ENABLED(CONFIG_SND_SOC_SOF_COMETLAKE_LP) || \
|
||||
IS_ENABLED(CONFIG_SND_SOC_SOF_COMETLAKE_H)
|
||||
|
||||
static const struct sof_dev_desc cml_desc = {
|
||||
.machines = snd_soc_acpi_intel_cnl_machines,
|
||||
.resindex_lpe_base = 0,
|
||||
.resindex_pcicfg_base = -1,
|
||||
.resindex_imr_base = -1,
|
||||
.irqindex_host_ipc = -1,
|
||||
.resindex_dma_base = -1,
|
||||
.chip_info = &cnl_chip_info,
|
||||
.default_fw_path = "intel/sof",
|
||||
.default_tplg_path = "intel/sof-tplg",
|
||||
.nocodec_fw_filename = "sof-cnl.ri",
|
||||
.nocodec_tplg_filename = "sof-cnl-nocodec.tplg",
|
||||
.ops = &sof_cnl_ops,
|
||||
.arch_ops = &sof_xtensa_arch_ops
|
||||
};
|
||||
#endif
|
||||
|
||||
#if IS_ENABLED(CONFIG_SND_SOC_SOF_ICELAKE)
|
||||
static const struct sof_dev_desc icl_desc = {
|
||||
.machines = snd_soc_acpi_intel_icl_machines,
|
||||
@@ -353,6 +373,14 @@ static const struct pci_device_id sof_pci_ids[] = {
|
||||
#if IS_ENABLED(CONFIG_SND_SOC_SOF_ICELAKE)
|
||||
{ PCI_DEVICE(0x8086, 0x34C8),
|
||||
.driver_data = (unsigned long)&icl_desc},
|
||||
#endif
|
||||
#if IS_ENABLED(CONFIG_SND_SOC_SOF_COMETLAKE_LP)
|
||||
{ PCI_DEVICE(0x8086, 0x02c8),
|
||||
.driver_data = (unsigned long)&cml_desc},
|
||||
#endif
|
||||
#if IS_ENABLED(CONFIG_SND_SOC_SOF_COMETLAKE_H)
|
||||
{ PCI_DEVICE(0x8086, 0x06c8),
|
||||
.driver_data = (unsigned long)&cml_desc},
|
||||
#endif
|
||||
{ 0, }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user