I would like to be able to make use of some internal hardware on the
AM335x (like PWM, SPI, and CAN) for hard real-time operations.  In order
to get these pieces of hardware powered on with clocks and out of reset,
it's necessary to include them in the device tree bindings.  But this
loads the kernel-mode device driver which will typically conflict with
my code (executing in a real-time thread on the ARM or in the PRU).

There's an old LWN article about using bind/unbind to disable a driver
and allow the underlying hardware to be controlled by something else:

https://lwn.net/Articles/143397/

Is this still how I should handle replacing the kernel driver for a
chunk of hardware, or is there an alternate means to do this with a
recent 3.x kernel?

The article references kernel 2.6.13, which is pretty long in the tooth
these days!  :)

-- 
Charles Steinkuehler
char...@steinkuehler.net

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to