Skip to content

atmtel: fix spi driver + rm9200

Jean-Christophe PLAGNIOL-VILLARD barebox 1 version Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8atmel_spi: use device id as bus numdrivers/spi/atmel_spi.c+1 -00 replies
2/8atmel_spi: split transfert to atmel_spi_do_xferdrivers/spi/atmel_spi.c+49 -401 reply
3/8atmel_spi: after setup the cs need to be disabledrivers/spi/atmel_spi.c+16 -130 replies
4/8atmel_spi: add sanity check in setupdrivers/spi/atmel_spi.c+14 -00 replies
5/8atmel_spi: fix cs supportdrivers/spi/atmel_spi.c+100 -220 replies
6/8atmel_spi: drop setup during transferdrivers/spi/atmel_spi.c+0 -50 replies
7/8atmel_spi: add cs change supportdrivers/spi/atmel_spi.c+22 -20 replies
8/8at91rm9200: fix spi cs supportarch/arm/mach-at91/at91rm9200_devices.c+6 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/8] atmtel: fix spi driver + rm9200

HI,

The following changes since commit d74bef2b04a3ccf7339ba916e56830bb2feae957:

mount: add compatibility to old mount command (2012-11-02 21:26:29 +0100)

are available in the git repository at:

git://git.jcrosoft.org/barebox.git tags/atmel_spi_fix

for you to fetch changes up to 7e7b7aa81cdf7e47a8f828818f1e453a27046c38:

at91rm9200: fix spi cs support (2012-11-06 04:39:09 +0800)

----------------------------------------------------------------
atmel spi support fix

The current drivers for atmel have a lot of issues but we are lucky enough if you use it one device + one master instance it will work on most of the spi device

but this will not work on mmc spi or multi-master instance or multi-device

so now fix all those issues
- fix the cs support
- fix setup setup support
- do not call setup before each transfert
- add sanity check

now the atmel spi work on rm9200, mmc spi and at24, at45, eeprom

----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (8):
atmel_spi: use device id as bus num
atmel_spi: split transfert to atmel_spi_do_xfer
atmel_spi: after setup the cs need to be disable
atmel_spi: add sanity check in setup
atmel_spi: fix cs support
atmel_spi: drop setup during transfer
atmel_spi: add cs change support
at91rm9200: fix spi cs support

 arch/arm/mach-at91/at91rm9200_devices.c |    7 ++++++-
 drivers/spi/atmel_spi.c                 |  260 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------
 2 files changed, 196 insertions(+), 71 deletions(-)

Best Regards,
J.

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox