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 1U2PoT-0006qF-QR for barebox@lists.infradead.org; Mon, 04 Feb 2013 17:26:38 +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 1U2PoR-0004Lw-OY for barebox@lists.infradead.org; Mon, 04 Feb 2013 18:26:35 +0100 Received: from mgr by alto.hi.pengutronix.de with local (Exim 4.75) (envelope-from ) id 1U2PoR-0008KC-LN for barebox@lists.infradead.org; Mon, 04 Feb 2013 18:26:35 +0100 From: Michael Grzeschik Date: Mon, 4 Feb 2013 18:26:18 +0100 Message-Id: <1359998781-31956-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 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): 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