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