[PATCH 0/3] Add mxs spi driver and mx28evk as its first user

Michael Grzeschik m.grzeschik at pengutronix.de
Mon Feb 4 12:26:18 EST 2013


this series adds support for the mxs spi driver
and adds the mx28evk as the first user to use it
with an m25p80 flash memory.

The driver was tested to work with the pio mode,
as its implementation has currently no dma support.

The SSP clock needed to be lower than the max possible
frequency for the flash. Otherwise it sometimes, after
a lot of spi transactions, the SSP stopped working.

Michael Grzeschik (3):
  mxs: ssp move to common register layout
  mxs_spi: initial commit
  mx28evk: add m25p80 flash via ssp2

 arch/arm/boards/freescale-mx28-evk/mx28-evk.c |   28 +++
 arch/arm/mach-mxs/include/mach/imx23-regs.h   |   16 ++
 arch/arm/mach-mxs/include/mach/imx28-regs.h   |   21 ++
 arch/arm/mach-mxs/include/mach/ssp.h          |   79 +++++++
 drivers/mci/mxs.c                             |  118 +---------
 drivers/spi/Kconfig                           |    5 +
 drivers/spi/Makefile                          |    1 +
 drivers/spi/mxs_spi.c                         |  306 +++++++++++++++++++++++++
 8 files changed, 457 insertions(+), 117 deletions(-)
 create mode 100644 arch/arm/mach-mxs/include/mach/ssp.h
 create mode 100644 drivers/spi/mxs_spi.c

-- 
1.7.10.4




More information about the barebox mailing list