Thread (8 messages) flat view 8 messages, 3 authors, 2008-09-05

Re: UIO not working on ppc405 onchip registers

From: Ben Nizette <hidden>
Date: 2008-07-22 07:52:58

On Tue, 2008-07-22 at 09:48 +0200, super.firetwister@googlemail.com
wrote:
On Tuesday 22 July 2008, Ben Nizette wrote:
quoted
As an aside, you sure you want to do this anyway?  
No ;)

quoted
I'd suggest that you 
just do a gpio chip driver for this, tie it in to gpiolib and use the
gpiolib user interface (which IIRC has only made it as far as -mm but is
on the way up).  This gives kernel internals nice access to the pins as
well through the standard gpio framework.
This was just an example to make it others easier to reproduce my problem. My 
goal is to have a soft spi driver in userspace, which would probably be 
slower if it uses gpiolib. This driver is integrated in the application I 
want to port to Linux. 
Ah right, cool.  I donno what the speed would be like, but both David
Brownell and Michael Buesch both have spi-over-gpio patches floating
around (eg [1]).  That, plus the spidev interface, might at least be
worth a try..?

But I'll let you get back to solving the UIO problem at hand :-D

	--Ben.

[1] http://lwn.net/Articles/290066/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help