Skip to content

SPI core refresh

Vitaly Wool lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 of 3 patches 3 repliesIn review

2 of 3 patches are in this archive. The cover letter announces 3.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3SPI core refresh: the coreDocumentation/spi.txt arch/arm/Kconfig drivers/Kconfig +11 more+1739 -01 reply
3/3SPI core refresh: SPI/PNX bus driver and EEPROM driverdrivers/spi/Kconfig drivers/spi/pnx4008-eeprom.c drivers/spi/spipnx-init.h +2 more+706 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 2.6-git 0/3] SPI core refresh

Greetings,

this message fill be followed by the following three ones:
1) updated SPI core from Dmitry Pervushin/Vitaly Wool
2) Atmel MTD dataflash driver port for this core
3) SPI controller driver for Philips SPI controller

This SPI core features:
* multiple SPI controller support
* multiple devices on the same bus support
* DMA support
* DMA-unsafety check
* synchronous and asynchronous transfers
* library for asynchronous transfers on the bus using kernel threads
* character device interface
* custom lightweight SPI message allocation mechanism
* ability to call transfer function from the interrupt context
* no more explicit redundant memory allocations/copys.

The main differences between the previous version and this one:
* handling DMA-unsafe buffer is now completely up to the bus driver
* spi-dev compilation error fixed
* redundant non-NULL check in bus_suspend/bus_resume removed
* mutexes changed to spinlocks in queueing function for spi-thread to make it callable from the interrupt context.

I'd also like to encourage those who interested to use CVS on SourceForge to get the latest updates of the SPI core. The CVS root is ':pserver:[email protected]:/cvsroot/spi-devel', the module to checkout is spi-core. Hope that helps.

Vitaly