ARM i.MX31: add SPI support
The i.MX31 SPI interface was refered by freescale as spi_ver_0_4 in one
of their older vendor extended linux releases. spi_ver_0_4 differs only
in minor aspects to spi_ver_0_7 (i.MX35) which is already supported by
barebox.
Regarding barebox, the differences boil down to the location and length
of the CHIP SELECT and BIT COUNT/BURST LENGTH elements of CONREG. The
spi_ver_0_4 variant is limited to single word bursts with a maximum of
32 bits_per_word.

Add support for the i.MX31 SPI interface to the barebox spi_ver_0_7
implementation.

Signed-off-by: Alexander Kurz <akurz@blala.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 0c61905 commit 28a0baffb9e70ed6abf5f1123278f7dfed2ed481
@Alexander Kurz Alexander Kurz authored on 27 Jul 2016
Sascha Hauer committed on 3 Aug 2016
Showing 4 changed files
View
arch/arm/mach-imx/include/mach/devices-imx31.h
View
drivers/spi/Kconfig
View
drivers/spi/imx_spi.c
View
include/spi/imx-spi.h