mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
cdx: add the cdx bus driver
Introduce AMD CDX bus, which provides a mechanism for scanning and probing CDX devices. These devices are memory mapped on system bus for Application Processors(APUs). CDX devices can be changed dynamically in the Fabric and CDX bus interacts with CDX controller to rescan the bus and rediscover the devices. Signed-off-by: Nipun Gupta <nipun.gupta@amd.com> Reviewed-by: Pieter Jansen van Vuuren <pieter.jansen-van-vuuren@amd.com> Tested-by: Nikhil Agarwal <nikhil.agarwal@amd.com> Link: https://lore.kernel.org/r/20230313132636.31850-2-nipun.gupta@amd.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
71d74aaa15
commit
2959ab2470
@@ -912,4 +912,19 @@ struct ishtp_device_id {
|
||||
kernel_ulong_t driver_data;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct cdx_device_id - CDX device identifier
|
||||
* @vendor: Vendor ID
|
||||
* @device: Device ID
|
||||
* @override_only: Match only when dev->driver_override is this driver.
|
||||
*
|
||||
* Type of entries in the "device Id" table for CDX devices supported by
|
||||
* a CDX device driver.
|
||||
*/
|
||||
struct cdx_device_id {
|
||||
__u16 vendor;
|
||||
__u16 device;
|
||||
__u32 override_only;
|
||||
};
|
||||
|
||||
#endif /* LINUX_MOD_DEVICETABLE_H */
|
||||
|
Reference in New Issue
Block a user