Thread (1 message) 1 message, 1 author, 2002-03-11
  • (off-list ancestor, not in this archive)
  • Re: Need SPI support · Wolfgang Denk <hidden> · 2002-03-11

Re: Need SPI support

From: Wolfgang Denk <hidden>
Date: 2002-03-11 21:03:14

In message [ref] you wrote:
quoted
Does anyone know where I might get some code to support Motorola 8260
Serial Peripheral Interface (SPI) for Linux.
...
The controller set up is trivial, just copy the guts of managing BDs
from something else, like I2C.  The SPI implementations typically have
board specific methods for device selection and devices that may be
sensitive to whether the clock keeps running.  A generic driver is
... and devices that need frame sync signals, etc.

SPI looks fine as long as you just look at the specification, but you
soon discover the ugly side when you have to use it.
challenging due to these board variations, but a skeleton driver
would be useful.

Wolfgang, do you have something that isn't checked into BK sources :-)?
Nothing for the 8260.

In PPCBoot there is a polled  mode  driver  (cpu/mpc8xx/spi.c)  which
could easily be adapted.

The Linux stuff we have on 8xx is (1) not really ready  yet  and  (2)
extremely  special  (building  a multiprocessor system from a 823 and
two DSP's).

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
There are two ways to write error-free programs. Only the  third  one
works.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help