|
84 | 84 | #define PCI_DEVICE_ID_RENESAS_R8A774E1 0x0025
|
85 | 85 | #define PCI_DEVICE_ID_RENESAS_R8A779F0 0x0031
|
86 | 86 |
|
| 87 | +#define PCI_VENDOR_ID_ROCKCHIP 0x1d87 |
| 88 | +#define PCI_DEVICE_ID_ROCKCHIP_RK3588 0x3588 |
| 89 | + |
87 | 90 | static DEFINE_IDA(pci_endpoint_test_ida);
|
88 | 91 |
|
89 | 92 | #define to_endpoint_test(priv) container_of((priv), struct pci_endpoint_test, \
|
@@ -980,6 +983,11 @@ static const struct pci_endpoint_test_data j721e_data = {
|
980 | 983 | .irq_type = IRQ_TYPE_MSI,
|
981 | 984 | };
|
982 | 985 |
|
| 986 | +static const struct pci_endpoint_test_data rk3588_data = { |
| 987 | + .alignment = SZ_64K, |
| 988 | + .irq_type = IRQ_TYPE_MSI, |
| 989 | +}; |
| 990 | + |
983 | 991 | static const struct pci_device_id pci_endpoint_test_tbl[] = {
|
984 | 992 | { PCI_DEVICE(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_DRA74x),
|
985 | 993 | .driver_data = (kernel_ulong_t)&default_data,
|
@@ -1017,6 +1025,9 @@ static const struct pci_device_id pci_endpoint_test_tbl[] = {
|
1017 | 1025 | { PCI_DEVICE(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_J721S2),
|
1018 | 1026 | .driver_data = (kernel_ulong_t)&j721e_data,
|
1019 | 1027 | },
|
| 1028 | + { PCI_DEVICE(PCI_VENDOR_ID_ROCKCHIP, PCI_DEVICE_ID_ROCKCHIP_RK3588), |
| 1029 | + .driver_data = (kernel_ulong_t)&rk3588_data, |
| 1030 | + }, |
1020 | 1031 | { }
|
1021 | 1032 | };
|
1022 | 1033 | MODULE_DEVICE_TABLE(pci, pci_endpoint_test_tbl);
|
|
0 commit comments