dwc3-pci.c (65b7f6d740a6696974056251c98da0e99f956be8) | dwc3-pci.c (b4c580a43d520b7812c0fd064fbab929ce2f1da0) |
---|---|
1/** 2 * dwc3-pci.c - PCI Specific glue layer 3 * 4 * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com 5 * 6 * Authors: Felipe Balbi <balbi@ti.com>, 7 * Sebastian Andrzej Siewior <bigeasy@linutronix.de> 8 * --- 20 unchanged lines hidden (view full) --- 29#define PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3 0xabcd 30#define PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3_AXI 0xabce 31#define PCI_DEVICE_ID_SYNOPSYS_HAPSUSB31 0xabcf 32#define PCI_DEVICE_ID_INTEL_BYT 0x0f37 33#define PCI_DEVICE_ID_INTEL_MRFLD 0x119e 34#define PCI_DEVICE_ID_INTEL_BSW 0x22b7 35#define PCI_DEVICE_ID_INTEL_SPTLP 0x9d30 36#define PCI_DEVICE_ID_INTEL_SPTH 0xa130 | 1/** 2 * dwc3-pci.c - PCI Specific glue layer 3 * 4 * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com 5 * 6 * Authors: Felipe Balbi <balbi@ti.com>, 7 * Sebastian Andrzej Siewior <bigeasy@linutronix.de> 8 * --- 20 unchanged lines hidden (view full) --- 29#define PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3 0xabcd 30#define PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3_AXI 0xabce 31#define PCI_DEVICE_ID_SYNOPSYS_HAPSUSB31 0xabcf 32#define PCI_DEVICE_ID_INTEL_BYT 0x0f37 33#define PCI_DEVICE_ID_INTEL_MRFLD 0x119e 34#define PCI_DEVICE_ID_INTEL_BSW 0x22b7 35#define PCI_DEVICE_ID_INTEL_SPTLP 0x9d30 36#define PCI_DEVICE_ID_INTEL_SPTH 0xa130 |
37#define PCI_DEVICE_ID_INTEL_BXT 0x0aaa 38#define PCI_DEVICE_ID_INTEL_APL 0x5aaa |
|
37 38static const struct acpi_gpio_params reset_gpios = { 0, 0, false }; 39static const struct acpi_gpio_params cs_gpios = { 1, 0, false }; 40 41static const struct acpi_gpio_mapping acpi_dwc3_byt_gpios[] = { 42 { "reset-gpios", &reset_gpios, 1 }, 43 { "cs-gpios", &cs_gpios, 1 }, 44 { }, --- 160 unchanged lines hidden (view full) --- 205 PCI_DEVICE(PCI_VENDOR_ID_SYNOPSYS, 206 PCI_DEVICE_ID_SYNOPSYS_HAPSUSB31), 207 }, 208 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_BSW), }, 209 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_BYT), }, 210 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_MRFLD), }, 211 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_SPTLP), }, 212 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_SPTH), }, | 39 40static const struct acpi_gpio_params reset_gpios = { 0, 0, false }; 41static const struct acpi_gpio_params cs_gpios = { 1, 0, false }; 42 43static const struct acpi_gpio_mapping acpi_dwc3_byt_gpios[] = { 44 { "reset-gpios", &reset_gpios, 1 }, 45 { "cs-gpios", &cs_gpios, 1 }, 46 { }, --- 160 unchanged lines hidden (view full) --- 207 PCI_DEVICE(PCI_VENDOR_ID_SYNOPSYS, 208 PCI_DEVICE_ID_SYNOPSYS_HAPSUSB31), 209 }, 210 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_BSW), }, 211 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_BYT), }, 212 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_MRFLD), }, 213 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_SPTLP), }, 214 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_SPTH), }, |
215 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_BXT), }, 216 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_APL), }, |
|
213 { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_NL_USB), }, 214 { } /* Terminating Entry */ 215}; 216MODULE_DEVICE_TABLE(pci, dwc3_pci_id_table); 217 218static struct pci_driver dwc3_pci_driver = { 219 .name = "dwc3-pci", 220 .id_table = dwc3_pci_id_table, 221 .probe = dwc3_pci_probe, 222 .remove = dwc3_pci_remove, 223}; 224 225MODULE_AUTHOR("Felipe Balbi <balbi@ti.com>"); 226MODULE_LICENSE("GPL v2"); 227MODULE_DESCRIPTION("DesignWare USB3 PCI Glue Layer"); 228 229module_pci_driver(dwc3_pci_driver); | 217 { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_NL_USB), }, 218 { } /* Terminating Entry */ 219}; 220MODULE_DEVICE_TABLE(pci, dwc3_pci_id_table); 221 222static struct pci_driver dwc3_pci_driver = { 223 .name = "dwc3-pci", 224 .id_table = dwc3_pci_id_table, 225 .probe = dwc3_pci_probe, 226 .remove = dwc3_pci_remove, 227}; 228 229MODULE_AUTHOR("Felipe Balbi <balbi@ti.com>"); 230MODULE_LICENSE("GPL v2"); 231MODULE_DESCRIPTION("DesignWare USB3 PCI Glue Layer"); 232 233module_pci_driver(dwc3_pci_driver); |