mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 08:26:59 +00:00
ASoC: Intel: Skylake: Add Cometlake PCI IDs
Add PCI IDs for Intel CometLake platforms, which from a software point of view are extremely similar to Cannonlake platforms. Signed-off-by: Evan Green <evgreen@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
927ce5c76e
commit
5f740b2430
3 changed files with 42 additions and 0 deletions
|
@ -165,6 +165,22 @@ config SND_SOC_INTEL_CFL
|
||||||
If you have a Intel CoffeeLake platform with the DSP
|
If you have a Intel CoffeeLake platform with the DSP
|
||||||
enabled in the BIOS then enable this option by saying Y or m.
|
enabled in the BIOS then enable this option by saying Y or m.
|
||||||
|
|
||||||
|
config SND_SOC_INTEL_CML_H
|
||||||
|
tristate "CometLake-H Platforms"
|
||||||
|
depends on PCI && ACPI
|
||||||
|
select SND_SOC_INTEL_SKYLAKE_FAMILY
|
||||||
|
help
|
||||||
|
If you have a Intel CometLake-H platform with the DSP
|
||||||
|
enabled in the BIOS then enable this option by saying Y or m.
|
||||||
|
|
||||||
|
config SND_SOC_INTEL_CML_LP
|
||||||
|
tristate "CometLake-LP Platforms"
|
||||||
|
depends on PCI && ACPI
|
||||||
|
select SND_SOC_INTEL_SKYLAKE_FAMILY
|
||||||
|
help
|
||||||
|
If you have a Intel CometLake-LP platform with the DSP
|
||||||
|
enabled in the BIOS then enable this option by saying Y or m.
|
||||||
|
|
||||||
config SND_SOC_INTEL_SKYLAKE_FAMILY
|
config SND_SOC_INTEL_SKYLAKE_FAMILY
|
||||||
tristate
|
tristate
|
||||||
select SND_SOC_INTEL_SKYLAKE_COMMON
|
select SND_SOC_INTEL_SKYLAKE_COMMON
|
||||||
|
|
|
@ -255,6 +255,22 @@ static const struct skl_dsp_ops dsp_ops[] = {
|
||||||
.init_fw = cnl_sst_init_fw,
|
.init_fw = cnl_sst_init_fw,
|
||||||
.cleanup = cnl_sst_dsp_cleanup
|
.cleanup = cnl_sst_dsp_cleanup
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.id = 0x02c8,
|
||||||
|
.num_cores = 4,
|
||||||
|
.loader_ops = bxt_get_loader_ops,
|
||||||
|
.init = cnl_sst_dsp_init,
|
||||||
|
.init_fw = cnl_sst_init_fw,
|
||||||
|
.cleanup = cnl_sst_dsp_cleanup
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.id = 0x06c8,
|
||||||
|
.num_cores = 4,
|
||||||
|
.loader_ops = bxt_get_loader_ops,
|
||||||
|
.init = cnl_sst_dsp_init,
|
||||||
|
.init_fw = cnl_sst_init_fw,
|
||||||
|
.cleanup = cnl_sst_dsp_cleanup
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const struct skl_dsp_ops *skl_get_dsp_ops(int pci_id)
|
const struct skl_dsp_ops *skl_get_dsp_ops(int pci_id)
|
||||||
|
|
|
@ -1166,6 +1166,16 @@ static const struct pci_device_id skl_ids[] = {
|
||||||
/* CFL */
|
/* CFL */
|
||||||
{ PCI_DEVICE(0x8086, 0xa348),
|
{ PCI_DEVICE(0x8086, 0xa348),
|
||||||
.driver_data = (unsigned long)&snd_soc_acpi_intel_cnl_machines},
|
.driver_data = (unsigned long)&snd_soc_acpi_intel_cnl_machines},
|
||||||
|
#endif
|
||||||
|
#if IS_ENABLED(CONFIG_SND_SOC_INTEL_CML_LP)
|
||||||
|
/* CML-LP */
|
||||||
|
{ PCI_DEVICE(0x8086, 0x02c8),
|
||||||
|
.driver_data = (unsigned long)&snd_soc_acpi_intel_cnl_machines},
|
||||||
|
#endif
|
||||||
|
#if IS_ENABLED(CONFIG_SND_SOC_INTEL_CML_H)
|
||||||
|
/* CML-H */
|
||||||
|
{ PCI_DEVICE(0x8086, 0x06c8),
|
||||||
|
.driver_data = (unsigned long)&snd_soc_acpi_intel_cnl_machines},
|
||||||
#endif
|
#endif
|
||||||
{ 0, }
|
{ 0, }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue