media: ipu6: Add PCI device table header
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 13 Feb 2024 09:00:28 +0000 (11:00 +0200)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 29 Apr 2024 12:56:37 +0000 (14:56 +0200)
Add a header for the PCI device table of all IPU6 devices. This will be
used by the IPU bridge as well so place the table in a header.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
include/media/ipu6-pci-table.h [new file with mode: 0644]

diff --git a/include/media/ipu6-pci-table.h b/include/media/ipu6-pci-table.h
new file mode 100644 (file)
index 0000000..0899d9d
--- /dev/null
@@ -0,0 +1,28 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+/*
+ * Copyright (C) 2024 Intel Corporation
+ */
+
+#ifndef __IPU6_PCI_TBL_H__
+#define __IPU6_PCI_TBL_H__
+
+#include <linux/pci.h>
+
+#define PCI_DEVICE_ID_INTEL_IPU6               0x9a19
+#define PCI_DEVICE_ID_INTEL_IPU6SE             0x4e19
+#define PCI_DEVICE_ID_INTEL_IPU6EP_ADLP                0x465d
+#define PCI_DEVICE_ID_INTEL_IPU6EP_ADLN                0x462e
+#define PCI_DEVICE_ID_INTEL_IPU6EP_RPLP                0xa75d
+#define PCI_DEVICE_ID_INTEL_IPU6EP_MTL         0x7d19
+
+static const struct pci_device_id ipu6_pci_tbl[] = {
+       { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IPU6) },
+       { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IPU6SE) },
+       { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IPU6EP_ADLP) },
+       { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IPU6EP_ADLN) },
+       { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IPU6EP_RPLP) },
+       { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IPU6EP_MTL) },
+       { }
+};
+
+#endif /* __IPU6_PCI_TBL_H__ */