mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
misc: pci_endpoint_test: Add Tegra194 and Tegra234 device table entries
Add PCI device IDs for Tegra194 (0x1ad4) and Tegra234(0x229b) Endpoint controllers, so that pci_endpoint_test can bind and run on these controllers. Signed-off-by: Manikanta Maddireddy <mmaddireddy@nvidia.com> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Reviewed-by: Niklas Cassel <cassel@kernel.org> Link: https://patch.msgid.link/20260324080857.916263-5-mmaddireddy@nvidia.com
This commit is contained in:
committed by
Manivannan Sadhasivam
parent
12a22fb38c
commit
5ab7a22588
@@ -114,6 +114,9 @@
|
||||
|
||||
#define PCI_DEVICE_ID_ROCKCHIP_RK3588 0x3588
|
||||
|
||||
#define PCI_DEVICE_ID_NVIDIA_TEGRA194_EP 0x1ad4
|
||||
#define PCI_DEVICE_ID_NVIDIA_TEGRA234_EP 0x229b
|
||||
|
||||
#define PCI_ENDPOINT_TEST_BAR_SUBRANGE_NSUB 2
|
||||
|
||||
static DEFINE_IDA(pci_endpoint_test_ida);
|
||||
@@ -1438,6 +1441,8 @@ static const struct pci_device_id pci_endpoint_test_tbl[] = {
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_ROCKCHIP, PCI_DEVICE_ID_ROCKCHIP_RK3588),
|
||||
.driver_data = (kernel_ulong_t)&rk3588_data,
|
||||
},
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_TEGRA194_EP),},
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_TEGRA234_EP),},
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(pci, pci_endpoint_test_tbl);
|
||||
|
||||
Reference in New Issue
Block a user