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