brintos

brintos / linux-shallow public Read only

0
0
Text · 2.3 KiB · c4dfe73 Raw
57 lines · plain
1What:		/sys/bus/platform/devices/.../driver_override2Date:		April 20143Contact:	Kim Phillips <kim.phillips@freescale.com>4Description:5		This file allows the driver for a device to be specified which6		will override standard OF, ACPI, ID table, and name matching.7		When specified, only a driver with a name matching the value8		written to driver_override will have an opportunity to bind9		to the device.  The override is specified by writing a string10		to the driver_override file (echo vfio-platform > \11		driver_override) and may be cleared with an empty string12		(echo > driver_override).  This returns the device to standard13		matching rules binding.  Writing to driver_override does not14		automatically unbind the device from its current driver or make15		any attempt to automatically load the specified driver.  If no16		driver with a matching name is currently loaded in the kernel,17		the device will not bind to any driver.  This also allows18		devices to opt-out of driver binding using a driver_override19		name such as "none".  Only a single driver may be specified in20		the override, there is no support for parsing delimiters.21 22What:		/sys/bus/platform/devices/.../numa_node23Date:		June 202024Contact:	Barry Song <song.bao.hua@hisilicon.com>25Description:26		This file contains the NUMA node to which the platform device27		is attached. It won't be visible if the node is unknown. The28		value comes from an ACPI _PXM method or a similar firmware29		source. Initial users for this file would be devices like30		arm smmu which are populated by arm64 acpi_iort.31 32What:		/sys/bus/platform/devices/.../msi_irqs/33Date:		August 202134Contact:	Barry Song <song.bao.hua@hisilicon.com>35Description:36		The /sys/devices/.../msi_irqs directory contains a variable set37		of files, with each file being named after a corresponding msi38		irq vector allocated to that device.39 40What:		/sys/bus/platform/devices/.../msi_irqs/<N>41Date:		August 202142Contact:	Barry Song <song.bao.hua@hisilicon.com>43Description:44		This attribute will show "msi" if <N> is a valid msi irq45 46What:		/sys/bus/platform/devices/.../modalias47Description:48		Same as MODALIAS in the uevent at device creation.49 50		A platform device that it is exposed via devicetree uses:51 52			- of:N`of node name`T`type`53 54		Other platform devices use, instead:55 56			- platform:`driver name`57