xref: /openbmc/linux/drivers/mfd/intel-lpss-pci.c (revision ddb1ada416fd3db44642b3bfaee5fe5bb3304721)
1d2912cb1SThomas Gleixner // SPDX-License-Identifier: GPL-2.0-only
24b45efe8SAndy Shevchenko /*
34b45efe8SAndy Shevchenko  * Intel LPSS PCI support.
44b45efe8SAndy Shevchenko  *
54b45efe8SAndy Shevchenko  * Copyright (C) 2015, Intel Corporation
64b45efe8SAndy Shevchenko  *
74b45efe8SAndy Shevchenko  * Authors: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
84b45efe8SAndy Shevchenko  *          Mika Westerberg <mika.westerberg@linux.intel.com>
94b45efe8SAndy Shevchenko  */
104b45efe8SAndy Shevchenko 
114b45efe8SAndy Shevchenko #include <linux/ioport.h>
124b45efe8SAndy Shevchenko #include <linux/kernel.h>
134b45efe8SAndy Shevchenko #include <linux/module.h>
144b45efe8SAndy Shevchenko #include <linux/pci.h>
154b45efe8SAndy Shevchenko #include <linux/pm_runtime.h>
16028af594SMika Westerberg #include <linux/property.h>
174b45efe8SAndy Shevchenko 
184b45efe8SAndy Shevchenko #include "intel-lpss.h"
194b45efe8SAndy Shevchenko 
204b45efe8SAndy Shevchenko static int intel_lpss_pci_probe(struct pci_dev *pdev,
214b45efe8SAndy Shevchenko 				const struct pci_device_id *id)
224b45efe8SAndy Shevchenko {
234b45efe8SAndy Shevchenko 	struct intel_lpss_platform_info *info;
244b45efe8SAndy Shevchenko 	int ret;
254b45efe8SAndy Shevchenko 
264b45efe8SAndy Shevchenko 	ret = pcim_enable_device(pdev);
274b45efe8SAndy Shevchenko 	if (ret)
284b45efe8SAndy Shevchenko 		return ret;
294b45efe8SAndy Shevchenko 
304b45efe8SAndy Shevchenko 	info = devm_kmemdup(&pdev->dev, (void *)id->driver_data, sizeof(*info),
314b45efe8SAndy Shevchenko 			    GFP_KERNEL);
324b45efe8SAndy Shevchenko 	if (!info)
334b45efe8SAndy Shevchenko 		return -ENOMEM;
344b45efe8SAndy Shevchenko 
354b45efe8SAndy Shevchenko 	info->mem = &pdev->resource[0];
364b45efe8SAndy Shevchenko 	info->irq = pdev->irq;
374b45efe8SAndy Shevchenko 
3876380a60SKai-Heng Feng 	pdev->d3cold_delay = 0;
3976380a60SKai-Heng Feng 
404b45efe8SAndy Shevchenko 	/* Probably it is enough to set this for iDMA capable devices only */
414b45efe8SAndy Shevchenko 	pci_set_master(pdev);
4285a9419aSAndy Shevchenko 	pci_try_set_mwi(pdev);
434b45efe8SAndy Shevchenko 
444b45efe8SAndy Shevchenko 	ret = intel_lpss_probe(&pdev->dev, info);
454b45efe8SAndy Shevchenko 	if (ret)
464b45efe8SAndy Shevchenko 		return ret;
474b45efe8SAndy Shevchenko 
484b45efe8SAndy Shevchenko 	pm_runtime_put(&pdev->dev);
494b45efe8SAndy Shevchenko 	pm_runtime_allow(&pdev->dev);
504b45efe8SAndy Shevchenko 
514b45efe8SAndy Shevchenko 	return 0;
524b45efe8SAndy Shevchenko }
534b45efe8SAndy Shevchenko 
544b45efe8SAndy Shevchenko static void intel_lpss_pci_remove(struct pci_dev *pdev)
554b45efe8SAndy Shevchenko {
564b45efe8SAndy Shevchenko 	pm_runtime_forbid(&pdev->dev);
574b45efe8SAndy Shevchenko 	pm_runtime_get_sync(&pdev->dev);
584b45efe8SAndy Shevchenko 
594b45efe8SAndy Shevchenko 	intel_lpss_remove(&pdev->dev);
604b45efe8SAndy Shevchenko }
614b45efe8SAndy Shevchenko 
624b45efe8SAndy Shevchenko static INTEL_LPSS_PM_OPS(intel_lpss_pci_pm_ops);
634b45efe8SAndy Shevchenko 
644b45efe8SAndy Shevchenko static const struct intel_lpss_platform_info spt_info = {
654b45efe8SAndy Shevchenko 	.clk_rate = 120000000,
664b45efe8SAndy Shevchenko };
674b45efe8SAndy Shevchenko 
689677e6f7SAndy Shevchenko static const struct property_entry spt_i2c_properties[] = {
69028af594SMika Westerberg 	PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 230),
70028af594SMika Westerberg 	{ },
71028af594SMika Westerberg };
72028af594SMika Westerberg 
7303152e35SHeikki Krogerus static const struct software_node spt_i2c_node = {
7403152e35SHeikki Krogerus 	.properties = spt_i2c_properties,
7503152e35SHeikki Krogerus };
7603152e35SHeikki Krogerus 
77028af594SMika Westerberg static const struct intel_lpss_platform_info spt_i2c_info = {
78028af594SMika Westerberg 	.clk_rate = 120000000,
7903152e35SHeikki Krogerus 	.swnode = &spt_i2c_node,
80028af594SMika Westerberg };
81028af594SMika Westerberg 
829677e6f7SAndy Shevchenko static const struct property_entry uart_properties[] = {
83ec14c539SAndy Shevchenko 	PROPERTY_ENTRY_U32("reg-io-width", 4),
84ec14c539SAndy Shevchenko 	PROPERTY_ENTRY_U32("reg-shift", 2),
85ec14c539SAndy Shevchenko 	PROPERTY_ENTRY_BOOL("snps,uart-16550-compatible"),
86ec14c539SAndy Shevchenko 	{ },
87ec14c539SAndy Shevchenko };
88ec14c539SAndy Shevchenko 
8903152e35SHeikki Krogerus static const struct software_node uart_node = {
9003152e35SHeikki Krogerus 	.properties = uart_properties,
9103152e35SHeikki Krogerus };
9203152e35SHeikki Krogerus 
934b45efe8SAndy Shevchenko static const struct intel_lpss_platform_info spt_uart_info = {
944b45efe8SAndy Shevchenko 	.clk_rate = 120000000,
954b45efe8SAndy Shevchenko 	.clk_con_id = "baudclk",
9603152e35SHeikki Krogerus 	.swnode = &uart_node,
974b45efe8SAndy Shevchenko };
984b45efe8SAndy Shevchenko 
99ff0a04a6SAndy Shevchenko static const struct intel_lpss_platform_info bxt_info = {
100ff0a04a6SAndy Shevchenko 	.clk_rate = 100000000,
101ff0a04a6SAndy Shevchenko };
102ff0a04a6SAndy Shevchenko 
103ff0a04a6SAndy Shevchenko static const struct intel_lpss_platform_info bxt_uart_info = {
104ff0a04a6SAndy Shevchenko 	.clk_rate = 100000000,
105ff0a04a6SAndy Shevchenko 	.clk_con_id = "baudclk",
10603152e35SHeikki Krogerus 	.swnode = &uart_node,
107ff0a04a6SAndy Shevchenko };
108ff0a04a6SAndy Shevchenko 
1099677e6f7SAndy Shevchenko static const struct property_entry bxt_i2c_properties[] = {
1100343b2f4SMika Westerberg 	PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 42),
1110343b2f4SMika Westerberg 	PROPERTY_ENTRY_U32("i2c-sda-falling-time-ns", 171),
1120343b2f4SMika Westerberg 	PROPERTY_ENTRY_U32("i2c-scl-falling-time-ns", 208),
1130343b2f4SMika Westerberg 	{ },
1140343b2f4SMika Westerberg };
1150343b2f4SMika Westerberg 
11603152e35SHeikki Krogerus static const struct software_node bxt_i2c_node = {
11703152e35SHeikki Krogerus 	.properties = bxt_i2c_properties,
11803152e35SHeikki Krogerus };
11903152e35SHeikki Krogerus 
120ff0a04a6SAndy Shevchenko static const struct intel_lpss_platform_info bxt_i2c_info = {
121ff0a04a6SAndy Shevchenko 	.clk_rate = 133000000,
12203152e35SHeikki Krogerus 	.swnode = &bxt_i2c_node,
123ff0a04a6SAndy Shevchenko };
124ff0a04a6SAndy Shevchenko 
1259677e6f7SAndy Shevchenko static const struct property_entry apl_i2c_properties[] = {
126c50cdd62SJarkko Nikula 	PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 207),
127c50cdd62SJarkko Nikula 	PROPERTY_ENTRY_U32("i2c-sda-falling-time-ns", 171),
128c50cdd62SJarkko Nikula 	PROPERTY_ENTRY_U32("i2c-scl-falling-time-ns", 208),
129c50cdd62SJarkko Nikula 	{ },
130c50cdd62SJarkko Nikula };
131c50cdd62SJarkko Nikula 
13203152e35SHeikki Krogerus static const struct software_node apl_i2c_node = {
13303152e35SHeikki Krogerus 	.properties = apl_i2c_properties,
13403152e35SHeikki Krogerus };
13503152e35SHeikki Krogerus 
136c50cdd62SJarkko Nikula static const struct intel_lpss_platform_info apl_i2c_info = {
137c50cdd62SJarkko Nikula 	.clk_rate = 133000000,
13803152e35SHeikki Krogerus 	.swnode = &apl_i2c_node,
139c50cdd62SJarkko Nikula };
140c50cdd62SJarkko Nikula 
1419677e6f7SAndy Shevchenko static const struct property_entry glk_i2c_properties[] = {
1423f31bc67SJarkko Nikula 	PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 313),
1433f31bc67SJarkko Nikula 	PROPERTY_ENTRY_U32("i2c-sda-falling-time-ns", 171),
1443f31bc67SJarkko Nikula 	PROPERTY_ENTRY_U32("i2c-scl-falling-time-ns", 290),
1453f31bc67SJarkko Nikula 	{ },
1463f31bc67SJarkko Nikula };
1473f31bc67SJarkko Nikula 
14803152e35SHeikki Krogerus static const struct software_node glk_i2c_node = {
14903152e35SHeikki Krogerus 	.properties = glk_i2c_properties,
15003152e35SHeikki Krogerus };
15103152e35SHeikki Krogerus 
1523f31bc67SJarkko Nikula static const struct intel_lpss_platform_info glk_i2c_info = {
1533f31bc67SJarkko Nikula 	.clk_rate = 133000000,
15403152e35SHeikki Krogerus 	.swnode = &glk_i2c_node,
1553f31bc67SJarkko Nikula };
1563f31bc67SJarkko Nikula 
1574e93a658SJarkko Nikula static const struct intel_lpss_platform_info cnl_i2c_info = {
1584e93a658SJarkko Nikula 	.clk_rate = 216000000,
15903152e35SHeikki Krogerus 	.swnode = &spt_i2c_node,
1604e93a658SJarkko Nikula };
1614e93a658SJarkko Nikula 
162d2923aa4SJarkko Nikula static const struct intel_lpss_platform_info ehl_i2c_info = {
163d2923aa4SJarkko Nikula 	.clk_rate = 100000000,
16403152e35SHeikki Krogerus 	.swnode = &bxt_i2c_node,
165d2923aa4SJarkko Nikula };
166d2923aa4SJarkko Nikula 
1674b45efe8SAndy Shevchenko static const struct pci_device_id intel_lpss_pci_ids[] = {
168dd047dceSAndy Shevchenko 	/* CML-LP */
169dd662907SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x02a8), (kernel_ulong_t)&spt_uart_info },
170dd662907SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x02a9), (kernel_ulong_t)&spt_uart_info },
171dd662907SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x02aa), (kernel_ulong_t)&spt_info },
172dd662907SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x02ab), (kernel_ulong_t)&spt_info },
173dd662907SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x02c5), (kernel_ulong_t)&cnl_i2c_info },
174dd662907SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x02c6), (kernel_ulong_t)&cnl_i2c_info },
175dd662907SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x02c7), (kernel_ulong_t)&spt_uart_info },
176dd662907SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x02e8), (kernel_ulong_t)&cnl_i2c_info },
177dd662907SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x02e9), (kernel_ulong_t)&cnl_i2c_info },
178dd662907SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x02ea), (kernel_ulong_t)&cnl_i2c_info },
179dd662907SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x02eb), (kernel_ulong_t)&cnl_i2c_info },
180dd662907SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x02fb), (kernel_ulong_t)&spt_info },
181dd047dceSAndy Shevchenko 	/* CML-H */
182dd047dceSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x06a8), (kernel_ulong_t)&spt_uart_info },
183dd047dceSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x06a9), (kernel_ulong_t)&spt_uart_info },
184dd047dceSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x06aa), (kernel_ulong_t)&spt_info },
185dd047dceSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x06ab), (kernel_ulong_t)&spt_info },
186dd047dceSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x06c7), (kernel_ulong_t)&spt_uart_info },
187dd047dceSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x06e8), (kernel_ulong_t)&cnl_i2c_info },
188dd047dceSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x06e9), (kernel_ulong_t)&cnl_i2c_info },
189dd047dceSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x06ea), (kernel_ulong_t)&cnl_i2c_info },
190dd047dceSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x06eb), (kernel_ulong_t)&cnl_i2c_info },
191dd047dceSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x06fb), (kernel_ulong_t)&spt_info },
192023269ccSHuiquan Zhong 	/* BXT A-Step */
193ff0a04a6SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x0aac), (kernel_ulong_t)&bxt_i2c_info },
194ff0a04a6SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x0aae), (kernel_ulong_t)&bxt_i2c_info },
195ff0a04a6SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x0ab0), (kernel_ulong_t)&bxt_i2c_info },
196ff0a04a6SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x0ab2), (kernel_ulong_t)&bxt_i2c_info },
197ff0a04a6SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x0ab4), (kernel_ulong_t)&bxt_i2c_info },
198ff0a04a6SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x0ab6), (kernel_ulong_t)&bxt_i2c_info },
199ff0a04a6SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x0ab8), (kernel_ulong_t)&bxt_i2c_info },
200ff0a04a6SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x0aba), (kernel_ulong_t)&bxt_i2c_info },
201ff0a04a6SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x0abc), (kernel_ulong_t)&bxt_uart_info },
202ff0a04a6SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x0abe), (kernel_ulong_t)&bxt_uart_info },
203ff0a04a6SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x0ac0), (kernel_ulong_t)&bxt_uart_info },
204ff0a04a6SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x0ac2), (kernel_ulong_t)&bxt_info },
205ff0a04a6SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x0ac4), (kernel_ulong_t)&bxt_info },
206ff0a04a6SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x0ac6), (kernel_ulong_t)&bxt_info },
207ff0a04a6SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x0aee), (kernel_ulong_t)&bxt_uart_info },
208023269ccSHuiquan Zhong 	/* BXT B-Step */
209023269ccSHuiquan Zhong 	{ PCI_VDEVICE(INTEL, 0x1aac), (kernel_ulong_t)&bxt_i2c_info },
210023269ccSHuiquan Zhong 	{ PCI_VDEVICE(INTEL, 0x1aae), (kernel_ulong_t)&bxt_i2c_info },
211023269ccSHuiquan Zhong 	{ PCI_VDEVICE(INTEL, 0x1ab0), (kernel_ulong_t)&bxt_i2c_info },
212023269ccSHuiquan Zhong 	{ PCI_VDEVICE(INTEL, 0x1ab2), (kernel_ulong_t)&bxt_i2c_info },
213023269ccSHuiquan Zhong 	{ PCI_VDEVICE(INTEL, 0x1ab4), (kernel_ulong_t)&bxt_i2c_info },
214023269ccSHuiquan Zhong 	{ PCI_VDEVICE(INTEL, 0x1ab6), (kernel_ulong_t)&bxt_i2c_info },
215023269ccSHuiquan Zhong 	{ PCI_VDEVICE(INTEL, 0x1ab8), (kernel_ulong_t)&bxt_i2c_info },
216023269ccSHuiquan Zhong 	{ PCI_VDEVICE(INTEL, 0x1aba), (kernel_ulong_t)&bxt_i2c_info },
217023269ccSHuiquan Zhong 	{ PCI_VDEVICE(INTEL, 0x1abc), (kernel_ulong_t)&bxt_uart_info },
218023269ccSHuiquan Zhong 	{ PCI_VDEVICE(INTEL, 0x1abe), (kernel_ulong_t)&bxt_uart_info },
219023269ccSHuiquan Zhong 	{ PCI_VDEVICE(INTEL, 0x1ac0), (kernel_ulong_t)&bxt_uart_info },
220023269ccSHuiquan Zhong 	{ PCI_VDEVICE(INTEL, 0x1ac2), (kernel_ulong_t)&bxt_info },
221023269ccSHuiquan Zhong 	{ PCI_VDEVICE(INTEL, 0x1ac4), (kernel_ulong_t)&bxt_info },
222023269ccSHuiquan Zhong 	{ PCI_VDEVICE(INTEL, 0x1ac6), (kernel_ulong_t)&bxt_info },
223023269ccSHuiquan Zhong 	{ PCI_VDEVICE(INTEL, 0x1aee), (kernel_ulong_t)&bxt_uart_info },
2243ea2e4eaSAndy Shevchenko 	/* EBG */
2253ea2e4eaSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x1bad), (kernel_ulong_t)&bxt_uart_info },
2263ea2e4eaSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x1bae), (kernel_ulong_t)&bxt_uart_info },
227f80e78aaSAndy Shevchenko 	/* GLK */
2283f31bc67SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x31ac), (kernel_ulong_t)&glk_i2c_info },
2293f31bc67SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x31ae), (kernel_ulong_t)&glk_i2c_info },
2303f31bc67SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x31b0), (kernel_ulong_t)&glk_i2c_info },
2313f31bc67SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x31b2), (kernel_ulong_t)&glk_i2c_info },
2323f31bc67SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x31b4), (kernel_ulong_t)&glk_i2c_info },
2333f31bc67SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x31b6), (kernel_ulong_t)&glk_i2c_info },
2343f31bc67SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x31b8), (kernel_ulong_t)&glk_i2c_info },
2353f31bc67SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x31ba), (kernel_ulong_t)&glk_i2c_info },
236f80e78aaSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x31bc), (kernel_ulong_t)&bxt_uart_info },
237f80e78aaSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x31be), (kernel_ulong_t)&bxt_uart_info },
238f80e78aaSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x31c0), (kernel_ulong_t)&bxt_uart_info },
239f80e78aaSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x31c2), (kernel_ulong_t)&bxt_info },
240f80e78aaSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x31c4), (kernel_ulong_t)&bxt_info },
241f80e78aaSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x31c6), (kernel_ulong_t)&bxt_info },
242f88314c1SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x31ee), (kernel_ulong_t)&bxt_uart_info },
243a13c93b3SMika Westerberg 	/* ICL-LP */
244a13c93b3SMika Westerberg 	{ PCI_VDEVICE(INTEL, 0x34a8), (kernel_ulong_t)&spt_uart_info },
245a13c93b3SMika Westerberg 	{ PCI_VDEVICE(INTEL, 0x34a9), (kernel_ulong_t)&spt_uart_info },
246a13c93b3SMika Westerberg 	{ PCI_VDEVICE(INTEL, 0x34aa), (kernel_ulong_t)&spt_info },
247a13c93b3SMika Westerberg 	{ PCI_VDEVICE(INTEL, 0x34ab), (kernel_ulong_t)&spt_info },
248a13c93b3SMika Westerberg 	{ PCI_VDEVICE(INTEL, 0x34c5), (kernel_ulong_t)&bxt_i2c_info },
249a13c93b3SMika Westerberg 	{ PCI_VDEVICE(INTEL, 0x34c6), (kernel_ulong_t)&bxt_i2c_info },
250a13c93b3SMika Westerberg 	{ PCI_VDEVICE(INTEL, 0x34c7), (kernel_ulong_t)&spt_uart_info },
251a13c93b3SMika Westerberg 	{ PCI_VDEVICE(INTEL, 0x34e8), (kernel_ulong_t)&bxt_i2c_info },
252a13c93b3SMika Westerberg 	{ PCI_VDEVICE(INTEL, 0x34e9), (kernel_ulong_t)&bxt_i2c_info },
253a13c93b3SMika Westerberg 	{ PCI_VDEVICE(INTEL, 0x34ea), (kernel_ulong_t)&bxt_i2c_info },
254a13c93b3SMika Westerberg 	{ PCI_VDEVICE(INTEL, 0x34eb), (kernel_ulong_t)&bxt_i2c_info },
255a13c93b3SMika Westerberg 	{ PCI_VDEVICE(INTEL, 0x34fb), (kernel_ulong_t)&spt_info },
256*ddb1ada4SOrlando Chamberlain 	/* ICL-N */
257*ddb1ada4SOrlando Chamberlain 	{ PCI_VDEVICE(INTEL, 0x38a8), (kernel_ulong_t)&bxt_uart_info },
258bb7fcad4SAndy Shevchenko 	/* TGL-H */
259bb7fcad4SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x43a7), (kernel_ulong_t)&bxt_uart_info },
260bb7fcad4SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x43a8), (kernel_ulong_t)&bxt_uart_info },
261bb7fcad4SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x43a9), (kernel_ulong_t)&bxt_uart_info },
262bb7fcad4SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x43aa), (kernel_ulong_t)&bxt_info },
263bb7fcad4SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x43ab), (kernel_ulong_t)&bxt_info },
264bb7fcad4SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x43ad), (kernel_ulong_t)&bxt_i2c_info },
265bb7fcad4SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x43ae), (kernel_ulong_t)&bxt_i2c_info },
266bb7fcad4SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x43d8), (kernel_ulong_t)&bxt_i2c_info },
267bb7fcad4SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x43da), (kernel_ulong_t)&bxt_uart_info },
268bb7fcad4SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x43e8), (kernel_ulong_t)&bxt_i2c_info },
269bb7fcad4SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x43e9), (kernel_ulong_t)&bxt_i2c_info },
270bb7fcad4SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x43ea), (kernel_ulong_t)&bxt_i2c_info },
271bb7fcad4SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x43eb), (kernel_ulong_t)&bxt_i2c_info },
272bb7fcad4SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x43fb), (kernel_ulong_t)&bxt_info },
273bb7fcad4SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x43fd), (kernel_ulong_t)&bxt_info },
27401e4eceeSAndy Shevchenko 	/* EHL */
27501e4eceeSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x4b28), (kernel_ulong_t)&bxt_uart_info },
27601e4eceeSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x4b29), (kernel_ulong_t)&bxt_uart_info },
27701e4eceeSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x4b2a), (kernel_ulong_t)&bxt_info },
27801e4eceeSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x4b2b), (kernel_ulong_t)&bxt_info },
27901e4eceeSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x4b37), (kernel_ulong_t)&bxt_info },
280d2923aa4SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x4b44), (kernel_ulong_t)&ehl_i2c_info },
281d2923aa4SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x4b45), (kernel_ulong_t)&ehl_i2c_info },
282d2923aa4SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x4b4b), (kernel_ulong_t)&ehl_i2c_info },
283d2923aa4SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x4b4c), (kernel_ulong_t)&ehl_i2c_info },
28401e4eceeSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x4b4d), (kernel_ulong_t)&bxt_uart_info },
285d2923aa4SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x4b78), (kernel_ulong_t)&ehl_i2c_info },
286d2923aa4SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x4b79), (kernel_ulong_t)&ehl_i2c_info },
287d2923aa4SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x4b7a), (kernel_ulong_t)&ehl_i2c_info },
288d2923aa4SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x4b7b), (kernel_ulong_t)&ehl_i2c_info },
28957b89dd2SAndy Shevchenko 	/* JSL */
29057b89dd2SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x4da8), (kernel_ulong_t)&spt_uart_info },
29157b89dd2SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x4da9), (kernel_ulong_t)&spt_uart_info },
29257b89dd2SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x4daa), (kernel_ulong_t)&spt_info },
29357b89dd2SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x4dab), (kernel_ulong_t)&spt_info },
29457b89dd2SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x4dc5), (kernel_ulong_t)&bxt_i2c_info },
29557b89dd2SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x4dc6), (kernel_ulong_t)&bxt_i2c_info },
2969a875245SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x4dc7), (kernel_ulong_t)&spt_uart_info },
29757b89dd2SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x4de8), (kernel_ulong_t)&bxt_i2c_info },
29857b89dd2SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x4de9), (kernel_ulong_t)&bxt_i2c_info },
29957b89dd2SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x4dea), (kernel_ulong_t)&bxt_i2c_info },
30057b89dd2SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x4deb), (kernel_ulong_t)&bxt_i2c_info },
30157b89dd2SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x4dfb), (kernel_ulong_t)&spt_info },
302f7b67321SAndy Shevchenko 	/* ADL-P */
303f7b67321SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x51a8), (kernel_ulong_t)&bxt_uart_info },
304f7b67321SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x51a9), (kernel_ulong_t)&bxt_uart_info },
305f7b67321SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x51aa), (kernel_ulong_t)&bxt_info },
306f7b67321SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x51ab), (kernel_ulong_t)&bxt_info },
307f7b67321SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x51c5), (kernel_ulong_t)&bxt_i2c_info },
308f7b67321SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x51c6), (kernel_ulong_t)&bxt_i2c_info },
309f7b67321SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x51c7), (kernel_ulong_t)&bxt_uart_info },
310f7b67321SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x51e8), (kernel_ulong_t)&bxt_i2c_info },
311f7b67321SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x51e9), (kernel_ulong_t)&bxt_i2c_info },
312f7b67321SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x51ea), (kernel_ulong_t)&bxt_i2c_info },
313f7b67321SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x51eb), (kernel_ulong_t)&bxt_i2c_info },
314f7b67321SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x51fb), (kernel_ulong_t)&bxt_info },
3159fb3cad0SAndy Shevchenko 	/* ADL-M */
3169fb3cad0SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x54a8), (kernel_ulong_t)&bxt_uart_info },
3179fb3cad0SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x54a9), (kernel_ulong_t)&bxt_uart_info },
3189fb3cad0SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x54aa), (kernel_ulong_t)&bxt_info },
3199fb3cad0SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x54ab), (kernel_ulong_t)&bxt_info },
3209fb3cad0SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x54c5), (kernel_ulong_t)&bxt_i2c_info },
3219fb3cad0SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x54c6), (kernel_ulong_t)&bxt_i2c_info },
3229fb3cad0SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x54c7), (kernel_ulong_t)&bxt_uart_info },
3239fb3cad0SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x54e8), (kernel_ulong_t)&bxt_i2c_info },
3249fb3cad0SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x54e9), (kernel_ulong_t)&bxt_i2c_info },
3259fb3cad0SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x54ea), (kernel_ulong_t)&bxt_i2c_info },
3269fb3cad0SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x54eb), (kernel_ulong_t)&bxt_i2c_info },
3279fb3cad0SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x54fb), (kernel_ulong_t)&bxt_info },
328ff0a04a6SAndy Shevchenko 	/* APL */
329c50cdd62SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x5aac), (kernel_ulong_t)&apl_i2c_info },
330c50cdd62SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x5aae), (kernel_ulong_t)&apl_i2c_info },
331c50cdd62SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x5ab0), (kernel_ulong_t)&apl_i2c_info },
332c50cdd62SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x5ab2), (kernel_ulong_t)&apl_i2c_info },
333c50cdd62SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x5ab4), (kernel_ulong_t)&apl_i2c_info },
334c50cdd62SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x5ab6), (kernel_ulong_t)&apl_i2c_info },
335c50cdd62SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x5ab8), (kernel_ulong_t)&apl_i2c_info },
336c50cdd62SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x5aba), (kernel_ulong_t)&apl_i2c_info },
337ff0a04a6SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x5abc), (kernel_ulong_t)&bxt_uart_info },
338ff0a04a6SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x5abe), (kernel_ulong_t)&bxt_uart_info },
339ff0a04a6SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x5ac0), (kernel_ulong_t)&bxt_uart_info },
340ff0a04a6SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x5ac2), (kernel_ulong_t)&bxt_info },
341ff0a04a6SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x5ac4), (kernel_ulong_t)&bxt_info },
342ff0a04a6SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x5ac6), (kernel_ulong_t)&bxt_info },
343ff0a04a6SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x5aee), (kernel_ulong_t)&bxt_uart_info },
344c7b79a75SJarkko Nikula 	/* ADL-S */
345c7b79a75SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x7aa8), (kernel_ulong_t)&bxt_uart_info },
346c7b79a75SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x7aa9), (kernel_ulong_t)&bxt_uart_info },
347c7b79a75SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x7aaa), (kernel_ulong_t)&bxt_info },
348c7b79a75SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x7aab), (kernel_ulong_t)&bxt_info },
349c7b79a75SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x7acc), (kernel_ulong_t)&bxt_i2c_info },
350c7b79a75SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x7acd), (kernel_ulong_t)&bxt_i2c_info },
351c7b79a75SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x7ace), (kernel_ulong_t)&bxt_i2c_info },
352c7b79a75SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x7acf), (kernel_ulong_t)&bxt_i2c_info },
353c7b79a75SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x7adc), (kernel_ulong_t)&bxt_uart_info },
354c7b79a75SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x7af9), (kernel_ulong_t)&bxt_info },
355c7b79a75SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x7afb), (kernel_ulong_t)&bxt_info },
356c7b79a75SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x7afc), (kernel_ulong_t)&bxt_i2c_info },
357c7b79a75SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x7afd), (kernel_ulong_t)&bxt_i2c_info },
358c7b79a75SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x7afe), (kernel_ulong_t)&bxt_uart_info },
3595f039fa7SAndy Shevchenko 	/* LKF */
3605f039fa7SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x98a8), (kernel_ulong_t)&bxt_uart_info },
3615f039fa7SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x98a9), (kernel_ulong_t)&bxt_uart_info },
3625f039fa7SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x98c7), (kernel_ulong_t)&bxt_uart_info },
3634b45efe8SAndy Shevchenko 	/* SPT-LP */
3644b45efe8SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x9d27), (kernel_ulong_t)&spt_uart_info },
3654b45efe8SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x9d28), (kernel_ulong_t)&spt_uart_info },
3664b45efe8SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x9d29), (kernel_ulong_t)&spt_info },
3674b45efe8SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x9d2a), (kernel_ulong_t)&spt_info },
368028af594SMika Westerberg 	{ PCI_VDEVICE(INTEL, 0x9d60), (kernel_ulong_t)&spt_i2c_info },
369028af594SMika Westerberg 	{ PCI_VDEVICE(INTEL, 0x9d61), (kernel_ulong_t)&spt_i2c_info },
370028af594SMika Westerberg 	{ PCI_VDEVICE(INTEL, 0x9d62), (kernel_ulong_t)&spt_i2c_info },
371028af594SMika Westerberg 	{ PCI_VDEVICE(INTEL, 0x9d63), (kernel_ulong_t)&spt_i2c_info },
372028af594SMika Westerberg 	{ PCI_VDEVICE(INTEL, 0x9d64), (kernel_ulong_t)&spt_i2c_info },
373028af594SMika Westerberg 	{ PCI_VDEVICE(INTEL, 0x9d65), (kernel_ulong_t)&spt_i2c_info },
3744b45efe8SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x9d66), (kernel_ulong_t)&spt_uart_info },
375b418bbffSAndy Shevchenko 	/* CNL-LP */
376b418bbffSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x9da8), (kernel_ulong_t)&spt_uart_info },
377b418bbffSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x9da9), (kernel_ulong_t)&spt_uart_info },
378b418bbffSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x9daa), (kernel_ulong_t)&spt_info },
379b418bbffSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x9dab), (kernel_ulong_t)&spt_info },
3804e93a658SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x9dc5), (kernel_ulong_t)&cnl_i2c_info },
3814e93a658SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x9dc6), (kernel_ulong_t)&cnl_i2c_info },
382b418bbffSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x9dc7), (kernel_ulong_t)&spt_uart_info },
3834e93a658SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x9de8), (kernel_ulong_t)&cnl_i2c_info },
3844e93a658SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x9de9), (kernel_ulong_t)&cnl_i2c_info },
3854e93a658SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x9dea), (kernel_ulong_t)&cnl_i2c_info },
3864e93a658SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0x9deb), (kernel_ulong_t)&cnl_i2c_info },
387f88314c1SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0x9dfb), (kernel_ulong_t)&spt_info },
388ec65b560SAndy Shevchenko 	/* TGL-LP */
389ec65b560SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa0a8), (kernel_ulong_t)&bxt_uart_info },
390ec65b560SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa0a9), (kernel_ulong_t)&bxt_uart_info },
391ec65b560SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa0aa), (kernel_ulong_t)&spt_info },
392ec65b560SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa0ab), (kernel_ulong_t)&spt_info },
393ec65b560SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa0c5), (kernel_ulong_t)&spt_i2c_info },
394ec65b560SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa0c6), (kernel_ulong_t)&spt_i2c_info },
395ec65b560SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa0c7), (kernel_ulong_t)&bxt_uart_info },
396ec65b560SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa0d8), (kernel_ulong_t)&spt_i2c_info },
397ec65b560SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa0d9), (kernel_ulong_t)&spt_i2c_info },
398ec65b560SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa0da), (kernel_ulong_t)&bxt_uart_info },
399ec65b560SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa0db), (kernel_ulong_t)&bxt_uart_info },
400ec65b560SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa0dc), (kernel_ulong_t)&bxt_uart_info },
401ec65b560SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa0dd), (kernel_ulong_t)&bxt_uart_info },
402ec65b560SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa0de), (kernel_ulong_t)&spt_info },
403ec65b560SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa0df), (kernel_ulong_t)&spt_info },
404ec65b560SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa0e8), (kernel_ulong_t)&spt_i2c_info },
405ec65b560SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa0e9), (kernel_ulong_t)&spt_i2c_info },
406ec65b560SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa0ea), (kernel_ulong_t)&spt_i2c_info },
407ec65b560SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa0eb), (kernel_ulong_t)&spt_i2c_info },
408ec65b560SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa0fb), (kernel_ulong_t)&spt_info },
409ec65b560SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa0fd), (kernel_ulong_t)&spt_info },
410ec65b560SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa0fe), (kernel_ulong_t)&spt_info },
4114b45efe8SAndy Shevchenko 	/* SPT-H */
4124b45efe8SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa127), (kernel_ulong_t)&spt_uart_info },
4134b45efe8SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa128), (kernel_ulong_t)&spt_uart_info },
4144b45efe8SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa129), (kernel_ulong_t)&spt_info },
4154b45efe8SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa12a), (kernel_ulong_t)&spt_info },
416028af594SMika Westerberg 	{ PCI_VDEVICE(INTEL, 0xa160), (kernel_ulong_t)&spt_i2c_info },
417028af594SMika Westerberg 	{ PCI_VDEVICE(INTEL, 0xa161), (kernel_ulong_t)&spt_i2c_info },
418e4b91470SFlorian R. Hölzlwimmer 	{ PCI_VDEVICE(INTEL, 0xa162), (kernel_ulong_t)&spt_i2c_info },
4194b45efe8SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa166), (kernel_ulong_t)&spt_uart_info },
42077fc5ff6SMika Westerberg 	/* KBL-H */
4212c8c3416SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0xa2a7), (kernel_ulong_t)&spt_uart_info },
4222c8c3416SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0xa2a8), (kernel_ulong_t)&spt_uart_info },
4232c8c3416SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0xa2a9), (kernel_ulong_t)&spt_info },
4242c8c3416SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0xa2aa), (kernel_ulong_t)&spt_info },
4252c8c3416SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0xa2e0), (kernel_ulong_t)&spt_i2c_info },
4262c8c3416SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0xa2e1), (kernel_ulong_t)&spt_i2c_info },
4272c8c3416SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0xa2e2), (kernel_ulong_t)&spt_i2c_info },
4282c8c3416SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0xa2e3), (kernel_ulong_t)&spt_i2c_info },
4292c8c3416SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0xa2e6), (kernel_ulong_t)&spt_uart_info },
430b418bbffSAndy Shevchenko 	/* CNL-H */
431b418bbffSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa328), (kernel_ulong_t)&spt_uart_info },
432b418bbffSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa329), (kernel_ulong_t)&spt_uart_info },
433b418bbffSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa32a), (kernel_ulong_t)&spt_info },
434b418bbffSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa32b), (kernel_ulong_t)&spt_info },
435b418bbffSAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa347), (kernel_ulong_t)&spt_uart_info },
4364e93a658SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0xa368), (kernel_ulong_t)&cnl_i2c_info },
4374e93a658SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0xa369), (kernel_ulong_t)&cnl_i2c_info },
4384e93a658SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0xa36a), (kernel_ulong_t)&cnl_i2c_info },
4394e93a658SJarkko Nikula 	{ PCI_VDEVICE(INTEL, 0xa36b), (kernel_ulong_t)&cnl_i2c_info },
440f88314c1SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa37b), (kernel_ulong_t)&spt_info },
4414e213b45SAndy Shevchenko 	/* CML-V */
4424e213b45SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa3a7), (kernel_ulong_t)&spt_uart_info },
4434e213b45SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa3a8), (kernel_ulong_t)&spt_uart_info },
4444e213b45SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa3a9), (kernel_ulong_t)&spt_info },
4454e213b45SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa3aa), (kernel_ulong_t)&spt_info },
4464e213b45SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa3e0), (kernel_ulong_t)&spt_i2c_info },
4474e213b45SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa3e1), (kernel_ulong_t)&spt_i2c_info },
4484e213b45SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa3e2), (kernel_ulong_t)&spt_i2c_info },
4494e213b45SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa3e3), (kernel_ulong_t)&spt_i2c_info },
4504e213b45SAndy Shevchenko 	{ PCI_VDEVICE(INTEL, 0xa3e6), (kernel_ulong_t)&spt_uart_info },
4514b45efe8SAndy Shevchenko 	{ }
4524b45efe8SAndy Shevchenko };
4534b45efe8SAndy Shevchenko MODULE_DEVICE_TABLE(pci, intel_lpss_pci_ids);
4544b45efe8SAndy Shevchenko 
4554b45efe8SAndy Shevchenko static struct pci_driver intel_lpss_pci_driver = {
4564b45efe8SAndy Shevchenko 	.name = "intel-lpss",
4574b45efe8SAndy Shevchenko 	.id_table = intel_lpss_pci_ids,
4584b45efe8SAndy Shevchenko 	.probe = intel_lpss_pci_probe,
4594b45efe8SAndy Shevchenko 	.remove = intel_lpss_pci_remove,
4604b45efe8SAndy Shevchenko 	.driver = {
4614b45efe8SAndy Shevchenko 		.pm = &intel_lpss_pci_pm_ops,
4624b45efe8SAndy Shevchenko 	},
4634b45efe8SAndy Shevchenko };
4644b45efe8SAndy Shevchenko 
4654b45efe8SAndy Shevchenko module_pci_driver(intel_lpss_pci_driver);
4664b45efe8SAndy Shevchenko 
4674b45efe8SAndy Shevchenko MODULE_AUTHOR("Andy Shevchenko <andriy.shevchenko@linux.intel.com>");
4684b45efe8SAndy Shevchenko MODULE_AUTHOR("Mika Westerberg <mika.westerberg@linux.intel.com>");
4694b45efe8SAndy Shevchenko MODULE_DESCRIPTION("Intel LPSS PCI driver");
4704b45efe8SAndy Shevchenko MODULE_LICENSE("GPL v2");
471