|
43 | 43 | #define PCI_DEVICE_ID_INTEL_ADLP 0x51ee |
44 | 44 | #define PCI_DEVICE_ID_INTEL_ADLM 0x54ee |
45 | 45 | #define PCI_DEVICE_ID_INTEL_ADLS 0x7ae1 |
| 46 | +#define PCI_DEVICE_ID_INTEL_RPLS 0x7a61 |
46 | 47 | #define PCI_DEVICE_ID_INTEL_TGL 0x9a15 |
47 | 48 | #define PCI_DEVICE_ID_AMD_MR 0x163a |
48 | 49 |
|
@@ -85,8 +86,8 @@ static const struct acpi_gpio_mapping acpi_dwc3_byt_gpios[] = { |
85 | 86 | static struct gpiod_lookup_table platform_bytcr_gpios = { |
86 | 87 | .dev_id = "0000:00:16.0", |
87 | 88 | .table = { |
88 | | - GPIO_LOOKUP("INT33FC:00", 54, "reset", GPIO_ACTIVE_HIGH), |
89 | | - GPIO_LOOKUP("INT33FC:02", 14, "cs", GPIO_ACTIVE_HIGH), |
| 89 | + GPIO_LOOKUP("INT33FC:00", 54, "cs", GPIO_ACTIVE_HIGH), |
| 90 | + GPIO_LOOKUP("INT33FC:02", 14, "reset", GPIO_ACTIVE_HIGH), |
90 | 91 | {} |
91 | 92 | }, |
92 | 93 | }; |
@@ -119,6 +120,13 @@ static const struct property_entry dwc3_pci_intel_properties[] = { |
119 | 120 | {} |
120 | 121 | }; |
121 | 122 |
|
| 123 | +static const struct property_entry dwc3_pci_intel_byt_properties[] = { |
| 124 | + PROPERTY_ENTRY_STRING("dr_mode", "peripheral"), |
| 125 | + PROPERTY_ENTRY_BOOL("snps,dis_u2_susphy_quirk"), |
| 126 | + PROPERTY_ENTRY_BOOL("linux,sysdev_is_parent"), |
| 127 | + {} |
| 128 | +}; |
| 129 | + |
122 | 130 | static const struct property_entry dwc3_pci_mrfld_properties[] = { |
123 | 131 | PROPERTY_ENTRY_STRING("dr_mode", "otg"), |
124 | 132 | PROPERTY_ENTRY_STRING("linux,extcon-name", "mrfld_bcove_pwrsrc"), |
@@ -161,6 +169,10 @@ static const struct software_node dwc3_pci_intel_swnode = { |
161 | 169 | .properties = dwc3_pci_intel_properties, |
162 | 170 | }; |
163 | 171 |
|
| 172 | +static const struct software_node dwc3_pci_intel_byt_swnode = { |
| 173 | + .properties = dwc3_pci_intel_byt_properties, |
| 174 | +}; |
| 175 | + |
164 | 176 | static const struct software_node dwc3_pci_intel_mrfld_swnode = { |
165 | 177 | .properties = dwc3_pci_mrfld_properties, |
166 | 178 | }; |
@@ -344,7 +356,7 @@ static const struct pci_device_id dwc3_pci_id_table[] = { |
344 | 356 | (kernel_ulong_t) &dwc3_pci_intel_swnode, }, |
345 | 357 |
|
346 | 358 | { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_BYT), |
347 | | - (kernel_ulong_t) &dwc3_pci_intel_swnode, }, |
| 359 | + (kernel_ulong_t) &dwc3_pci_intel_byt_swnode, }, |
348 | 360 |
|
349 | 361 | { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_MRFLD), |
350 | 362 | (kernel_ulong_t) &dwc3_pci_intel_mrfld_swnode, }, |
@@ -409,6 +421,9 @@ static const struct pci_device_id dwc3_pci_id_table[] = { |
409 | 421 | { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_ADLS), |
410 | 422 | (kernel_ulong_t) &dwc3_pci_intel_swnode, }, |
411 | 423 |
|
| 424 | + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_RPLS), |
| 425 | + (kernel_ulong_t) &dwc3_pci_intel_swnode, }, |
| 426 | + |
412 | 427 | { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_TGL), |
413 | 428 | (kernel_ulong_t) &dwc3_pci_intel_swnode, }, |
414 | 429 |
|
|
0 commit comments