[PATCH 1/7] mmc: mxs-mmc: add mmc host driver for i.MX23/28

Lothar Waßmann LW at KARO-electronics.de
Wed Feb 9 02:46:18 EST 2011


Hi Shawn,

Shawn Guo writes:
> This adds the mmc host driver for Freescale MXS-based SoC i.MX23/28.
> The driver calls into mxs-dma via generic dmaengine api for both pio
> and data transfer.
> 
> Signed-off-by: Shawn Guo <shawn.guo at freescale.com>
> ---
>  arch/arm/mach-mxs/include/mach/mmc.h |   15 +
>  drivers/mmc/host/Kconfig             |    9 +
>  drivers/mmc/host/Makefile            |    1 +
>  drivers/mmc/host/mxs-mmc.c           |  884 ++++++++++++++++++++++++++++++++++
>  4 files changed, 909 insertions(+), 0 deletions(-)
>  create mode 100644 arch/arm/mach-mxs/include/mach/mmc.h
>  create mode 100644 drivers/mmc/host/mxs-mmc.c
> 
I've run the mmc-test kernel module with this driver on our TX28
module which fails in the following tests:
|mmc0: Test case 15. Correct xfer_size at write (start failure)...
|mmc0: Result: ERROR (-110)
|mmc0: Test case 16. Correct xfer_size at read (start failure)...
|mmc0: Result: ERROR (-110)
|mmc0: Test case 17. Correct xfer_size at write (midway failure)...
|mmc0: Result: ERROR (-110)
|mmc0: Test case 18. Correct xfer_size at read (midway failure)...
|mmc0: Result: ERROR (-110)

Could you try the test on your hardware?


Best regards,
Lothar Waßmann
-- 
___________________________________________________________

Ka-Ro electronics GmbH | Pascalstraße 22 | D - 52076 Aachen
Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10
Geschäftsführer: Matthias Kaussen
Handelsregistereintrag: Amtsgericht Aachen, HRB 4996

www.karo-electronics.de | info at karo-electronics.de
___________________________________________________________



More information about the linux-arm-kernel mailing list