xref: /linux/Documentation/ABI/testing/sysfs-bus-amba (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
1*3cf38571SAntonios MotakisWhat:		/sys/bus/amba/devices/.../driver_override
2*3cf38571SAntonios MotakisDate:		September 2014
3*3cf38571SAntonios MotakisContact:	Antonios Motakis <a.motakis@virtualopensystems.com>
4*3cf38571SAntonios MotakisDescription:
5*3cf38571SAntonios Motakis		This file allows the driver for a device to be specified which
6*3cf38571SAntonios Motakis		will override standard OF, ACPI, ID table, and name matching.
7*3cf38571SAntonios Motakis		When specified, only a driver with a name matching the value
8*3cf38571SAntonios Motakis		written to driver_override will have an opportunity to bind to
9*3cf38571SAntonios Motakis		the device. The override is specified by writing a string to the
10*3cf38571SAntonios Motakis		driver_override file (echo vfio-amba > driver_override)	and may
11*3cf38571SAntonios Motakis		be cleared with an empty string (echo > driver_override).
12*3cf38571SAntonios Motakis		This returns the device to standard matching rules binding.
13*3cf38571SAntonios Motakis		Writing to driver_override does not automatically unbind the
14*3cf38571SAntonios Motakis		device from its current driver or make any attempt to
15*3cf38571SAntonios Motakis		automatically load the specified driver. If no driver with a
16*3cf38571SAntonios Motakis		matching name is currently loaded in the kernel, the device will
17*3cf38571SAntonios Motakis		not bind to any driver. This also allows devices to opt-out of
18*3cf38571SAntonios Motakis		driver binding using a driver_override name such as "none".
19*3cf38571SAntonios Motakis		Only a single driver may be specified in the override, there is
20*3cf38571SAntonios Motakis		no support for parsing delimiters.
21