dwc3-pci.c (d0034a7a4ac7fae708146ac0059b9c47a1543f0d) dwc3-pci.c (04357fafea9c7ed34525eb9680c760245c3bb958)
1// SPDX-License-Identifier: GPL-2.0
1// SPDX-License-Identifier: GPL-2.0
2/**
2/*
3 * dwc3-pci.c - PCI Specific glue layer
4 *
5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com
6 *
7 * Authors: Felipe Balbi <balbi@ti.com>,
8 * Sebastian Andrzej Siewior <bigeasy@linutronix.de>
9 */
10

--- 25 unchanged lines hidden (view full) ---

36#define PCI_DEVICE_ID_INTEL_CNPH 0xa36e
37#define PCI_DEVICE_ID_INTEL_CNPV 0xa3b0
38#define PCI_DEVICE_ID_INTEL_ICLLP 0x34ee
39#define PCI_DEVICE_ID_INTEL_EHLLP 0x4b7e
40#define PCI_DEVICE_ID_INTEL_TGPLP 0xa0ee
41#define PCI_DEVICE_ID_INTEL_TGPH 0x43ee
42#define PCI_DEVICE_ID_INTEL_JSP 0x4dee
43#define PCI_DEVICE_ID_INTEL_ADLP 0x51ee
3 * dwc3-pci.c - PCI Specific glue layer
4 *
5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com
6 *
7 * Authors: Felipe Balbi <balbi@ti.com>,
8 * Sebastian Andrzej Siewior <bigeasy@linutronix.de>
9 */
10

--- 25 unchanged lines hidden (view full) ---

36#define PCI_DEVICE_ID_INTEL_CNPH 0xa36e
37#define PCI_DEVICE_ID_INTEL_CNPV 0xa3b0
38#define PCI_DEVICE_ID_INTEL_ICLLP 0x34ee
39#define PCI_DEVICE_ID_INTEL_EHLLP 0x4b7e
40#define PCI_DEVICE_ID_INTEL_TGPLP 0xa0ee
41#define PCI_DEVICE_ID_INTEL_TGPH 0x43ee
42#define PCI_DEVICE_ID_INTEL_JSP 0x4dee
43#define PCI_DEVICE_ID_INTEL_ADLP 0x51ee
44#define PCI_DEVICE_ID_INTEL_ADLM 0x54ee
44#define PCI_DEVICE_ID_INTEL_ADLS 0x7ae1
45#define PCI_DEVICE_ID_INTEL_TGL 0x9a15
46
47#define PCI_INTEL_BXT_DSM_GUID "732b85d5-b7a7-4a1b-9ba0-4bbd00ffd511"
48#define PCI_INTEL_BXT_FUNC_PMU_PWR 4
49#define PCI_INTEL_BXT_STATE_D0 0
50#define PCI_INTEL_BXT_STATE_D3 3
51

--- 63 unchanged lines hidden (view full) ---

115 PROPERTY_ENTRY_STRING("dr_mode", "peripheral"),
116 PROPERTY_ENTRY_BOOL("linux,sysdev_is_parent"),
117 {}
118};
119
120static const struct property_entry dwc3_pci_mrfld_properties[] = {
121 PROPERTY_ENTRY_STRING("dr_mode", "otg"),
122 PROPERTY_ENTRY_STRING("linux,extcon-name", "mrfld_bcove_pwrsrc"),
45#define PCI_DEVICE_ID_INTEL_ADLS 0x7ae1
46#define PCI_DEVICE_ID_INTEL_TGL 0x9a15
47
48#define PCI_INTEL_BXT_DSM_GUID "732b85d5-b7a7-4a1b-9ba0-4bbd00ffd511"
49#define PCI_INTEL_BXT_FUNC_PMU_PWR 4
50#define PCI_INTEL_BXT_STATE_D0 0
51#define PCI_INTEL_BXT_STATE_D3 3
52

--- 63 unchanged lines hidden (view full) ---

116 PROPERTY_ENTRY_STRING("dr_mode", "peripheral"),
117 PROPERTY_ENTRY_BOOL("linux,sysdev_is_parent"),
118 {}
119};
120
121static const struct property_entry dwc3_pci_mrfld_properties[] = {
122 PROPERTY_ENTRY_STRING("dr_mode", "otg"),
123 PROPERTY_ENTRY_STRING("linux,extcon-name", "mrfld_bcove_pwrsrc"),
124 PROPERTY_ENTRY_BOOL("snps,dis_u3_susphy_quirk"),
125 PROPERTY_ENTRY_BOOL("snps,dis_u2_susphy_quirk"),
126 PROPERTY_ENTRY_BOOL("snps,usb2-gadget-lpm-disable"),
123 PROPERTY_ENTRY_BOOL("linux,sysdev_is_parent"),
124 {}
125};
126
127static const struct property_entry dwc3_pci_amd_properties[] = {
128 PROPERTY_ENTRY_BOOL("snps,has-lpm-erratum"),
129 PROPERTY_ENTRY_U8("snps,lpm-nyet-threshold", 0xf),
130 PROPERTY_ENTRY_BOOL("snps,u2exit_lfps_quirk"),

--- 250 unchanged lines hidden (view full) ---

381 (kernel_ulong_t) &dwc3_pci_intel_swnode, },
382
383 { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_JSP),
384 (kernel_ulong_t) &dwc3_pci_intel_swnode, },
385
386 { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_ADLP),
387 (kernel_ulong_t) &dwc3_pci_intel_swnode, },
388
127 PROPERTY_ENTRY_BOOL("linux,sysdev_is_parent"),
128 {}
129};
130
131static const struct property_entry dwc3_pci_amd_properties[] = {
132 PROPERTY_ENTRY_BOOL("snps,has-lpm-erratum"),
133 PROPERTY_ENTRY_U8("snps,lpm-nyet-threshold", 0xf),
134 PROPERTY_ENTRY_BOOL("snps,u2exit_lfps_quirk"),

--- 250 unchanged lines hidden (view full) ---

385 (kernel_ulong_t) &dwc3_pci_intel_swnode, },
386
387 { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_JSP),
388 (kernel_ulong_t) &dwc3_pci_intel_swnode, },
389
390 { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_ADLP),
391 (kernel_ulong_t) &dwc3_pci_intel_swnode, },
392
393 { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_ADLM),
394 (kernel_ulong_t) &dwc3_pci_intel_swnode, },
395
389 { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_ADLS),
390 (kernel_ulong_t) &dwc3_pci_intel_swnode, },
391
392 { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_TGL),
393 (kernel_ulong_t) &dwc3_pci_intel_swnode, },
394
395 { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_NL_USB),
396 (kernel_ulong_t) &dwc3_pci_amd_swnode, },

--- 93 unchanged lines hidden ---
396 { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_ADLS),
397 (kernel_ulong_t) &dwc3_pci_intel_swnode, },
398
399 { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_TGL),
400 (kernel_ulong_t) &dwc3_pci_intel_swnode, },
401
402 { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_NL_USB),
403 (kernel_ulong_t) &dwc3_pci_amd_swnode, },

--- 93 unchanged lines hidden ---