Commit | Line | Data |
---|---|---|
d2912cb1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
4b45efe8 AS |
2 | /* |
3 | * Intel LPSS PCI support. | |
4 | * | |
5 | * Copyright (C) 2015, Intel Corporation | |
6 | * | |
7 | * Authors: Andy Shevchenko <andriy.shevchenko@linux.intel.com> | |
8 | * Mika Westerberg <mika.westerberg@linux.intel.com> | |
4b45efe8 AS |
9 | */ |
10 | ||
a936a917 AS |
11 | #include <linux/device.h> |
12 | #include <linux/gfp_types.h> | |
13 | #include <linux/mod_devicetable.h> | |
4b45efe8 AS |
14 | #include <linux/module.h> |
15 | #include <linux/pci.h> | |
fd58bb8c | 16 | #include <linux/pm.h> |
4b45efe8 | 17 | #include <linux/pm_runtime.h> |
028af594 | 18 | #include <linux/property.h> |
a936a917 | 19 | |
fe55d732 | 20 | #include <linux/pxa2xx_ssp.h> |
4b45efe8 | 21 | |
a936a917 AS |
22 | #include <asm/errno.h> |
23 | ||
4b45efe8 AS |
24 | #include "intel-lpss.h" |
25 | ||
ac9538f6 AV |
26 | static const struct pci_device_id quirk_ids[] = { |
27 | { | |
28 | /* Microsoft Surface Go (version 1) I2C4 */ | |
29 | PCI_DEVICE_SUB(PCI_VENDOR_ID_INTEL, 0x9d64, 0x152d, 0x1182), | |
30 | .driver_data = QUIRK_IGNORE_RESOURCE_CONFLICTS, | |
31 | }, | |
32 | { | |
33 | /* Microsoft Surface Go 2 I2C4 */ | |
34 | PCI_DEVICE_SUB(PCI_VENDOR_ID_INTEL, 0x9d64, 0x152d, 0x1237), | |
35 | .driver_data = QUIRK_IGNORE_RESOURCE_CONFLICTS, | |
36 | }, | |
1d8c51ed AV |
37 | { |
38 | /* Dell XPS 9530 (2023) */ | |
39 | PCI_DEVICE_SUB(PCI_VENDOR_ID_INTEL, 0x51fb, 0x1028, 0x0beb), | |
40 | .driver_data = QUIRK_CLOCK_DIVIDER_UNITY, | |
41 | }, | |
e6b14206 HG |
42 | { } |
43 | }; | |
44 | ||
4b45efe8 AS |
45 | static int intel_lpss_pci_probe(struct pci_dev *pdev, |
46 | const struct pci_device_id *id) | |
47 | { | |
9ffe4c10 | 48 | const struct intel_lpss_platform_info *data = (void *)id->driver_data; |
ac9538f6 | 49 | const struct pci_device_id *quirk_pci_info; |
4b45efe8 AS |
50 | struct intel_lpss_platform_info *info; |
51 | int ret; | |
52 | ||
53 | ret = pcim_enable_device(pdev); | |
54 | if (ret) | |
55 | return ret; | |
56 | ||
858cea6b | 57 | ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); |
0c679fff | 58 | if (ret < 0) |
6978c7d2 AS |
59 | return ret; |
60 | ||
9ffe4c10 | 61 | info = devm_kmemdup(&pdev->dev, data, sizeof(*info), GFP_KERNEL); |
4b45efe8 AS |
62 | if (!info) |
63 | return -ENOMEM; | |
64 | ||
3b6dba22 | 65 | /* No need to check mem and irq here as intel_lpss_probe() does it for us */ |
6978c7d2 AS |
66 | info->mem = pci_resource_n(pdev, 0); |
67 | info->irq = pci_irq_vector(pdev, 0); | |
4b45efe8 | 68 | |
ac9538f6 AV |
69 | quirk_pci_info = pci_match_id(quirk_ids, pdev); |
70 | if (quirk_pci_info) | |
71 | info->quirks = quirk_pci_info->driver_data; | |
e6b14206 | 72 | |
76380a60 KHF |
73 | pdev->d3cold_delay = 0; |
74 | ||
4b45efe8 AS |
75 | /* Probably it is enough to set this for iDMA capable devices only */ |
76 | pci_set_master(pdev); | |
85a9419a | 77 | pci_try_set_mwi(pdev); |
4b45efe8 AS |
78 | |
79 | ret = intel_lpss_probe(&pdev->dev, info); | |
80 | if (ret) | |
81 | return ret; | |
82 | ||
83 | pm_runtime_put(&pdev->dev); | |
84 | pm_runtime_allow(&pdev->dev); | |
85 | ||
86 | return 0; | |
87 | } | |
88 | ||
89 | static void intel_lpss_pci_remove(struct pci_dev *pdev) | |
90 | { | |
91 | pm_runtime_forbid(&pdev->dev); | |
92 | pm_runtime_get_sync(&pdev->dev); | |
93 | ||
94 | intel_lpss_remove(&pdev->dev); | |
95 | } | |
96 | ||
fe55d732 AS |
97 | static const struct property_entry spt_spi_properties[] = { |
98 | PROPERTY_ENTRY_U32("intel,spi-pxa2xx-type", LPSS_SPT_SSP), | |
99 | { } | |
100 | }; | |
101 | ||
102 | static const struct software_node spt_spi_node = { | |
103 | .properties = spt_spi_properties, | |
104 | }; | |
105 | ||
9cc3b409 | 106 | static const struct intel_lpss_platform_info spt_spi_info = { |
4b45efe8 | 107 | .clk_rate = 120000000, |
fe55d732 | 108 | .swnode = &spt_spi_node, |
4b45efe8 AS |
109 | }; |
110 | ||
9677e6f7 | 111 | static const struct property_entry spt_i2c_properties[] = { |
028af594 MW |
112 | PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 230), |
113 | { }, | |
114 | }; | |
115 | ||
03152e35 HK |
116 | static const struct software_node spt_i2c_node = { |
117 | .properties = spt_i2c_properties, | |
118 | }; | |
119 | ||
028af594 MW |
120 | static const struct intel_lpss_platform_info spt_i2c_info = { |
121 | .clk_rate = 120000000, | |
03152e35 | 122 | .swnode = &spt_i2c_node, |
028af594 MW |
123 | }; |
124 | ||
9677e6f7 | 125 | static const struct property_entry uart_properties[] = { |
ec14c539 AS |
126 | PROPERTY_ENTRY_U32("reg-io-width", 4), |
127 | PROPERTY_ENTRY_U32("reg-shift", 2), | |
128 | PROPERTY_ENTRY_BOOL("snps,uart-16550-compatible"), | |
129 | { }, | |
130 | }; | |
131 | ||
03152e35 HK |
132 | static const struct software_node uart_node = { |
133 | .properties = uart_properties, | |
134 | }; | |
135 | ||
4b45efe8 AS |
136 | static const struct intel_lpss_platform_info spt_uart_info = { |
137 | .clk_rate = 120000000, | |
138 | .clk_con_id = "baudclk", | |
03152e35 | 139 | .swnode = &uart_node, |
4b45efe8 AS |
140 | }; |
141 | ||
fe55d732 AS |
142 | static const struct property_entry bxt_spi_properties[] = { |
143 | PROPERTY_ENTRY_U32("intel,spi-pxa2xx-type", LPSS_BXT_SSP), | |
144 | { } | |
145 | }; | |
146 | ||
147 | static const struct software_node bxt_spi_node = { | |
148 | .properties = bxt_spi_properties, | |
149 | }; | |
150 | ||
9cc3b409 | 151 | static const struct intel_lpss_platform_info bxt_spi_info = { |
ff0a04a6 | 152 | .clk_rate = 100000000, |
fe55d732 | 153 | .swnode = &bxt_spi_node, |
ff0a04a6 AS |
154 | }; |
155 | ||
156 | static const struct intel_lpss_platform_info bxt_uart_info = { | |
157 | .clk_rate = 100000000, | |
158 | .clk_con_id = "baudclk", | |
03152e35 | 159 | .swnode = &uart_node, |
ff0a04a6 AS |
160 | }; |
161 | ||
9677e6f7 | 162 | static const struct property_entry bxt_i2c_properties[] = { |
0343b2f4 MW |
163 | PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 42), |
164 | PROPERTY_ENTRY_U32("i2c-sda-falling-time-ns", 171), | |
165 | PROPERTY_ENTRY_U32("i2c-scl-falling-time-ns", 208), | |
166 | { }, | |
167 | }; | |
168 | ||
03152e35 HK |
169 | static const struct software_node bxt_i2c_node = { |
170 | .properties = bxt_i2c_properties, | |
171 | }; | |
172 | ||
ff0a04a6 AS |
173 | static const struct intel_lpss_platform_info bxt_i2c_info = { |
174 | .clk_rate = 133000000, | |
03152e35 | 175 | .swnode = &bxt_i2c_node, |
ff0a04a6 AS |
176 | }; |
177 | ||
9677e6f7 | 178 | static const struct property_entry apl_i2c_properties[] = { |
c50cdd62 JN |
179 | PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 207), |
180 | PROPERTY_ENTRY_U32("i2c-sda-falling-time-ns", 171), | |
181 | PROPERTY_ENTRY_U32("i2c-scl-falling-time-ns", 208), | |
182 | { }, | |
183 | }; | |
184 | ||
03152e35 HK |
185 | static const struct software_node apl_i2c_node = { |
186 | .properties = apl_i2c_properties, | |
187 | }; | |
188 | ||
c50cdd62 JN |
189 | static const struct intel_lpss_platform_info apl_i2c_info = { |
190 | .clk_rate = 133000000, | |
03152e35 | 191 | .swnode = &apl_i2c_node, |
c50cdd62 JN |
192 | }; |
193 | ||
9677e6f7 | 194 | static const struct property_entry glk_i2c_properties[] = { |
3f31bc67 JN |
195 | PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 313), |
196 | PROPERTY_ENTRY_U32("i2c-sda-falling-time-ns", 171), | |
197 | PROPERTY_ENTRY_U32("i2c-scl-falling-time-ns", 290), | |
198 | { }, | |
199 | }; | |
200 | ||
03152e35 HK |
201 | static const struct software_node glk_i2c_node = { |
202 | .properties = glk_i2c_properties, | |
203 | }; | |
204 | ||
3f31bc67 JN |
205 | static const struct intel_lpss_platform_info glk_i2c_info = { |
206 | .clk_rate = 133000000, | |
03152e35 | 207 | .swnode = &glk_i2c_node, |
3f31bc67 JN |
208 | }; |
209 | ||
fe55d732 AS |
210 | static const struct property_entry cnl_spi_properties[] = { |
211 | PROPERTY_ENTRY_U32("intel,spi-pxa2xx-type", LPSS_CNL_SSP), | |
212 | { } | |
213 | }; | |
214 | ||
215 | static const struct software_node cnl_spi_node = { | |
216 | .properties = cnl_spi_properties, | |
217 | }; | |
218 | ||
9cc3b409 | 219 | static const struct intel_lpss_platform_info cnl_spi_info = { |
fe55d732 AS |
220 | .clk_rate = 120000000, |
221 | .swnode = &cnl_spi_node, | |
222 | }; | |
223 | ||
4e93a658 JN |
224 | static const struct intel_lpss_platform_info cnl_i2c_info = { |
225 | .clk_rate = 216000000, | |
03152e35 | 226 | .swnode = &spt_i2c_node, |
4e93a658 JN |
227 | }; |
228 | ||
d2923aa4 JN |
229 | static const struct intel_lpss_platform_info ehl_i2c_info = { |
230 | .clk_rate = 100000000, | |
03152e35 | 231 | .swnode = &bxt_i2c_node, |
d2923aa4 JN |
232 | }; |
233 | ||
fe55d732 AS |
234 | static const struct property_entry tgl_spi_properties[] = { |
235 | PROPERTY_ENTRY_U32("intel,spi-pxa2xx-type", LPSS_CNL_SSP), | |
236 | { } | |
237 | }; | |
238 | ||
239 | static const struct software_node tgl_spi_node = { | |
240 | .properties = tgl_spi_properties, | |
241 | }; | |
242 | ||
9cc3b409 | 243 | static const struct intel_lpss_platform_info tgl_spi_info = { |
fe55d732 AS |
244 | .clk_rate = 100000000, |
245 | .swnode = &tgl_spi_node, | |
246 | }; | |
247 | ||
4b45efe8 | 248 | static const struct pci_device_id intel_lpss_pci_ids[] = { |
dd047dce | 249 | /* CML-LP */ |
dd662907 AS |
250 | { PCI_VDEVICE(INTEL, 0x02a8), (kernel_ulong_t)&spt_uart_info }, |
251 | { PCI_VDEVICE(INTEL, 0x02a9), (kernel_ulong_t)&spt_uart_info }, | |
9cc3b409 IJ |
252 | { PCI_VDEVICE(INTEL, 0x02aa), (kernel_ulong_t)&cnl_spi_info }, |
253 | { PCI_VDEVICE(INTEL, 0x02ab), (kernel_ulong_t)&cnl_spi_info }, | |
dd662907 AS |
254 | { PCI_VDEVICE(INTEL, 0x02c5), (kernel_ulong_t)&cnl_i2c_info }, |
255 | { PCI_VDEVICE(INTEL, 0x02c6), (kernel_ulong_t)&cnl_i2c_info }, | |
256 | { PCI_VDEVICE(INTEL, 0x02c7), (kernel_ulong_t)&spt_uart_info }, | |
257 | { PCI_VDEVICE(INTEL, 0x02e8), (kernel_ulong_t)&cnl_i2c_info }, | |
258 | { PCI_VDEVICE(INTEL, 0x02e9), (kernel_ulong_t)&cnl_i2c_info }, | |
259 | { PCI_VDEVICE(INTEL, 0x02ea), (kernel_ulong_t)&cnl_i2c_info }, | |
260 | { PCI_VDEVICE(INTEL, 0x02eb), (kernel_ulong_t)&cnl_i2c_info }, | |
9cc3b409 | 261 | { PCI_VDEVICE(INTEL, 0x02fb), (kernel_ulong_t)&cnl_spi_info }, |
dd047dce AS |
262 | /* CML-H */ |
263 | { PCI_VDEVICE(INTEL, 0x06a8), (kernel_ulong_t)&spt_uart_info }, | |
264 | { PCI_VDEVICE(INTEL, 0x06a9), (kernel_ulong_t)&spt_uart_info }, | |
9cc3b409 IJ |
265 | { PCI_VDEVICE(INTEL, 0x06aa), (kernel_ulong_t)&cnl_spi_info }, |
266 | { PCI_VDEVICE(INTEL, 0x06ab), (kernel_ulong_t)&cnl_spi_info }, | |
dd047dce AS |
267 | { PCI_VDEVICE(INTEL, 0x06c7), (kernel_ulong_t)&spt_uart_info }, |
268 | { PCI_VDEVICE(INTEL, 0x06e8), (kernel_ulong_t)&cnl_i2c_info }, | |
269 | { PCI_VDEVICE(INTEL, 0x06e9), (kernel_ulong_t)&cnl_i2c_info }, | |
270 | { PCI_VDEVICE(INTEL, 0x06ea), (kernel_ulong_t)&cnl_i2c_info }, | |
271 | { PCI_VDEVICE(INTEL, 0x06eb), (kernel_ulong_t)&cnl_i2c_info }, | |
9cc3b409 | 272 | { PCI_VDEVICE(INTEL, 0x06fb), (kernel_ulong_t)&cnl_spi_info }, |
023269cc | 273 | /* BXT A-Step */ |
ff0a04a6 AS |
274 | { PCI_VDEVICE(INTEL, 0x0aac), (kernel_ulong_t)&bxt_i2c_info }, |
275 | { PCI_VDEVICE(INTEL, 0x0aae), (kernel_ulong_t)&bxt_i2c_info }, | |
276 | { PCI_VDEVICE(INTEL, 0x0ab0), (kernel_ulong_t)&bxt_i2c_info }, | |
277 | { PCI_VDEVICE(INTEL, 0x0ab2), (kernel_ulong_t)&bxt_i2c_info }, | |
278 | { PCI_VDEVICE(INTEL, 0x0ab4), (kernel_ulong_t)&bxt_i2c_info }, | |
279 | { PCI_VDEVICE(INTEL, 0x0ab6), (kernel_ulong_t)&bxt_i2c_info }, | |
280 | { PCI_VDEVICE(INTEL, 0x0ab8), (kernel_ulong_t)&bxt_i2c_info }, | |
281 | { PCI_VDEVICE(INTEL, 0x0aba), (kernel_ulong_t)&bxt_i2c_info }, | |
282 | { PCI_VDEVICE(INTEL, 0x0abc), (kernel_ulong_t)&bxt_uart_info }, | |
283 | { PCI_VDEVICE(INTEL, 0x0abe), (kernel_ulong_t)&bxt_uart_info }, | |
284 | { PCI_VDEVICE(INTEL, 0x0ac0), (kernel_ulong_t)&bxt_uart_info }, | |
9cc3b409 IJ |
285 | { PCI_VDEVICE(INTEL, 0x0ac2), (kernel_ulong_t)&bxt_spi_info }, |
286 | { PCI_VDEVICE(INTEL, 0x0ac4), (kernel_ulong_t)&bxt_spi_info }, | |
287 | { PCI_VDEVICE(INTEL, 0x0ac6), (kernel_ulong_t)&bxt_spi_info }, | |
ff0a04a6 | 288 | { PCI_VDEVICE(INTEL, 0x0aee), (kernel_ulong_t)&bxt_uart_info }, |
023269cc HZ |
289 | /* BXT B-Step */ |
290 | { PCI_VDEVICE(INTEL, 0x1aac), (kernel_ulong_t)&bxt_i2c_info }, | |
291 | { PCI_VDEVICE(INTEL, 0x1aae), (kernel_ulong_t)&bxt_i2c_info }, | |
292 | { PCI_VDEVICE(INTEL, 0x1ab0), (kernel_ulong_t)&bxt_i2c_info }, | |
293 | { PCI_VDEVICE(INTEL, 0x1ab2), (kernel_ulong_t)&bxt_i2c_info }, | |
294 | { PCI_VDEVICE(INTEL, 0x1ab4), (kernel_ulong_t)&bxt_i2c_info }, | |
295 | { PCI_VDEVICE(INTEL, 0x1ab6), (kernel_ulong_t)&bxt_i2c_info }, | |
296 | { PCI_VDEVICE(INTEL, 0x1ab8), (kernel_ulong_t)&bxt_i2c_info }, | |
297 | { PCI_VDEVICE(INTEL, 0x1aba), (kernel_ulong_t)&bxt_i2c_info }, | |
298 | { PCI_VDEVICE(INTEL, 0x1abc), (kernel_ulong_t)&bxt_uart_info }, | |
299 | { PCI_VDEVICE(INTEL, 0x1abe), (kernel_ulong_t)&bxt_uart_info }, | |
300 | { PCI_VDEVICE(INTEL, 0x1ac0), (kernel_ulong_t)&bxt_uart_info }, | |
9cc3b409 IJ |
301 | { PCI_VDEVICE(INTEL, 0x1ac2), (kernel_ulong_t)&bxt_spi_info }, |
302 | { PCI_VDEVICE(INTEL, 0x1ac4), (kernel_ulong_t)&bxt_spi_info }, | |
303 | { PCI_VDEVICE(INTEL, 0x1ac6), (kernel_ulong_t)&bxt_spi_info }, | |
023269cc | 304 | { PCI_VDEVICE(INTEL, 0x1aee), (kernel_ulong_t)&bxt_uart_info }, |
3ea2e4ea AS |
305 | /* EBG */ |
306 | { PCI_VDEVICE(INTEL, 0x1bad), (kernel_ulong_t)&bxt_uart_info }, | |
307 | { PCI_VDEVICE(INTEL, 0x1bae), (kernel_ulong_t)&bxt_uart_info }, | |
f80e78aa | 308 | /* GLK */ |
3f31bc67 JN |
309 | { PCI_VDEVICE(INTEL, 0x31ac), (kernel_ulong_t)&glk_i2c_info }, |
310 | { PCI_VDEVICE(INTEL, 0x31ae), (kernel_ulong_t)&glk_i2c_info }, | |
311 | { PCI_VDEVICE(INTEL, 0x31b0), (kernel_ulong_t)&glk_i2c_info }, | |
312 | { PCI_VDEVICE(INTEL, 0x31b2), (kernel_ulong_t)&glk_i2c_info }, | |
313 | { PCI_VDEVICE(INTEL, 0x31b4), (kernel_ulong_t)&glk_i2c_info }, | |
314 | { PCI_VDEVICE(INTEL, 0x31b6), (kernel_ulong_t)&glk_i2c_info }, | |
315 | { PCI_VDEVICE(INTEL, 0x31b8), (kernel_ulong_t)&glk_i2c_info }, | |
316 | { PCI_VDEVICE(INTEL, 0x31ba), (kernel_ulong_t)&glk_i2c_info }, | |
f80e78aa AS |
317 | { PCI_VDEVICE(INTEL, 0x31bc), (kernel_ulong_t)&bxt_uart_info }, |
318 | { PCI_VDEVICE(INTEL, 0x31be), (kernel_ulong_t)&bxt_uart_info }, | |
319 | { PCI_VDEVICE(INTEL, 0x31c0), (kernel_ulong_t)&bxt_uart_info }, | |
9cc3b409 IJ |
320 | { PCI_VDEVICE(INTEL, 0x31c2), (kernel_ulong_t)&bxt_spi_info }, |
321 | { PCI_VDEVICE(INTEL, 0x31c4), (kernel_ulong_t)&bxt_spi_info }, | |
322 | { PCI_VDEVICE(INTEL, 0x31c6), (kernel_ulong_t)&bxt_spi_info }, | |
f88314c1 | 323 | { PCI_VDEVICE(INTEL, 0x31ee), (kernel_ulong_t)&bxt_uart_info }, |
a13c93b3 MW |
324 | /* ICL-LP */ |
325 | { PCI_VDEVICE(INTEL, 0x34a8), (kernel_ulong_t)&spt_uart_info }, | |
326 | { PCI_VDEVICE(INTEL, 0x34a9), (kernel_ulong_t)&spt_uart_info }, | |
9cc3b409 IJ |
327 | { PCI_VDEVICE(INTEL, 0x34aa), (kernel_ulong_t)&cnl_spi_info }, |
328 | { PCI_VDEVICE(INTEL, 0x34ab), (kernel_ulong_t)&cnl_spi_info }, | |
a13c93b3 MW |
329 | { PCI_VDEVICE(INTEL, 0x34c5), (kernel_ulong_t)&bxt_i2c_info }, |
330 | { PCI_VDEVICE(INTEL, 0x34c6), (kernel_ulong_t)&bxt_i2c_info }, | |
331 | { PCI_VDEVICE(INTEL, 0x34c7), (kernel_ulong_t)&spt_uart_info }, | |
332 | { PCI_VDEVICE(INTEL, 0x34e8), (kernel_ulong_t)&bxt_i2c_info }, | |
333 | { PCI_VDEVICE(INTEL, 0x34e9), (kernel_ulong_t)&bxt_i2c_info }, | |
334 | { PCI_VDEVICE(INTEL, 0x34ea), (kernel_ulong_t)&bxt_i2c_info }, | |
335 | { PCI_VDEVICE(INTEL, 0x34eb), (kernel_ulong_t)&bxt_i2c_info }, | |
9cc3b409 | 336 | { PCI_VDEVICE(INTEL, 0x34fb), (kernel_ulong_t)&cnl_spi_info }, |
ddb1ada4 | 337 | /* ICL-N */ |
9651cf2c | 338 | { PCI_VDEVICE(INTEL, 0x38a8), (kernel_ulong_t)&spt_uart_info }, |
bb7fcad4 AS |
339 | /* TGL-H */ |
340 | { PCI_VDEVICE(INTEL, 0x43a7), (kernel_ulong_t)&bxt_uart_info }, | |
341 | { PCI_VDEVICE(INTEL, 0x43a8), (kernel_ulong_t)&bxt_uart_info }, | |
342 | { PCI_VDEVICE(INTEL, 0x43a9), (kernel_ulong_t)&bxt_uart_info }, | |
9cc3b409 IJ |
343 | { PCI_VDEVICE(INTEL, 0x43aa), (kernel_ulong_t)&tgl_spi_info }, |
344 | { PCI_VDEVICE(INTEL, 0x43ab), (kernel_ulong_t)&tgl_spi_info }, | |
bb7fcad4 AS |
345 | { PCI_VDEVICE(INTEL, 0x43ad), (kernel_ulong_t)&bxt_i2c_info }, |
346 | { PCI_VDEVICE(INTEL, 0x43ae), (kernel_ulong_t)&bxt_i2c_info }, | |
347 | { PCI_VDEVICE(INTEL, 0x43d8), (kernel_ulong_t)&bxt_i2c_info }, | |
348 | { PCI_VDEVICE(INTEL, 0x43da), (kernel_ulong_t)&bxt_uart_info }, | |
349 | { PCI_VDEVICE(INTEL, 0x43e8), (kernel_ulong_t)&bxt_i2c_info }, | |
350 | { PCI_VDEVICE(INTEL, 0x43e9), (kernel_ulong_t)&bxt_i2c_info }, | |
351 | { PCI_VDEVICE(INTEL, 0x43ea), (kernel_ulong_t)&bxt_i2c_info }, | |
352 | { PCI_VDEVICE(INTEL, 0x43eb), (kernel_ulong_t)&bxt_i2c_info }, | |
9cc3b409 IJ |
353 | { PCI_VDEVICE(INTEL, 0x43fb), (kernel_ulong_t)&tgl_spi_info }, |
354 | { PCI_VDEVICE(INTEL, 0x43fd), (kernel_ulong_t)&tgl_spi_info }, | |
01e4ecee AS |
355 | /* EHL */ |
356 | { PCI_VDEVICE(INTEL, 0x4b28), (kernel_ulong_t)&bxt_uart_info }, | |
357 | { PCI_VDEVICE(INTEL, 0x4b29), (kernel_ulong_t)&bxt_uart_info }, | |
9cc3b409 IJ |
358 | { PCI_VDEVICE(INTEL, 0x4b2a), (kernel_ulong_t)&bxt_spi_info }, |
359 | { PCI_VDEVICE(INTEL, 0x4b2b), (kernel_ulong_t)&bxt_spi_info }, | |
360 | { PCI_VDEVICE(INTEL, 0x4b37), (kernel_ulong_t)&bxt_spi_info }, | |
d2923aa4 JN |
361 | { PCI_VDEVICE(INTEL, 0x4b44), (kernel_ulong_t)&ehl_i2c_info }, |
362 | { PCI_VDEVICE(INTEL, 0x4b45), (kernel_ulong_t)&ehl_i2c_info }, | |
363 | { PCI_VDEVICE(INTEL, 0x4b4b), (kernel_ulong_t)&ehl_i2c_info }, | |
364 | { PCI_VDEVICE(INTEL, 0x4b4c), (kernel_ulong_t)&ehl_i2c_info }, | |
01e4ecee | 365 | { PCI_VDEVICE(INTEL, 0x4b4d), (kernel_ulong_t)&bxt_uart_info }, |
d2923aa4 JN |
366 | { PCI_VDEVICE(INTEL, 0x4b78), (kernel_ulong_t)&ehl_i2c_info }, |
367 | { PCI_VDEVICE(INTEL, 0x4b79), (kernel_ulong_t)&ehl_i2c_info }, | |
368 | { PCI_VDEVICE(INTEL, 0x4b7a), (kernel_ulong_t)&ehl_i2c_info }, | |
369 | { PCI_VDEVICE(INTEL, 0x4b7b), (kernel_ulong_t)&ehl_i2c_info }, | |
57b89dd2 AS |
370 | /* JSL */ |
371 | { PCI_VDEVICE(INTEL, 0x4da8), (kernel_ulong_t)&spt_uart_info }, | |
372 | { PCI_VDEVICE(INTEL, 0x4da9), (kernel_ulong_t)&spt_uart_info }, | |
9cc3b409 IJ |
373 | { PCI_VDEVICE(INTEL, 0x4daa), (kernel_ulong_t)&cnl_spi_info }, |
374 | { PCI_VDEVICE(INTEL, 0x4dab), (kernel_ulong_t)&cnl_spi_info }, | |
57b89dd2 AS |
375 | { PCI_VDEVICE(INTEL, 0x4dc5), (kernel_ulong_t)&bxt_i2c_info }, |
376 | { PCI_VDEVICE(INTEL, 0x4dc6), (kernel_ulong_t)&bxt_i2c_info }, | |
9a875245 | 377 | { PCI_VDEVICE(INTEL, 0x4dc7), (kernel_ulong_t)&spt_uart_info }, |
57b89dd2 AS |
378 | { PCI_VDEVICE(INTEL, 0x4de8), (kernel_ulong_t)&bxt_i2c_info }, |
379 | { PCI_VDEVICE(INTEL, 0x4de9), (kernel_ulong_t)&bxt_i2c_info }, | |
380 | { PCI_VDEVICE(INTEL, 0x4dea), (kernel_ulong_t)&bxt_i2c_info }, | |
381 | { PCI_VDEVICE(INTEL, 0x4deb), (kernel_ulong_t)&bxt_i2c_info }, | |
9cc3b409 | 382 | { PCI_VDEVICE(INTEL, 0x4dfb), (kernel_ulong_t)&cnl_spi_info }, |
f7b67321 AS |
383 | /* ADL-P */ |
384 | { PCI_VDEVICE(INTEL, 0x51a8), (kernel_ulong_t)&bxt_uart_info }, | |
385 | { PCI_VDEVICE(INTEL, 0x51a9), (kernel_ulong_t)&bxt_uart_info }, | |
9cc3b409 IJ |
386 | { PCI_VDEVICE(INTEL, 0x51aa), (kernel_ulong_t)&tgl_spi_info }, |
387 | { PCI_VDEVICE(INTEL, 0x51ab), (kernel_ulong_t)&tgl_spi_info }, | |
f7b67321 AS |
388 | { PCI_VDEVICE(INTEL, 0x51c5), (kernel_ulong_t)&bxt_i2c_info }, |
389 | { PCI_VDEVICE(INTEL, 0x51c6), (kernel_ulong_t)&bxt_i2c_info }, | |
390 | { PCI_VDEVICE(INTEL, 0x51c7), (kernel_ulong_t)&bxt_uart_info }, | |
eeb0a442 GT |
391 | { PCI_VDEVICE(INTEL, 0x51d8), (kernel_ulong_t)&bxt_i2c_info }, |
392 | { PCI_VDEVICE(INTEL, 0x51d9), (kernel_ulong_t)&bxt_i2c_info }, | |
f7b67321 AS |
393 | { PCI_VDEVICE(INTEL, 0x51e8), (kernel_ulong_t)&bxt_i2c_info }, |
394 | { PCI_VDEVICE(INTEL, 0x51e9), (kernel_ulong_t)&bxt_i2c_info }, | |
395 | { PCI_VDEVICE(INTEL, 0x51ea), (kernel_ulong_t)&bxt_i2c_info }, | |
396 | { PCI_VDEVICE(INTEL, 0x51eb), (kernel_ulong_t)&bxt_i2c_info }, | |
9cc3b409 | 397 | { PCI_VDEVICE(INTEL, 0x51fb), (kernel_ulong_t)&tgl_spi_info }, |
9fb3cad0 AS |
398 | /* ADL-M */ |
399 | { PCI_VDEVICE(INTEL, 0x54a8), (kernel_ulong_t)&bxt_uart_info }, | |
400 | { PCI_VDEVICE(INTEL, 0x54a9), (kernel_ulong_t)&bxt_uart_info }, | |
9cc3b409 IJ |
401 | { PCI_VDEVICE(INTEL, 0x54aa), (kernel_ulong_t)&tgl_spi_info }, |
402 | { PCI_VDEVICE(INTEL, 0x54ab), (kernel_ulong_t)&tgl_spi_info }, | |
9fb3cad0 AS |
403 | { PCI_VDEVICE(INTEL, 0x54c5), (kernel_ulong_t)&bxt_i2c_info }, |
404 | { PCI_VDEVICE(INTEL, 0x54c6), (kernel_ulong_t)&bxt_i2c_info }, | |
405 | { PCI_VDEVICE(INTEL, 0x54c7), (kernel_ulong_t)&bxt_uart_info }, | |
406 | { PCI_VDEVICE(INTEL, 0x54e8), (kernel_ulong_t)&bxt_i2c_info }, | |
407 | { PCI_VDEVICE(INTEL, 0x54e9), (kernel_ulong_t)&bxt_i2c_info }, | |
408 | { PCI_VDEVICE(INTEL, 0x54ea), (kernel_ulong_t)&bxt_i2c_info }, | |
409 | { PCI_VDEVICE(INTEL, 0x54eb), (kernel_ulong_t)&bxt_i2c_info }, | |
9cc3b409 | 410 | { PCI_VDEVICE(INTEL, 0x54fb), (kernel_ulong_t)&tgl_spi_info }, |
ff0a04a6 | 411 | /* APL */ |
c50cdd62 JN |
412 | { PCI_VDEVICE(INTEL, 0x5aac), (kernel_ulong_t)&apl_i2c_info }, |
413 | { PCI_VDEVICE(INTEL, 0x5aae), (kernel_ulong_t)&apl_i2c_info }, | |
414 | { PCI_VDEVICE(INTEL, 0x5ab0), (kernel_ulong_t)&apl_i2c_info }, | |
415 | { PCI_VDEVICE(INTEL, 0x5ab2), (kernel_ulong_t)&apl_i2c_info }, | |
416 | { PCI_VDEVICE(INTEL, 0x5ab4), (kernel_ulong_t)&apl_i2c_info }, | |
417 | { PCI_VDEVICE(INTEL, 0x5ab6), (kernel_ulong_t)&apl_i2c_info }, | |
418 | { PCI_VDEVICE(INTEL, 0x5ab8), (kernel_ulong_t)&apl_i2c_info }, | |
419 | { PCI_VDEVICE(INTEL, 0x5aba), (kernel_ulong_t)&apl_i2c_info }, | |
ff0a04a6 AS |
420 | { PCI_VDEVICE(INTEL, 0x5abc), (kernel_ulong_t)&bxt_uart_info }, |
421 | { PCI_VDEVICE(INTEL, 0x5abe), (kernel_ulong_t)&bxt_uart_info }, | |
422 | { PCI_VDEVICE(INTEL, 0x5ac0), (kernel_ulong_t)&bxt_uart_info }, | |
9cc3b409 IJ |
423 | { PCI_VDEVICE(INTEL, 0x5ac2), (kernel_ulong_t)&bxt_spi_info }, |
424 | { PCI_VDEVICE(INTEL, 0x5ac4), (kernel_ulong_t)&bxt_spi_info }, | |
425 | { PCI_VDEVICE(INTEL, 0x5ac6), (kernel_ulong_t)&bxt_spi_info }, | |
ff0a04a6 | 426 | { PCI_VDEVICE(INTEL, 0x5aee), (kernel_ulong_t)&bxt_uart_info }, |
8c70bd58 JN |
427 | /* RPL-S */ |
428 | { PCI_VDEVICE(INTEL, 0x7a28), (kernel_ulong_t)&bxt_uart_info }, | |
429 | { PCI_VDEVICE(INTEL, 0x7a29), (kernel_ulong_t)&bxt_uart_info }, | |
9cc3b409 IJ |
430 | { PCI_VDEVICE(INTEL, 0x7a2a), (kernel_ulong_t)&tgl_spi_info }, |
431 | { PCI_VDEVICE(INTEL, 0x7a2b), (kernel_ulong_t)&tgl_spi_info }, | |
8c70bd58 JN |
432 | { PCI_VDEVICE(INTEL, 0x7a4c), (kernel_ulong_t)&bxt_i2c_info }, |
433 | { PCI_VDEVICE(INTEL, 0x7a4d), (kernel_ulong_t)&bxt_i2c_info }, | |
434 | { PCI_VDEVICE(INTEL, 0x7a4e), (kernel_ulong_t)&bxt_i2c_info }, | |
435 | { PCI_VDEVICE(INTEL, 0x7a4f), (kernel_ulong_t)&bxt_i2c_info }, | |
436 | { PCI_VDEVICE(INTEL, 0x7a5c), (kernel_ulong_t)&bxt_uart_info }, | |
9cc3b409 IJ |
437 | { PCI_VDEVICE(INTEL, 0x7a79), (kernel_ulong_t)&tgl_spi_info }, |
438 | { PCI_VDEVICE(INTEL, 0x7a7b), (kernel_ulong_t)&tgl_spi_info }, | |
8c70bd58 JN |
439 | { PCI_VDEVICE(INTEL, 0x7a7c), (kernel_ulong_t)&bxt_i2c_info }, |
440 | { PCI_VDEVICE(INTEL, 0x7a7d), (kernel_ulong_t)&bxt_i2c_info }, | |
441 | { PCI_VDEVICE(INTEL, 0x7a7e), (kernel_ulong_t)&bxt_uart_info }, | |
c7b79a75 JN |
442 | /* ADL-S */ |
443 | { PCI_VDEVICE(INTEL, 0x7aa8), (kernel_ulong_t)&bxt_uart_info }, | |
444 | { PCI_VDEVICE(INTEL, 0x7aa9), (kernel_ulong_t)&bxt_uart_info }, | |
9cc3b409 IJ |
445 | { PCI_VDEVICE(INTEL, 0x7aaa), (kernel_ulong_t)&tgl_spi_info }, |
446 | { PCI_VDEVICE(INTEL, 0x7aab), (kernel_ulong_t)&tgl_spi_info }, | |
c7b79a75 JN |
447 | { PCI_VDEVICE(INTEL, 0x7acc), (kernel_ulong_t)&bxt_i2c_info }, |
448 | { PCI_VDEVICE(INTEL, 0x7acd), (kernel_ulong_t)&bxt_i2c_info }, | |
449 | { PCI_VDEVICE(INTEL, 0x7ace), (kernel_ulong_t)&bxt_i2c_info }, | |
450 | { PCI_VDEVICE(INTEL, 0x7acf), (kernel_ulong_t)&bxt_i2c_info }, | |
451 | { PCI_VDEVICE(INTEL, 0x7adc), (kernel_ulong_t)&bxt_uart_info }, | |
9cc3b409 IJ |
452 | { PCI_VDEVICE(INTEL, 0x7af9), (kernel_ulong_t)&tgl_spi_info }, |
453 | { PCI_VDEVICE(INTEL, 0x7afb), (kernel_ulong_t)&tgl_spi_info }, | |
c7b79a75 JN |
454 | { PCI_VDEVICE(INTEL, 0x7afc), (kernel_ulong_t)&bxt_i2c_info }, |
455 | { PCI_VDEVICE(INTEL, 0x7afd), (kernel_ulong_t)&bxt_i2c_info }, | |
456 | { PCI_VDEVICE(INTEL, 0x7afe), (kernel_ulong_t)&bxt_uart_info }, | |
37e8ba74 AS |
457 | /* MTL-P */ |
458 | { PCI_VDEVICE(INTEL, 0x7e25), (kernel_ulong_t)&bxt_uart_info }, | |
459 | { PCI_VDEVICE(INTEL, 0x7e26), (kernel_ulong_t)&bxt_uart_info }, | |
9cc3b409 IJ |
460 | { PCI_VDEVICE(INTEL, 0x7e27), (kernel_ulong_t)&tgl_spi_info }, |
461 | { PCI_VDEVICE(INTEL, 0x7e30), (kernel_ulong_t)&tgl_spi_info }, | |
462 | { PCI_VDEVICE(INTEL, 0x7e46), (kernel_ulong_t)&tgl_spi_info }, | |
37e8ba74 AS |
463 | { PCI_VDEVICE(INTEL, 0x7e50), (kernel_ulong_t)&bxt_i2c_info }, |
464 | { PCI_VDEVICE(INTEL, 0x7e51), (kernel_ulong_t)&bxt_i2c_info }, | |
465 | { PCI_VDEVICE(INTEL, 0x7e52), (kernel_ulong_t)&bxt_uart_info }, | |
466 | { PCI_VDEVICE(INTEL, 0x7e78), (kernel_ulong_t)&bxt_i2c_info }, | |
467 | { PCI_VDEVICE(INTEL, 0x7e79), (kernel_ulong_t)&bxt_i2c_info }, | |
468 | { PCI_VDEVICE(INTEL, 0x7e7a), (kernel_ulong_t)&bxt_i2c_info }, | |
469 | { PCI_VDEVICE(INTEL, 0x7e7b), (kernel_ulong_t)&bxt_i2c_info }, | |
72d4a168 JN |
470 | /* MTP-S */ |
471 | { PCI_VDEVICE(INTEL, 0x7f28), (kernel_ulong_t)&bxt_uart_info }, | |
472 | { PCI_VDEVICE(INTEL, 0x7f29), (kernel_ulong_t)&bxt_uart_info }, | |
9cc3b409 IJ |
473 | { PCI_VDEVICE(INTEL, 0x7f2a), (kernel_ulong_t)&tgl_spi_info }, |
474 | { PCI_VDEVICE(INTEL, 0x7f2b), (kernel_ulong_t)&tgl_spi_info }, | |
72d4a168 JN |
475 | { PCI_VDEVICE(INTEL, 0x7f4c), (kernel_ulong_t)&bxt_i2c_info }, |
476 | { PCI_VDEVICE(INTEL, 0x7f4d), (kernel_ulong_t)&bxt_i2c_info }, | |
477 | { PCI_VDEVICE(INTEL, 0x7f4e), (kernel_ulong_t)&bxt_i2c_info }, | |
478 | { PCI_VDEVICE(INTEL, 0x7f4f), (kernel_ulong_t)&bxt_i2c_info }, | |
479 | { PCI_VDEVICE(INTEL, 0x7f5c), (kernel_ulong_t)&bxt_uart_info }, | |
480 | { PCI_VDEVICE(INTEL, 0x7f5d), (kernel_ulong_t)&bxt_uart_info }, | |
9cc3b409 IJ |
481 | { PCI_VDEVICE(INTEL, 0x7f5e), (kernel_ulong_t)&tgl_spi_info }, |
482 | { PCI_VDEVICE(INTEL, 0x7f5f), (kernel_ulong_t)&tgl_spi_info }, | |
72d4a168 JN |
483 | { PCI_VDEVICE(INTEL, 0x7f7a), (kernel_ulong_t)&bxt_i2c_info }, |
484 | { PCI_VDEVICE(INTEL, 0x7f7b), (kernel_ulong_t)&bxt_i2c_info }, | |
5f039fa7 AS |
485 | /* LKF */ |
486 | { PCI_VDEVICE(INTEL, 0x98a8), (kernel_ulong_t)&bxt_uart_info }, | |
487 | { PCI_VDEVICE(INTEL, 0x98a9), (kernel_ulong_t)&bxt_uart_info }, | |
9cc3b409 | 488 | { PCI_VDEVICE(INTEL, 0x98aa), (kernel_ulong_t)&bxt_spi_info }, |
8b2051a1 ES |
489 | { PCI_VDEVICE(INTEL, 0x98c5), (kernel_ulong_t)&bxt_i2c_info }, |
490 | { PCI_VDEVICE(INTEL, 0x98c6), (kernel_ulong_t)&bxt_i2c_info }, | |
5f039fa7 | 491 | { PCI_VDEVICE(INTEL, 0x98c7), (kernel_ulong_t)&bxt_uart_info }, |
8b2051a1 ES |
492 | { PCI_VDEVICE(INTEL, 0x98e8), (kernel_ulong_t)&bxt_i2c_info }, |
493 | { PCI_VDEVICE(INTEL, 0x98e9), (kernel_ulong_t)&bxt_i2c_info }, | |
494 | { PCI_VDEVICE(INTEL, 0x98ea), (kernel_ulong_t)&bxt_i2c_info }, | |
495 | { PCI_VDEVICE(INTEL, 0x98eb), (kernel_ulong_t)&bxt_i2c_info }, | |
4b45efe8 AS |
496 | /* SPT-LP */ |
497 | { PCI_VDEVICE(INTEL, 0x9d27), (kernel_ulong_t)&spt_uart_info }, | |
498 | { PCI_VDEVICE(INTEL, 0x9d28), (kernel_ulong_t)&spt_uart_info }, | |
9cc3b409 IJ |
499 | { PCI_VDEVICE(INTEL, 0x9d29), (kernel_ulong_t)&spt_spi_info }, |
500 | { PCI_VDEVICE(INTEL, 0x9d2a), (kernel_ulong_t)&spt_spi_info }, | |
028af594 MW |
501 | { PCI_VDEVICE(INTEL, 0x9d60), (kernel_ulong_t)&spt_i2c_info }, |
502 | { PCI_VDEVICE(INTEL, 0x9d61), (kernel_ulong_t)&spt_i2c_info }, | |
503 | { PCI_VDEVICE(INTEL, 0x9d62), (kernel_ulong_t)&spt_i2c_info }, | |
504 | { PCI_VDEVICE(INTEL, 0x9d63), (kernel_ulong_t)&spt_i2c_info }, | |
505 | { PCI_VDEVICE(INTEL, 0x9d64), (kernel_ulong_t)&spt_i2c_info }, | |
506 | { PCI_VDEVICE(INTEL, 0x9d65), (kernel_ulong_t)&spt_i2c_info }, | |
4b45efe8 | 507 | { PCI_VDEVICE(INTEL, 0x9d66), (kernel_ulong_t)&spt_uart_info }, |
b418bbff AS |
508 | /* CNL-LP */ |
509 | { PCI_VDEVICE(INTEL, 0x9da8), (kernel_ulong_t)&spt_uart_info }, | |
510 | { PCI_VDEVICE(INTEL, 0x9da9), (kernel_ulong_t)&spt_uart_info }, | |
9cc3b409 IJ |
511 | { PCI_VDEVICE(INTEL, 0x9daa), (kernel_ulong_t)&cnl_spi_info }, |
512 | { PCI_VDEVICE(INTEL, 0x9dab), (kernel_ulong_t)&cnl_spi_info }, | |
4e93a658 JN |
513 | { PCI_VDEVICE(INTEL, 0x9dc5), (kernel_ulong_t)&cnl_i2c_info }, |
514 | { PCI_VDEVICE(INTEL, 0x9dc6), (kernel_ulong_t)&cnl_i2c_info }, | |
b418bbff | 515 | { PCI_VDEVICE(INTEL, 0x9dc7), (kernel_ulong_t)&spt_uart_info }, |
4e93a658 JN |
516 | { PCI_VDEVICE(INTEL, 0x9de8), (kernel_ulong_t)&cnl_i2c_info }, |
517 | { PCI_VDEVICE(INTEL, 0x9de9), (kernel_ulong_t)&cnl_i2c_info }, | |
518 | { PCI_VDEVICE(INTEL, 0x9dea), (kernel_ulong_t)&cnl_i2c_info }, | |
519 | { PCI_VDEVICE(INTEL, 0x9deb), (kernel_ulong_t)&cnl_i2c_info }, | |
9cc3b409 | 520 | { PCI_VDEVICE(INTEL, 0x9dfb), (kernel_ulong_t)&cnl_spi_info }, |
ec65b560 AS |
521 | /* TGL-LP */ |
522 | { PCI_VDEVICE(INTEL, 0xa0a8), (kernel_ulong_t)&bxt_uart_info }, | |
523 | { PCI_VDEVICE(INTEL, 0xa0a9), (kernel_ulong_t)&bxt_uart_info }, | |
9cc3b409 IJ |
524 | { PCI_VDEVICE(INTEL, 0xa0aa), (kernel_ulong_t)&cnl_spi_info }, |
525 | { PCI_VDEVICE(INTEL, 0xa0ab), (kernel_ulong_t)&cnl_spi_info }, | |
ec65b560 AS |
526 | { PCI_VDEVICE(INTEL, 0xa0c5), (kernel_ulong_t)&spt_i2c_info }, |
527 | { PCI_VDEVICE(INTEL, 0xa0c6), (kernel_ulong_t)&spt_i2c_info }, | |
528 | { PCI_VDEVICE(INTEL, 0xa0c7), (kernel_ulong_t)&bxt_uart_info }, | |
529 | { PCI_VDEVICE(INTEL, 0xa0d8), (kernel_ulong_t)&spt_i2c_info }, | |
530 | { PCI_VDEVICE(INTEL, 0xa0d9), (kernel_ulong_t)&spt_i2c_info }, | |
531 | { PCI_VDEVICE(INTEL, 0xa0da), (kernel_ulong_t)&bxt_uart_info }, | |
532 | { PCI_VDEVICE(INTEL, 0xa0db), (kernel_ulong_t)&bxt_uart_info }, | |
533 | { PCI_VDEVICE(INTEL, 0xa0dc), (kernel_ulong_t)&bxt_uart_info }, | |
534 | { PCI_VDEVICE(INTEL, 0xa0dd), (kernel_ulong_t)&bxt_uart_info }, | |
9cc3b409 IJ |
535 | { PCI_VDEVICE(INTEL, 0xa0de), (kernel_ulong_t)&cnl_spi_info }, |
536 | { PCI_VDEVICE(INTEL, 0xa0df), (kernel_ulong_t)&cnl_spi_info }, | |
ec65b560 AS |
537 | { PCI_VDEVICE(INTEL, 0xa0e8), (kernel_ulong_t)&spt_i2c_info }, |
538 | { PCI_VDEVICE(INTEL, 0xa0e9), (kernel_ulong_t)&spt_i2c_info }, | |
539 | { PCI_VDEVICE(INTEL, 0xa0ea), (kernel_ulong_t)&spt_i2c_info }, | |
540 | { PCI_VDEVICE(INTEL, 0xa0eb), (kernel_ulong_t)&spt_i2c_info }, | |
9cc3b409 IJ |
541 | { PCI_VDEVICE(INTEL, 0xa0fb), (kernel_ulong_t)&cnl_spi_info }, |
542 | { PCI_VDEVICE(INTEL, 0xa0fd), (kernel_ulong_t)&cnl_spi_info }, | |
543 | { PCI_VDEVICE(INTEL, 0xa0fe), (kernel_ulong_t)&cnl_spi_info }, | |
4b45efe8 AS |
544 | /* SPT-H */ |
545 | { PCI_VDEVICE(INTEL, 0xa127), (kernel_ulong_t)&spt_uart_info }, | |
546 | { PCI_VDEVICE(INTEL, 0xa128), (kernel_ulong_t)&spt_uart_info }, | |
9cc3b409 IJ |
547 | { PCI_VDEVICE(INTEL, 0xa129), (kernel_ulong_t)&spt_spi_info }, |
548 | { PCI_VDEVICE(INTEL, 0xa12a), (kernel_ulong_t)&spt_spi_info }, | |
028af594 MW |
549 | { PCI_VDEVICE(INTEL, 0xa160), (kernel_ulong_t)&spt_i2c_info }, |
550 | { PCI_VDEVICE(INTEL, 0xa161), (kernel_ulong_t)&spt_i2c_info }, | |
e4b91470 | 551 | { PCI_VDEVICE(INTEL, 0xa162), (kernel_ulong_t)&spt_i2c_info }, |
4b45efe8 | 552 | { PCI_VDEVICE(INTEL, 0xa166), (kernel_ulong_t)&spt_uart_info }, |
77fc5ff6 | 553 | /* KBL-H */ |
2c8c3416 JN |
554 | { PCI_VDEVICE(INTEL, 0xa2a7), (kernel_ulong_t)&spt_uart_info }, |
555 | { PCI_VDEVICE(INTEL, 0xa2a8), (kernel_ulong_t)&spt_uart_info }, | |
9cc3b409 IJ |
556 | { PCI_VDEVICE(INTEL, 0xa2a9), (kernel_ulong_t)&spt_spi_info }, |
557 | { PCI_VDEVICE(INTEL, 0xa2aa), (kernel_ulong_t)&spt_spi_info }, | |
2c8c3416 JN |
558 | { PCI_VDEVICE(INTEL, 0xa2e0), (kernel_ulong_t)&spt_i2c_info }, |
559 | { PCI_VDEVICE(INTEL, 0xa2e1), (kernel_ulong_t)&spt_i2c_info }, | |
560 | { PCI_VDEVICE(INTEL, 0xa2e2), (kernel_ulong_t)&spt_i2c_info }, | |
561 | { PCI_VDEVICE(INTEL, 0xa2e3), (kernel_ulong_t)&spt_i2c_info }, | |
562 | { PCI_VDEVICE(INTEL, 0xa2e6), (kernel_ulong_t)&spt_uart_info }, | |
b418bbff AS |
563 | /* CNL-H */ |
564 | { PCI_VDEVICE(INTEL, 0xa328), (kernel_ulong_t)&spt_uart_info }, | |
565 | { PCI_VDEVICE(INTEL, 0xa329), (kernel_ulong_t)&spt_uart_info }, | |
9cc3b409 IJ |
566 | { PCI_VDEVICE(INTEL, 0xa32a), (kernel_ulong_t)&cnl_spi_info }, |
567 | { PCI_VDEVICE(INTEL, 0xa32b), (kernel_ulong_t)&cnl_spi_info }, | |
b418bbff | 568 | { PCI_VDEVICE(INTEL, 0xa347), (kernel_ulong_t)&spt_uart_info }, |
4e93a658 JN |
569 | { PCI_VDEVICE(INTEL, 0xa368), (kernel_ulong_t)&cnl_i2c_info }, |
570 | { PCI_VDEVICE(INTEL, 0xa369), (kernel_ulong_t)&cnl_i2c_info }, | |
571 | { PCI_VDEVICE(INTEL, 0xa36a), (kernel_ulong_t)&cnl_i2c_info }, | |
572 | { PCI_VDEVICE(INTEL, 0xa36b), (kernel_ulong_t)&cnl_i2c_info }, | |
9cc3b409 | 573 | { PCI_VDEVICE(INTEL, 0xa37b), (kernel_ulong_t)&cnl_spi_info }, |
4e213b45 AS |
574 | /* CML-V */ |
575 | { PCI_VDEVICE(INTEL, 0xa3a7), (kernel_ulong_t)&spt_uart_info }, | |
576 | { PCI_VDEVICE(INTEL, 0xa3a8), (kernel_ulong_t)&spt_uart_info }, | |
9cc3b409 IJ |
577 | { PCI_VDEVICE(INTEL, 0xa3a9), (kernel_ulong_t)&spt_spi_info }, |
578 | { PCI_VDEVICE(INTEL, 0xa3aa), (kernel_ulong_t)&spt_spi_info }, | |
4e213b45 AS |
579 | { PCI_VDEVICE(INTEL, 0xa3e0), (kernel_ulong_t)&spt_i2c_info }, |
580 | { PCI_VDEVICE(INTEL, 0xa3e1), (kernel_ulong_t)&spt_i2c_info }, | |
581 | { PCI_VDEVICE(INTEL, 0xa3e2), (kernel_ulong_t)&spt_i2c_info }, | |
582 | { PCI_VDEVICE(INTEL, 0xa3e3), (kernel_ulong_t)&spt_i2c_info }, | |
583 | { PCI_VDEVICE(INTEL, 0xa3e6), (kernel_ulong_t)&spt_uart_info }, | |
e53b22b1 JN |
584 | /* LNL-M */ |
585 | { PCI_VDEVICE(INTEL, 0xa825), (kernel_ulong_t)&bxt_uart_info }, | |
586 | { PCI_VDEVICE(INTEL, 0xa826), (kernel_ulong_t)&bxt_uart_info }, | |
9cc3b409 IJ |
587 | { PCI_VDEVICE(INTEL, 0xa827), (kernel_ulong_t)&tgl_spi_info }, |
588 | { PCI_VDEVICE(INTEL, 0xa830), (kernel_ulong_t)&tgl_spi_info }, | |
589 | { PCI_VDEVICE(INTEL, 0xa846), (kernel_ulong_t)&tgl_spi_info }, | |
e53b22b1 JN |
590 | { PCI_VDEVICE(INTEL, 0xa850), (kernel_ulong_t)&ehl_i2c_info }, |
591 | { PCI_VDEVICE(INTEL, 0xa851), (kernel_ulong_t)&ehl_i2c_info }, | |
592 | { PCI_VDEVICE(INTEL, 0xa852), (kernel_ulong_t)&bxt_uart_info }, | |
593 | { PCI_VDEVICE(INTEL, 0xa878), (kernel_ulong_t)&ehl_i2c_info }, | |
594 | { PCI_VDEVICE(INTEL, 0xa879), (kernel_ulong_t)&ehl_i2c_info }, | |
595 | { PCI_VDEVICE(INTEL, 0xa87a), (kernel_ulong_t)&ehl_i2c_info }, | |
596 | { PCI_VDEVICE(INTEL, 0xa87b), (kernel_ulong_t)&ehl_i2c_info }, | |
4b45efe8 AS |
597 | { } |
598 | }; | |
599 | MODULE_DEVICE_TABLE(pci, intel_lpss_pci_ids); | |
600 | ||
601 | static struct pci_driver intel_lpss_pci_driver = { | |
602 | .name = "intel-lpss", | |
603 | .id_table = intel_lpss_pci_ids, | |
604 | .probe = intel_lpss_pci_probe, | |
605 | .remove = intel_lpss_pci_remove, | |
606 | .driver = { | |
fd58bb8c | 607 | .pm = pm_ptr(&intel_lpss_pm_ops), |
4b45efe8 AS |
608 | }, |
609 | }; | |
610 | ||
611 | module_pci_driver(intel_lpss_pci_driver); | |
612 | ||
613 | MODULE_AUTHOR("Andy Shevchenko <andriy.shevchenko@linux.intel.com>"); | |
614 | MODULE_AUTHOR("Mika Westerberg <mika.westerberg@linux.intel.com>"); | |
615 | MODULE_DESCRIPTION("Intel LPSS PCI driver"); | |
616 | MODULE_LICENSE("GPL v2"); | |
24ee97a9 | 617 | MODULE_IMPORT_NS(INTEL_LPSS); |