Tim Wawrzynczak | c5316ec | 2020-05-29 15:20:56 -0600 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | |
| 3 | #include <device/device.h> |
| 4 | #include <device/pci.h> |
| 5 | #include <device/pci_ids.h> |
| 6 | |
| 7 | static const unsigned short pci_device_ids[] = { |
Felix Singer | 43b7f41 | 2022-03-07 04:34:52 +0100 | [diff] [blame^] | 8 | PCI_DID_INTEL_CML_DTT, |
| 9 | PCI_DID_INTEL_TGL_DTT, |
| 10 | PCI_DID_INTEL_JSL_DTT, |
| 11 | PCI_DID_INTEL_ADL_DTT, |
Subrata Banik | 9209817 | 2020-09-07 16:20:53 +0530 | [diff] [blame] | 12 | 0 |
Tim Wawrzynczak | c5316ec | 2020-05-29 15:20:56 -0600 | [diff] [blame] | 13 | }; |
| 14 | |
| 15 | static struct device_operations dptf_dev_ops = { |
| 16 | .read_resources = pci_dev_read_resources, |
| 17 | .set_resources = pci_dev_set_resources, |
| 18 | .enable_resources = pci_dev_enable_resources, |
| 19 | .scan_bus = scan_generic_bus, |
| 20 | .ops_pci = &pci_dev_ops_pci, |
| 21 | }; |
| 22 | |
| 23 | static const struct pci_driver pch_dptf __pci_driver = { |
| 24 | .ops = &dptf_dev_ops, |
Felix Singer | 43b7f41 | 2022-03-07 04:34:52 +0100 | [diff] [blame^] | 25 | .vendor = PCI_VID_INTEL, |
Tim Wawrzynczak | c5316ec | 2020-05-29 15:20:56 -0600 | [diff] [blame] | 26 | .devices = pci_device_ids, |
| 27 | }; |