Re: User Mode Drivers #driver

Bolivar, Marti


Jett ✈ Rink via
<> writes:

Lastly, should "user mode devices" be present in the device tree or not? If
we wanted to use the device tree to express how external ICs were
connected, does that force us to make all drivers in the kernel or would
there be flexibility to use the device tree for "user mode devices"?
The devicetree describes the hardware. Whether or not a particular
software driver runs in user mode or not is an orthogonal question IMO.

If you are able to write a user mode driver as you describe, I don't see
why the hardware shouldn't be in the DT. You'll still want the device
labels in there to pass to device_get_binding(), for instance.


Join to automatically receive all group messages.