diff options
author | Yong Shen <yong.shen@freescale.com> | 2011-01-11 04:21:53 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-01-13 00:50:54 -0500 |
commit | 77e7bc6194655c36d43707ea53b4f86d1f1c8cf5 (patch) | |
tree | cf29f483e1aed47891c6e04184ff402999b3e6cd | |
parent | 50c01fc355c6a97c511d58411f9bc0e4b8fc4659 (diff) |
spi/imx: Add i.MX53 support
1. Change the Kconfig to include i.MX53
2. add devtype entry for i.MX53
Signed-off-by: Yong Shen <yong.shen@freescale.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
-rw-r--r-- | drivers/spi/Kconfig | 4 | ||||
-rw-r--r-- | drivers/spi/spi_imx.c | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 1906840c1113..879b2a974d64 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig | |||
@@ -156,10 +156,10 @@ config SPI_IMX_VER_0_4 | |||
156 | def_bool y if ARCH_MX31 | 156 | def_bool y if ARCH_MX31 |
157 | 157 | ||
158 | config SPI_IMX_VER_0_7 | 158 | config SPI_IMX_VER_0_7 |
159 | def_bool y if ARCH_MX25 || ARCH_MX35 || ARCH_MX51 | 159 | def_bool y if ARCH_MX25 || ARCH_MX35 || ARCH_MX51 || ARCH_MX53 |
160 | 160 | ||
161 | config SPI_IMX_VER_2_3 | 161 | config SPI_IMX_VER_2_3 |
162 | def_bool y if ARCH_MX51 | 162 | def_bool y if ARCH_MX51 || ARCH_MX53 |
163 | 163 | ||
164 | config SPI_IMX | 164 | config SPI_IMX |
165 | tristate "Freescale i.MX SPI controllers" | 165 | tristate "Freescale i.MX SPI controllers" |
diff --git a/drivers/spi/spi_imx.c b/drivers/spi/spi_imx.c index 9469564e6888..1cf9d5faabf4 100644 --- a/drivers/spi/spi_imx.c +++ b/drivers/spi/spi_imx.c | |||
@@ -743,6 +743,12 @@ static struct platform_device_id spi_imx_devtype[] = { | |||
743 | .name = "imx51-ecspi", | 743 | .name = "imx51-ecspi", |
744 | .driver_data = SPI_IMX_VER_2_3, | 744 | .driver_data = SPI_IMX_VER_2_3, |
745 | }, { | 745 | }, { |
746 | .name = "imx53-cspi", | ||
747 | .driver_data = SPI_IMX_VER_0_7, | ||
748 | }, { | ||
749 | .name = "imx53-ecspi", | ||
750 | .driver_data = SPI_IMX_VER_2_3, | ||
751 | }, { | ||
746 | /* sentinel */ | 752 | /* sentinel */ |
747 | } | 753 | } |
748 | }; | 754 | }; |