Skip to content

atmel_mci: fixes and cleanup

Jean-Christophe PLAGNIOL-VILLARD barebox 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14atmel_mci: rename atmel_mci_host tp atmel_mcidrivers/mci/atmel_mci.c+21 -210 replies
2/14atmel_mci: rename atmel_mci_readl/writel to atmci_readl/writeldrivers/mci/atmel_mci.c+21 -220 replies
3/14atmel_mci: rename all function to start with atmcidrivers/mci/atmel_mci.c+46 -470 replies
4/14atmel_mci: use linux regs definedrivers/mci/at91_mci.h drivers/mci/atmel-mci-regs.h drivers/mci/atmel_mci.c+221 -1870 replies
5/14atmel_mci: detect IP versiondrivers/mci/atmel_mci.c+32 -00 replies
6/14atmel_mci: version 0x5xx of the IP have a different clk divdrivers/mci/atmel_mci.c+47 -180 replies
7/14atmel_mci: fix host initdrivers/mci/atmel_mci.c+6 -80 replies
8/14atmel_mci: rwproof is only needed since IP version 0x200drivers/mci/atmel_mci.c+9 -12 replies
9/14atmel_mci: on version 0x0 we need to reset the IP at each requestdrivers/mci/atmel_mci.c+10 -00 replies
10/14atmel_mci: after a software timeout the IP need to be resetdrivers/mci/atmel_mci.c+4 -10 replies
11/14atmel_mci: support the SD highspeed since IP version 0x300drivers/mci/atmel_mci.c+24 -00 replies
12/14atmel_mci: update the SD/SDIO Card Register at request timedrivers/mci/atmel_mci.c+11 -50 replies
13/14atmel_mci: drop board host capsarch/arm/boards/at91sam9m10g45ek/init.c arch/arm/boards/dss11/init.c arch/arm/mach-at91/include/mach/board.h +1 more+0 -40 replies
14/14atmel_mci: gpio: request and configure card detectdrivers/mci/atmel_mci.c+25 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [for master PATCH 00/14] atmel_mci: fixes and cleanup

HI,

the following patche series clean and fixes the atmel mci driver

- highspeed support
- use fixup for each IP version
- fix new IP clk div
- sync with linux
- request and configure cd gpio

the atmel mci still does not work on rm9200

The following changes since commit 50d1b2de8ea0f3b8d89fe3a97ce64315996ed4cb:

ARM v7: Fix register corruption in v7_mmu_cache_off (2013-01-23 20:37:56 +0100)

are available in the git repository at:

git://git.jcrosoft.org/barebox.git delivery/atmel_mci

for you to fetch changes up to 282d19eb0d93141fcc50e5c68039a4d1452771d4:

atmel_mci: gpio: request and configure card detect (2013-01-21 16:36:13 +0800)

----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (14):
atmel_mci: rename atmel_mci_host tp atmel_mci
atmel_mci: rename atmel_mci_readl/writel to atmci_readl/writel
atmel_mci: rename all function to start with atmci
atmel_mci: use linux regs define
atmel_mci: detect IP version
atmel_mci: version 0x5xx of the IP have a different clk div
atmel_mci: fix host init
atmel_mci: rwproof is only needed since IP version 0x200
atmel_mci: on version 0x0 we need to reset the IP at each request
atmel_mci: after a software timeout the IP need to be reset
atmel_mci: support the SD highspeed since IP version 0x300
atmel_mci: update the SD/SDIO Card Register at request time
atmel_mci: drop board host caps
atmel_mci: gpio: request and configure card detect

 arch/arm/boards/at91sam9m10g45ek/init.c |    1 -
 arch/arm/boards/dss11/init.c            |    1 -
 arch/arm/mach-at91/include/mach/board.h |    1 -
 drivers/mci/at91_mci.h                  |  121 ----------------------------------
 drivers/mci/atmel-mci-regs.h            |  166 ++++++++++++++++++++++++++++++++++++++++++++++
 drivers/mci/atmel_mci.c                 |  391 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------
 6 files changed, 421 insertions(+), 260 deletions(-)
 delete mode 100644 drivers/mci/at91_mci.h
 create mode 100644 drivers/mci/atmel-mci-regs.h

Best Regards,
J.

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