Antonios Motakis | 3cf3857 | 2015-01-06 11:15:11 +0100 | [diff] [blame^] | 1 | What: /sys/bus/amba/devices/.../driver_override |
| 2 | Date: September 2014 |
| 3 | Contact: Antonios Motakis <a.motakis@virtualopensystems.com> |
| 4 | Description: |
| 5 | This file allows the driver for a device to be specified which |
| 6 | will override standard OF, ACPI, ID table, and name matching. |
| 7 | When specified, only a driver with a name matching the value |
| 8 | written to driver_override will have an opportunity to bind to |
| 9 | the device. The override is specified by writing a string to the |
| 10 | driver_override file (echo vfio-amba > driver_override) and may |
| 11 | be cleared with an empty string (echo > driver_override). |
| 12 | This returns the device to standard matching rules binding. |
| 13 | Writing to driver_override does not automatically unbind the |
| 14 | device from its current driver or make any attempt to |
| 15 | automatically load the specified driver. If no driver with a |
| 16 | matching name is currently loaded in the kernel, the device will |
| 17 | not bind to any driver. This also allows devices to opt-out of |
| 18 | driver binding using a driver_override name such as "none". |
| 19 | Only a single driver may be specified in the override, there is |
| 20 | no support for parsing delimiters. |