mb/system76/cml-u/dt: Make use of chipset devicetree
[coreboot.git] / src / soc / intel / common / block / dsp / dsp.c
blob7e8322e3829029e066391a6bf2798974084c2664
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <device/device.h>
4 #include <device/pci.h>
5 #include <device/pci_ids.h>
7 static struct device_operations dsp_dev_ops = {
8 .read_resources = pci_dev_read_resources,
9 .set_resources = pci_dev_set_resources,
10 .enable_resources = pci_dev_enable_resources,
11 .ops_pci = &pci_dev_ops_pci,
12 .scan_bus = scan_static_bus,
15 static const unsigned short pci_device_ids[] = {
16 PCI_DID_INTEL_PTL_AUDIO_1,
17 PCI_DID_INTEL_PTL_AUDIO_2,
18 PCI_DID_INTEL_PTL_AUDIO_3,
19 PCI_DID_INTEL_PTL_AUDIO_4,
20 PCI_DID_INTEL_PTL_AUDIO_5,
21 PCI_DID_INTEL_PTL_AUDIO_6,
22 PCI_DID_INTEL_PTL_AUDIO_7,
23 PCI_DID_INTEL_PTL_AUDIO_8,
24 PCI_DID_INTEL_LNL_AUDIO_1,
25 PCI_DID_INTEL_LNL_AUDIO_2,
26 PCI_DID_INTEL_LNL_AUDIO_3,
27 PCI_DID_INTEL_LNL_AUDIO_4,
28 PCI_DID_INTEL_LNL_AUDIO_5,
29 PCI_DID_INTEL_LNL_AUDIO_6,
30 PCI_DID_INTEL_LNL_AUDIO_7,
31 PCI_DID_INTEL_LNL_AUDIO_8,
32 PCI_DID_INTEL_MTL_AUDIO_1,
33 PCI_DID_INTEL_MTL_AUDIO_2,
34 PCI_DID_INTEL_MTL_AUDIO_3,
35 PCI_DID_INTEL_MTL_AUDIO_4,
36 PCI_DID_INTEL_MTL_AUDIO_5,
37 PCI_DID_INTEL_MTL_AUDIO_6,
38 PCI_DID_INTEL_MTL_AUDIO_7,
39 PCI_DID_INTEL_MTL_AUDIO_8,
40 PCI_DID_INTEL_RPP_P_AUDIO,
41 PCI_DID_INTEL_RPP_S_AUDIO_1,
42 PCI_DID_INTEL_RPP_S_AUDIO_2,
43 PCI_DID_INTEL_RPP_S_AUDIO_3,
44 PCI_DID_INTEL_RPP_S_AUDIO_4,
45 PCI_DID_INTEL_RPP_S_AUDIO_5,
46 PCI_DID_INTEL_RPP_S_AUDIO_6,
47 PCI_DID_INTEL_RPP_S_AUDIO_7,
48 PCI_DID_INTEL_RPP_S_AUDIO_8,
49 PCI_DID_INTEL_APL_AUDIO,
50 PCI_DID_INTEL_CNL_AUDIO,
51 PCI_DID_INTEL_GLK_AUDIO,
52 PCI_DID_INTEL_SKL_AUDIO,
53 PCI_DID_INTEL_CNP_H_AUDIO,
54 PCI_DID_INTEL_CMP_AUDIO,
55 PCI_DID_INTEL_CMP_H_AUDIO,
56 PCI_DID_INTEL_TGL_AUDIO,
57 PCI_DID_INTEL_TGL_H_AUDIO,
58 PCI_DID_INTEL_MCC_AUDIO,
59 PCI_DID_INTEL_JSP_AUDIO,
60 PCI_DID_INTEL_ADP_P_AUDIO,
61 PCI_DID_INTEL_ADP_S_AUDIO_1,
62 PCI_DID_INTEL_ADP_S_AUDIO_2,
63 PCI_DID_INTEL_ADP_S_AUDIO_3,
64 PCI_DID_INTEL_ADP_S_AUDIO_4,
65 PCI_DID_INTEL_ADP_S_AUDIO_5,
66 PCI_DID_INTEL_ADP_S_AUDIO_6,
67 PCI_DID_INTEL_ADP_S_AUDIO_7,
68 PCI_DID_INTEL_ADP_S_AUDIO_8,
69 PCI_DID_INTEL_ADP_M_N_AUDIO_1,
70 PCI_DID_INTEL_ADP_M_N_AUDIO_2,
71 PCI_DID_INTEL_ADP_M_N_AUDIO_3,
72 PCI_DID_INTEL_ADP_M_N_AUDIO_4,
73 PCI_DID_INTEL_ADP_M_N_AUDIO_5,
74 PCI_DID_INTEL_ADP_M_N_AUDIO_6,
75 PCI_DID_INTEL_ADP_M_N_AUDIO_7,
79 static const struct pci_driver dsp_driver __pci_driver = {
80 .ops = &dsp_dev_ops,
81 .vendor = PCI_VID_INTEL,
82 .devices = pci_device_ids,