13d713e0eSKim PhillipsWhat:		/sys/bus/platform/devices/.../driver_override
23d713e0eSKim PhillipsDate:		April 2014
33d713e0eSKim PhillipsContact:	Kim Phillips <kim.phillips@freescale.com>
43d713e0eSKim PhillipsDescription:
53d713e0eSKim Phillips		This file allows the driver for a device to be specified which
63d713e0eSKim Phillips		will override standard OF, ACPI, ID table, and name matching.
73d713e0eSKim Phillips		When specified, only a driver with a name matching the value
83d713e0eSKim Phillips		written to driver_override will have an opportunity to bind
93d713e0eSKim Phillips		to the device.  The override is specified by writing a string
103d713e0eSKim Phillips		to the driver_override file (echo vfio-platform > \
113d713e0eSKim Phillips		driver_override) and may be cleared with an empty string
123d713e0eSKim Phillips		(echo > driver_override).  This returns the device to standard
133d713e0eSKim Phillips		matching rules binding.  Writing to driver_override does not
143d713e0eSKim Phillips		automatically unbind the device from its current driver or make
153d713e0eSKim Phillips		any attempt to automatically load the specified driver.  If no
163d713e0eSKim Phillips		driver with a matching name is currently loaded in the kernel,
173d713e0eSKim Phillips		the device will not bind to any driver.  This also allows
183d713e0eSKim Phillips		devices to opt-out of driver binding using a driver_override
193d713e0eSKim Phillips		name such as "none".  Only a single driver may be specified in
203d713e0eSKim Phillips		the override, there is no support for parsing delimiters.
214a60406dSBarry Song
224a60406dSBarry SongWhat:		/sys/bus/platform/devices/.../numa_node
234a60406dSBarry SongDate:		June 2020
244a60406dSBarry SongContact:	Barry Song <song.bao.hua@hisilicon.com>
254a60406dSBarry SongDescription:
264a60406dSBarry Song		This file contains the NUMA node to which the platform device
274a60406dSBarry Song		is attached. It won't be visible if the node is unknown. The
284a60406dSBarry Song		value comes from an ACPI _PXM method or a similar firmware
294a60406dSBarry Song		source. Initial users for this file would be devices like
304a60406dSBarry Song		arm smmu which are populated by arm64 acpi_iort.
31*00ed1401SBarry Song
32*00ed1401SBarry SongWhat:		/sys/bus/platform/devices/.../msi_irqs/
33*00ed1401SBarry SongDate:		August 2021
34*00ed1401SBarry SongContact:	Barry Song <song.bao.hua@hisilicon.com>
35*00ed1401SBarry SongDescription:
36*00ed1401SBarry Song		The /sys/devices/.../msi_irqs directory contains a variable set
37*00ed1401SBarry Song		of files, with each file being named after a corresponding msi
38*00ed1401SBarry Song		irq vector allocated to that device.
39*00ed1401SBarry Song
40*00ed1401SBarry SongWhat:		/sys/bus/platform/devices/.../msi_irqs/<N>
41*00ed1401SBarry SongDate:		August 2021
42*00ed1401SBarry SongContact:	Barry Song <song.bao.hua@hisilicon.com>
43*00ed1401SBarry SongDescription:
44*00ed1401SBarry Song		This attribute will show "msi" if <N> is a valid msi irq
45