xref: /linux/Documentation/ABI/testing/sysfs-bus-platform (revision 4a60406d3592373b8fd27ddfd010c5e62ad6c674)
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.
21*4a60406dSBarry Song
22*4a60406dSBarry SongWhat:		/sys/bus/platform/devices/.../numa_node
23*4a60406dSBarry SongDate:		June 2020
24*4a60406dSBarry SongContact:	Barry Song <song.bao.hua@hisilicon.com>
25*4a60406dSBarry SongDescription:
26*4a60406dSBarry Song		This file contains the NUMA node to which the platform device
27*4a60406dSBarry Song		is attached. It won't be visible if the node is unknown. The
28*4a60406dSBarry Song		value comes from an ACPI _PXM method or a similar firmware
29*4a60406dSBarry Song		source. Initial users for this file would be devices like
30*4a60406dSBarry Song		arm smmu which are populated by arm64 acpi_iort.
31