From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1U3RSu-0007pf-73 for barebox@lists.infradead.org; Thu, 07 Feb 2013 13:24:37 +0000 Received: from alto.hi.pengutronix.de ([2001:6f8:1178:2:219:99ff:fe56:9d4]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1U3RSs-0001oS-9Y for barebox@lists.infradead.org; Thu, 07 Feb 2013 14:24:34 +0100 Received: from mgr by alto.hi.pengutronix.de with local (Exim 4.75) (envelope-from ) id 1U3RSs-0007wd-6U for barebox@lists.infradead.org; Thu, 07 Feb 2013 14:24:34 +0100 From: Michael Grzeschik Date: Thu, 7 Feb 2013 14:24:23 +0100 Message-Id: <1360243466-30498-1-git-send-email-m.grzeschik@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v3 0/3] Add mxs spi driver and mx28evk as its first user To: barebox@lists.infradead.org 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