...your main source of everything AVR32 Linux
Logon | Register | Print

Navigation

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.

r3 - 20 Jun 2007 - 15:17 - HaavardSkinnemoen
  Attachment Action Size Date Who Comment
else avr32-fix-incorrect-invalidation-of-shared-cachelines.patch props, move 2.0 K 10 Feb 2007 - 15:44 HaavardSkinnemoen [AVR32] Fix incorrect invalidation of shared cachelines
else atmel-spi-driver.patch props, move 24.5 K 10 Feb 2007 - 15:41 HaavardSkinnemoen [PATCH] Atmel SPI controller driver
else avr32-gpio-api-implementation.patch props, move 11.3 K 10 Feb 2007 - 15:47 HaavardSkinnemoen [AVR32] GPIO API implementation
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.
Powered by Wed, 08 Feb 2006 build 8740
Syndicate this site