diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-09-09 15:02:48 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-01 03:32:13 -0400 |
commit | 0b599603d8534bc3946a0f07e461c76d7947dfcf (patch) | |
tree | 18d5b7a0279f54f2f939b1399aca5f443cbc431f /drivers/spi/Kconfig | |
parent | 3b2aa89eb381d2f445aa3c60d8f070a3f55efa63 (diff) |
spi/imx: add support for imx51's eCSPI and CSPI
i.MX51 comes with two eCSPI interfaces (that are quite different from
what was known before---the tried and tested Freescale way) and a CSPI
interface that is identical to the devices found on i.MX25 and i.MX35.
This patch is a merge of two very similar patches (by Jason Wang and Sascha
Hauer resp.) plus a (now hopefully correct) reimplementation of the
clock calculation.
Acked-by: Jason Wang <jason77.wang@gmail.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r-- | drivers/spi/Kconfig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 4e9d77bc7d2f..7e631fa51098 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig | |||
@@ -153,7 +153,10 @@ config SPI_IMX_VER_0_4 | |||
153 | def_bool y if ARCH_MX31 | 153 | def_bool y if ARCH_MX31 |
154 | 154 | ||
155 | config SPI_IMX_VER_0_7 | 155 | config SPI_IMX_VER_0_7 |
156 | def_bool y if ARCH_MX25 || ARCH_MX35 | 156 | def_bool y if ARCH_MX25 || ARCH_MX35 || ARCH_MX51 |
157 | |||
158 | config SPI_IMX_VER_2_3 | ||
159 | def_bool y if ARCH_MX51 | ||
157 | 160 | ||
158 | config SPI_IMX | 161 | config SPI_IMX |
159 | tristate "Freescale i.MX SPI controllers" | 162 | tristate "Freescale i.MX SPI controllers" |