File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 68
68
#define PCI_ENDPOINT_TEST_FLAGS 0x2c
69
69
#define FLAG_USE_DMA BIT(0)
70
70
71
+ #define PCI_DEVICE_ID_TI_J721E 0xb00d
71
72
#define PCI_DEVICE_ID_TI_AM654 0xb00c
72
73
73
74
#define is_am654_pci_dev (pdev ) \
@@ -932,6 +933,11 @@ static const struct pci_endpoint_test_data am654_data = {
932
933
.irq_type = IRQ_TYPE_MSI ,
933
934
};
934
935
936
+ static const struct pci_endpoint_test_data j721e_data = {
937
+ .alignment = 256 ,
938
+ .irq_type = IRQ_TYPE_MSI ,
939
+ };
940
+
935
941
static const struct pci_device_id pci_endpoint_test_tbl [] = {
936
942
{ PCI_DEVICE (PCI_VENDOR_ID_TI , PCI_DEVICE_ID_TI_DRA74x ),
937
943
.driver_data = (kernel_ulong_t )& default_data ,
@@ -946,6 +952,9 @@ static const struct pci_device_id pci_endpoint_test_tbl[] = {
946
952
},
947
953
{ PCI_DEVICE (PCI_VENDOR_ID_RENESAS , PCI_DEVICE_ID_RENESAS_R8A774C0 ),
948
954
},
955
+ { PCI_DEVICE (PCI_VENDOR_ID_TI , PCI_DEVICE_ID_TI_J721E ),
956
+ .driver_data = (kernel_ulong_t )& j721e_data ,
957
+ },
949
958
{ }
950
959
};
951
960
MODULE_DEVICE_TABLE (pci , pci_endpoint_test_tbl );
You can’t perform that action at this time.
0 commit comments