From: Dirk Behme <dirk.behme@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] OMAP3 SPI driver ( was Re: [PATCH] TI DaVinci: Driver for the davinci SPI controller)
Date: Sun, 07 Mar 2010 13:38:06 +0100 [thread overview]
Message-ID: <4B939E2E.10603@googlemail.com> (raw)
In-Reply-To: <loom.20100305T073959-340@post.gmane.org>
Hi Mansoor,
On 05.03.2010 07:47, Mansoor wrote:
> Dirk Behme<dirk.behme<at> googlemail.com> writes:
>
>
>
>>
>> E.g. what I did for OMAP3 SPI driver:
>>
>> /* OMAP3 McSPI registers */
>> struct mcspi_channel {
>> unsigned int chconf; /* 0x2C, 0x40, 0x54, 0x68 */
>> unsigned int chstat; /* 0x30, 0x44, 0x58, 0x6C */
>> unsigned int chctrl; /* 0x34, 0x48, 0x5C, 0x70 */
>> unsigned int tx; /* 0x38, 0x4C, 0x60, 0x74 */
>> unsigned int rx; /* 0x3C, 0x50, 0x64, 0x78 */
>> };
>>
>
> [...]
>
>> writel(value, regs->modulctrl);
>>
>
> Hi Dirk,
>
> I could not find this code in any of the repositories. Could you share the
> u-boot omap3 spi driver?
I used the SPI driver for DaVinci (which this thread is about) as
starting point for an U-Boot OMAP3 driver. The goal was to be able to
access SPI ethernet on Zippy expansion board for Beagle.
Unfortunately, I never found the time to finalize it.
Please find my latest patch from beginning of January 2010 in attachment.
I really hope it might help to finalize it!
Many thanks for asking and best regards
Dirk
P.S.: You might notice that the patch contains changes for the SPI
ethernet, too. This should be moved to a separate patch.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: omap3_spi_patch.txt
Url: http://lists.denx.de/pipermail/u-boot/attachments/20100307/3ea76be9/attachment.txt
prev parent reply other threads:[~2010-03-07 12:38 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-23 7:44 [U-Boot] [PATCH] TI DaVinci: Driver for the davinci SPI controller Sudhakar Rajashekhara
2009-12-24 1:34 ` Mike Frysinger
2009-12-24 2:52 ` Sudhakar Rajashekhara
2009-12-25 17:11 ` Dirk Behme
2010-01-04 9:42 ` Sudhakar Rajashekhara
2010-01-04 9:46 ` Sudhakar Rajashekhara
2010-01-05 6:01 ` Mike Frysinger
2010-01-05 7:14 ` [U-Boot] NS16550 Register structure Pedanekar, Hemant
2010-01-05 7:35 ` Wolfgang Denk
2010-01-05 8:55 ` Pedanekar, Hemant
2010-01-05 9:58 ` Wolfgang Denk
2010-01-18 14:51 ` Pedanekar, Hemant
2010-01-19 13:04 ` Detlev Zundel
2010-01-21 11:58 ` Pedanekar, Hemant
2010-01-28 9:54 ` Pedanekar, Hemant
2010-01-28 11:00 ` Wolfgang Denk
2010-01-04 9:47 ` [U-Boot] [PATCH] TI DaVinci: Driver for the davinci SPI controller Nick Thompson
2010-01-04 10:42 ` Sudhakar Rajashekhara
2010-01-04 19:50 ` Dirk Behme
2010-01-05 0:20 ` Mike Frysinger
2010-03-05 6:47 ` Mansoor
2010-03-07 12:38 ` Dirk Behme [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=4B939E2E.10603@googlemail.com \
--to=dirk.behme@googlemail.com \
--cc=u-boot@lists.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