mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/3] Add mxs spi driver and mx28evk as its first user
@ 2013-02-04 16:26 Michael Grzeschik
  2013-02-04 16:26 ` [PATCH 1/3] mxs: ssp move to common register layout Michael Grzeschik
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Michael Grzeschik @ 2013-02-04 16:26 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):
  mxs: ssp move to common register layout
  mxs_spi: initial commit
  mx28evk: add spi

 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


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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 0/3] Add mxs spi driver and mx28evk as its first user
@ 2013-02-04 17:26 Michael Grzeschik
  2013-02-04 17:26 ` [PATCH 2/3] mxs_spi: initial commit Michael Grzeschik
  0 siblings, 1 reply; 10+ messages in thread
From: Michael Grzeschik @ 2013-02-04 17:26 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):
  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


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

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

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

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-04 16:26 [PATCH 0/3] Add mxs spi driver and mx28evk as its first user Michael Grzeschik
2013-02-04 16:26 ` [PATCH 1/3] mxs: ssp move to common register layout Michael Grzeschik
2013-02-04 16:26 ` [PATCH 2/3] mxs_spi: initial commit Michael Grzeschik
2013-02-04 16:26 ` Michael Grzeschik
2013-02-04 17:10   ` Michael Grzeschik
2013-02-04 17:26 [PATCH 0/3] Add mxs spi driver and mx28evk as its first user Michael Grzeschik
2013-02-04 17:26 ` [PATCH 2/3] mxs_spi: initial commit Michael Grzeschik
2013-02-04 17:57   ` Alexander Aring
2013-02-04 18:15     ` Alexander Aring
2013-02-04 18:18       ` Alexander Aring
2013-02-05  9:22   ` Sascha Hauer

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