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

media: ipu6: Add PCI device table header

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>

authored by

Sakari Ailus and committed by
Hans Verkuil
e42ae51b 392cd78d

+28
+28
include/media/ipu6-pci-table.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 2 + /* 3 + * Copyright (C) 2024 Intel Corporation 4 + */ 5 + 6 + #ifndef __IPU6_PCI_TBL_H__ 7 + #define __IPU6_PCI_TBL_H__ 8 + 9 + #include <linux/pci.h> 10 + 11 + #define PCI_DEVICE_ID_INTEL_IPU6 0x9a19 12 + #define PCI_DEVICE_ID_INTEL_IPU6SE 0x4e19 13 + #define PCI_DEVICE_ID_INTEL_IPU6EP_ADLP 0x465d 14 + #define PCI_DEVICE_ID_INTEL_IPU6EP_ADLN 0x462e 15 + #define PCI_DEVICE_ID_INTEL_IPU6EP_RPLP 0xa75d 16 + #define PCI_DEVICE_ID_INTEL_IPU6EP_MTL 0x7d19 17 + 18 + static const struct pci_device_id ipu6_pci_tbl[] = { 19 + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IPU6) }, 20 + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IPU6SE) }, 21 + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IPU6EP_ADLP) }, 22 + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IPU6EP_ADLN) }, 23 + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IPU6EP_RPLP) }, 24 + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IPU6EP_MTL) }, 25 + { } 26 + }; 27 + 28 + #endif /* __IPU6_PCI_TBL_H__ */