8xx SPI drivers

Navin Boppuri navin.boppuri at newisys.com
Thu Dec 20 05:03:46 EST 2001


Dan,

This was in response to a request by Kevin in a previous mail. I did
have this driver on a website and the link was included in PowerPC
Embedded HOWTO maintained by Graham then. But I dont have that server up
anymore and the link is not up to date.

And yes, you were right about the spi interface being very specific. But
I do feel that it makes sense for anyone starting to make spi work with
their hardware to look at some previous work. I wrote this driver
looking at your code for the i2c and some spi work done by Tobias
Otto-Adamczak.

Thanks,
Navin.

-----Original Message-----
From: Dan Malek [mailto:dan at embeddededge.com]
Sent: Tuesday, December 18, 2001 4:57 PM
To: Navin Boppuri
Cc: Kevin Fry; linuxppc-embedded at lists.linuxppc.org
Subject: Re: 8xx SPI drivers


Navin Boppuri wrote:

> I have no website of my own to put this stuff on yet.

Just ask to post it on penguinppc.org.  There is an embedded section
there.....but why do you want to post something like this?  I mean,
we don't post any of the other drivers or code we do anywhere but in
the sources themselves.

> Also, I would like to thank Alex for cleaning up my driver and for
> actually using it.

Keep in mind that SPI designs are very dependent upon the board/product
design.  Many of the systems that use SPI have external hardware for
device selection and control.  The generic driver is suitable for
clocking
bits in/out but often isn't sufficient to make everything work.  Due to
the
timing of SPISEL, I sometimes had to just write a software bit-toggle
function
to make it work.

Thanks.


	-- Dan


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list