Welcome to AVR32 Linux... Users Groups

Atmel SPI Driver

The Atmel SPI driver, supporting the on-chip SPI controllers on AT32AP7000 , AT91RM9200 and AT91SAM926x , has been submitted and merged in version 2.6.21 of the Linux kernel. The driver as submitted can be found attached to this page. Older version of the driver can be found at the LinuxPatches page.

The driver has been tested using a jffs2 filesystem stored in DataFlash . It is also capable of turning the LCD panel on ATSTK1000 on and off.

Known issues

  • Depends on the arch-independent GPIO API, an implementation of which was merged into mainline along with the AVR32 update for 2.6.21. Implementations for other architectures can be found in the latest -mm, but they will probably get merged before 2.6.21-rc1 as well.
  • Depends on a cache invalidation fix for AVR32 which was also included in the 2.6.21 update. Without this, the driver may cause memory corruption.
  • When CONFIG_DEBUG_SLAB or CONFIG_SLOB is enabled, the DMA buffer for received data may get corrupted. This is a problem with the respective allocators as they don't provide sufficient alignment for DMA buffers, and is not a problem with the driver itself.
  File Size Date By Actions
else atmel-spi-driver.patch
[PATCH] Atmel SPI controller driver
24.5 K 2007-02-10 - 15:41 HaavardSkinnemoen props, move
else avr32-fix-incorrect-invalidation-of-shared-cachelines.patch
[AVR32] Fix incorrect invalidation of shared cachelines
2.0 K 2007-02-10 - 15:44 HaavardSkinnemoen props, move
else avr32-gpio-api-implementation.patch
[AVR32] GPIO API implementation
11.3 K 2007-02-10 - 15:47 HaavardSkinnemoen props, move
r3 - 2007-06-20 - 15:17:46 - HaavardSkinnemoen
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
Atmel®, AVR® and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries.
All other trademarks are the property of their respective owners.
Syndicate this site RSSATOM