What:		/sys/bus/cdx/rescan
Date:		March 2023
Contact:	nipun.gupta@amd.com
Description:
		Writing y/1/on to this file will cause rescan of the bus
		and devices on the CDX bus. Any new devices are scanned and
		added to the list of Linux devices and any devices removed are
		also deleted from Linux.

		For example::

		  # echo 1 > /sys/bus/cdx/rescan

What:		/sys/bus/cdx/enable
Date:		March 2023
Contact:	nipun.gupta@amd.com
Description:
		Writing y/1/on to this file enables the CDX bus and
		writing n/0/off disables the bus. Reading this provide the current
		bus state.

		For example to disable CDX bus::

		  # echo 0 > /sys/bus/cdx/enable

What:		/sys/bus/cdx/reset_all
Date:		March 2023
Contact:	puneet.gupta@amd.com
Description:
		Writing y/1/on to this file resets all the devices
		present on the CDX bus

		For example::

		  # echo 1 > /sys/bus/cdx/reset_all

What:		/sys/bus/cdx/devices/.../vendor
Date:		March 2023
Contact:	nipun.gupta@amd.com
Description:
		Vendor ID for this CDX device. Vendor ID is 16 bit
		hexadecimal identifier which is specific to the device manufacturer.
		Combination of Vendor ID and Device ID identifies a device.

What:		/sys/bus/cdx/devices/.../device
Date:		March 2023
Contact:	nipun.gupta@amd.com
Description:
		Device ID for this CDX device. Device ID is a 16 bit
		hexadecimal identifier to identify a device type within the range
		of a device manufacturer.
		Combination of Vendor ID and Device ID identifies a device.

What:		/sys/bus/cdx/devices/.../subsystem_vendor
Date:		March 2023
Contact:	puneet.gupta@amd.com
Description:
		Subsystem Vendor ID for this CDX device. It is a 16 bit
		hexadecimal identifier.

What:		/sys/bus/cdx/devices/.../subsystem_device
Date:		March 2023
Contact:	puneet.gupta@amd.com
Description:
		Subsystem Device ID for this CDX device.It is a 16 bit
		hexadecimal identifier.

What:		/sys/bus/cdx/devices/.../class
Date:		March 2023
Contact:	puneet.gupta@amd.com
Description:
		This file contains the class of the CDX device.

What:		/sys/bus/cdx/devices/.../revision
Date:		March 2023
Contact:	puneet.gupta@amd.com
Description:
		This file contains the revision field of the CDX device.

What:		/sys/bus/cdx/devices/.../reset
Date:		March 2023
Contact:	nipun.gupta@amd.com
Description:
		Writing y/1/on to this file resets the CDX device.
		On resetting the device, the corresponding driver is notified
		twice, once before the device is being reset, and again after
		the reset has been complete.

		For example::

		  # echo 1 > /sys/bus/cdx/.../reset

What:		/sys/bus/cdx/devices/.../remove
Date:		March 2023
Contact:	tarak.reddy@amd.com
Description:
		Writing y/1/on to this file removes the corresponding
		device from the CDX bus. If the device is to be reconfigured
		reconfigured in the Hardware, the device can be removed, so
		that the device driver does not access the device while it is
		being reconfigured.

		For example::

		  # echo 1 > /sys/bus/cdx/devices/.../remove

What:		/sys/bus/cdx/devices/.../resource
Date:		March 2023
Contact:	puneet.gupta@amd.com
Description:
		The resource file contains host addresses of CDX device
		resources. Each line of the resource file describes a region
		with start, end, and flag fields.

What:		/sys/bus/cdx/devices/.../resource<N>
Date:		March 2023
Contact:	puneet.gupta@amd.com
Description:
		The resource binary file contains the content of the memory
		regions. These files can be m'maped from userspace.

What:		/sys/bus/cdx/devices/.../modalias
Date:		March 2023
Contact:	nipun.gupta@amd.com
Description:
		This attribute indicates the CDX ID of the device.
		That is in the format:
		cdx:vXXXXdXXXX,
		where:

		    - vXXXX contains the vendor ID;
		    - dXXXX contains the device ID;
