dwc3-pci.c (79e24da00b1137031245f3341828e4215b1b5b59) | dwc3-pci.c (1ffb4d5cc78a3a99109ff0808ce6915de07a0588) |
---|---|
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 * --- 21 unchanged lines hidden (view full) --- 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 | 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 * --- 21 unchanged lines hidden (view full) --- 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_BXT_M 0x1aaa |
|
38#define PCI_DEVICE_ID_INTEL_APL 0x5aaa 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 }, --- 162 unchanged lines hidden (view full) --- 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), }, | 39#define PCI_DEVICE_ID_INTEL_APL 0x5aaa 40 41static const struct acpi_gpio_params reset_gpios = { 0, 0, false }; 42static const struct acpi_gpio_params cs_gpios = { 1, 0, false }; 43 44static const struct acpi_gpio_mapping acpi_dwc3_byt_gpios[] = { 45 { "reset-gpios", &reset_gpios, 1 }, 46 { "cs-gpios", &cs_gpios, 1 }, --- 162 unchanged lines hidden (view full) --- 209 PCI_DEVICE_ID_SYNOPSYS_HAPSUSB31), 210 }, 211 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_BSW), }, 212 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_BYT), }, 213 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_MRFLD), }, 214 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_SPTLP), }, 215 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_SPTH), }, 216 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_BXT), }, |
217 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_BXT_M), }, |
|
216 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_APL), }, 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); | 218 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_APL), }, 219 { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_NL_USB), }, 220 { } /* Terminating Entry */ 221}; 222MODULE_DEVICE_TABLE(pci, dwc3_pci_id_table); 223 224static struct pci_driver dwc3_pci_driver = { 225 .name = "dwc3-pci", 226 .id_table = dwc3_pci_id_table, 227 .probe = dwc3_pci_probe, 228 .remove = dwc3_pci_remove, 229}; 230 231MODULE_AUTHOR("Felipe Balbi <balbi@ti.com>"); 232MODULE_LICENSE("GPL v2"); 233MODULE_DESCRIPTION("DesignWare USB3 PCI Glue Layer"); 234 235module_pci_driver(dwc3_pci_driver); |