Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

misc: pci_endpoint_test: Add deviceID for AM64 and J7200

Add device ID specific to AM64 and J7200 in pci_endpoint_test so that
endpoints configured with those deviceIDs can use pci_endpoint_test
driver.

Link: https://lore.kernel.org/r/20210811123336.31357-6-kishon@ti.com
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>

authored by

Kishon Vijay Abraham I and committed by
Lorenzo Pieralisi
7c52009d c8a375a8

+8
+8
drivers/misc/pci_endpoint_test.c
··· 69 69 #define FLAG_USE_DMA BIT(0) 70 70 71 71 #define PCI_DEVICE_ID_TI_AM654 0xb00c 72 + #define PCI_DEVICE_ID_TI_J7200 0xb00f 73 + #define PCI_DEVICE_ID_TI_AM64 0xb010 72 74 #define PCI_DEVICE_ID_LS1088A 0x80c0 73 75 74 76 #define is_am654_pci_dev(pdev) \ ··· 969 967 { PCI_DEVICE(PCI_VENDOR_ID_RENESAS, PCI_DEVICE_ID_RENESAS_R8A774C0),}, 970 968 { PCI_DEVICE(PCI_VENDOR_ID_RENESAS, PCI_DEVICE_ID_RENESAS_R8A774E1),}, 971 969 { PCI_DEVICE(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_J721E), 970 + .driver_data = (kernel_ulong_t)&j721e_data, 971 + }, 972 + { PCI_DEVICE(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_J7200), 973 + .driver_data = (kernel_ulong_t)&j721e_data, 974 + }, 975 + { PCI_DEVICE(PCI_VENDOR_ID_TI, PCI_DEVICE_ID_TI_AM64), 972 976 .driver_data = (kernel_ulong_t)&j721e_data, 973 977 }, 974 978 { }