]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
usb: dwc3: pci: add Intel Cannonlake PCI IDs
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Fri, 1 Apr 2016 14:13:13 +0000 (17:13 +0300)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 28 Apr 2020 18:02:54 +0000 (19:02 +0100)
commit 682179592e48fa66056fbad1a86604be4992f885 upstream.

Intel Cannonlake PCH has the same DWC3 than Intel
Sunrisepoint. Add the new IDs to the supported devices.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
[bwh: Backported to 3.16: adjust context, indentation]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/dwc3/dwc3-pci.c

index 9a91776bef826385a365ef2c43389412bbdefe55..4467e7d9936806c8248f1d6cd0121b76aa114b57 100644 (file)
@@ -38,6 +38,8 @@
 #define PCI_DEVICE_ID_INTEL_APL                0x5aaa
 #define PCI_DEVICE_ID_INTEL_KBP                0xa2b0
 #define PCI_DEVICE_ID_INTEL_GLK                0x31aa
+#define PCI_DEVICE_ID_INTEL_CNPLP      0x9dee
+#define PCI_DEVICE_ID_INTEL_CNPH       0xa36e
 
 struct dwc3_pci {
        struct device           *dev;
@@ -201,6 +203,8 @@ static const struct pci_device_id dwc3_pci_id_table[] = {
        { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_APL), },
        { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_KBP), },
        { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_GLK), },
+       { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CNPLP), },
+       { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CNPH), },
        {  }    /* Terminating Entry */
 };
 MODULE_DEVICE_TABLE(pci, dwc3_pci_id_table);