From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [RFC/PATCH 3/6] atmel_spi: Driver for the Atmel SPI controller
Date: Thu, 05 Jun 2008 00:06:24 +0200 [thread overview]
Message-ID: <20080604220624.5BC62247CC@gemini.denx.de> (raw)
In-Reply-To: Your message of "Fri, 16 May 2008 11:10:32 +0200." <1210929035-7997-3-git-send-email-haavard.skinnemoen@atmel.com>
In message <1210929035-7997-3-git-send-email-haavard.skinnemoen@atmel.com> you wrote:
> From: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
>
> This adds a driver for the SPI controller found on most AT91 and AVR32
> chips, implementing the new SPI API.
>
> Changed in v4:
> - Update to new API
> - Handle zero-length transfers appropriately. The user may send a
> zero-length SPI transfer with SPI_XFER_END set in order to
> deactivate the chip select after a series of transfers with chip
> select active. This is useful e.g. when polling the status
> register of DataFlash.
>
> Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
> ---
> cpu/at32ap/at32ap700x/gpio.c | 43 +++++
> drivers/spi/Makefile | 1 +
> drivers/spi/atmel_spi.c | 210 +++++++++++++++++++++
> drivers/spi/atmel_spi.h | 95 +++++++++
> include/asm-avr32/arch-at32ap700x/chip-features.h | 1 +
> include/asm-avr32/arch-at32ap700x/clk.h | 6 +
> include/asm-avr32/arch-at32ap700x/gpio.h | 4 +
> 7 files changed, 360 insertions(+), 0 deletions(-)
> create mode 100644 drivers/spi/atmel_spi.c
> create mode 100644 drivers/spi/atmel_spi.h
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
This all sounds complicated, but it mostly does excatly what you ex-
pect. It's just difficult for us to explain what you expect...
- L. Wall & R. L. Schwartz, _Programming Perl_
next prev parent reply other threads:[~2008-06-04 22:06 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-16 9:10 [U-Boot-Users] [RFC/PATCH 1/6] Move definition of container_of() to common.h Haavard Skinnemoen
2008-05-16 9:10 ` [U-Boot-Users] [RFC/PATCH 2/6] SPI API improvements Haavard Skinnemoen
2008-05-16 9:10 ` [U-Boot-Users] [RFC/PATCH 3/6] atmel_spi: Driver for the Atmel SPI controller Haavard Skinnemoen
2008-05-16 9:10 ` [U-Boot-Users] [RFC/PATCH 4/6] SPI Flash subsystem Haavard Skinnemoen
2008-05-16 9:10 ` [U-Boot-Users] [RFC/PATCH 5/6] SPI Flash: Add "sf" command Haavard Skinnemoen
2008-05-16 9:10 ` [U-Boot-Users] [RFC/PATCH 6/6] Add support for environment in SPI flash Haavard Skinnemoen
2008-06-04 22:06 ` Wolfgang Denk
2008-06-05 11:18 ` Haavard Skinnemoen
2008-06-04 22:06 ` [U-Boot-Users] [RFC/PATCH 5/6] SPI Flash: Add "sf" command Wolfgang Denk
2008-06-04 22:06 ` [U-Boot-Users] [RFC/PATCH 4/6] SPI Flash subsystem Wolfgang Denk
2008-06-04 22:06 ` Wolfgang Denk [this message]
2008-05-16 10:41 ` [U-Boot-Users] [RFC/PATCH 2/6] SPI API improvements Guennadi Liakhovetski
2008-05-16 12:22 ` Haavard Skinnemoen
2008-05-16 12:51 ` Guennadi Liakhovetski
2008-05-17 10:56 ` Jean-Christophe PLAGNIOL-VILLARD
2008-05-18 17:37 ` Haavard Skinnemoen
2008-05-26 6:57 ` Ben Warren
2008-06-04 22:06 ` Wolfgang Denk
2008-05-16 9:56 ` [U-Boot-Users] [RFC/PATCH 1/6] Move definition of container_of() to common.h Jean-Christophe PLAGNIOL-VILLARD
2008-06-04 22:06 ` Wolfgang Denk
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=20080604220624.5BC62247CC@gemini.denx.de \
--to=wd@denx.de \
--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