mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Add mxs spi driver and mx28evk as its first user
@ 2013-02-07 13:24 Michael Grzeschik
  2013-02-07 13:24 ` [PATCH v3 1/3] ARM mxs: ssp move to common register layout Michael Grzeschik
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Michael Grzeschik @ 2013-02-07 13:24 UTC (permalink / raw)
  To: barebox

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):
  ARM mxs: ssp move to common register layout
  SPI: Add i.MX 23/28 SPI driver support
  mx28evk: add m25p80 flash via ssp2

 arch/arm/boards/freescale-mx28-evk/mx28-evk.c |   29 +++
 arch/arm/mach-mxs/include/mach/ssp.h          |  120 ++++++++++
 drivers/mci/mxs.c                             |  118 +---------
 drivers/spi/Kconfig                           |    5 +
 drivers/spi/Makefile                          |    1 +
 drivers/spi/mxs_spi.c                         |  289 +++++++++++++++++++++++++
 6 files changed, 445 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


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-02-07 21:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-07 13:24 [PATCH v3 0/3] Add mxs spi driver and mx28evk as its first user Michael Grzeschik
2013-02-07 13:24 ` [PATCH v3 1/3] ARM mxs: ssp move to common register layout Michael Grzeschik
2013-02-07 13:24 ` [PATCH v3 2/3] SPI: Add i.MX 23/28 SPI driver support Michael Grzeschik
2013-02-07 13:24 ` [PATCH v3 3/3] mx28evk: add m25p80 flash via ssp2 Michael Grzeschik
2013-02-07 21:22 ` [PATCH v3 0/3] Add mxs spi driver and mx28evk as its first user Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox