Runtime driver selection for a certain device

Wolfgang Grandegger wg at grandegger.com
Tue Apr 19 05:22:50 EST 2011


Hallo,

I'm looking for a solution for the following problem:

A device may be served by more than one driver depending on the
application. Therefore the driver to use should be selectable at
run-time. Lets imaging 4 serial line devices normally handled by the
Linux serial driver. One of those needs eventually be handled by another
driver. How could that be realized, especially together with the device
tree, which is pretty static. Is there a generic way? The bind/unbind
functions look promising but it's not possible to register more than one
driver for a device.

TIA,

Wolfgang.


More information about the devicetree-discuss mailing list