From: Kate Alhola <kate@iti.fi>
To: Wolfgang Denk <wd@denx.de>
Cc: iida <iida@ztec.com.br>, linuxppc <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: driver SPI for MPC5200
Date: Fri, 04 Jun 2004 10:58:12 +0300 [thread overview]
Message-ID: <40C02B94.8020709@iti.fi> (raw)
In-Reply-To: <20040601173804.04313C109F@atlas.denx.de>
Wolfgang Denk wrote:
>>Or what i have to modify to use in mpc5200
>>
>>
>
>You need to write a new driver.
>
>
I have been doin such thing a while. The base idea is to hae similar
subsystem tha i2c has.
Least in my application i like to controll multiple diferent devices via
spi and i like
that the spi connected targets look a like "normal" devides to linux
programs.
At the moment i am working spi core and drivers for tsc2301 ( system
management
chip / adc/audio ), MMC ( multimedi card ) and frame buffer device for
small 128x64
graphical LCD ( UC1606 Chip )
The thing that i am waiting is to get something clear to this DMA
problem that
has been discussed here lately.
The MPC5200 SPI device does not support Bestcomm DMA at all but PSC can
be used
in SPI mode with DMA. With DMA i can update display or read MMC block
with just one interupt without polling etc needed with normal SPI.
Kate
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
prev parent reply other threads:[~2004-06-04 7:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-01 14:18 driver SPI for MPC5200 iida
2004-06-01 17:37 ` Wolfgang Denk
2004-06-01 20:22 ` no core dump from the kernel on SIGSEGV David Ho
2004-06-01 21:18 ` Eugene Surovegin
2004-06-01 21:41 ` David Ho
2004-06-04 7:58 ` Kate Alhola [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40C02B94.8020709@iti.fi \
--to=kate@iti.fi \
--cc=iida@ztec.com.br \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=wd@denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).