linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM i.MX SPI driver changes for i.MX53 support
@ 2011-01-10 12:08 yong.shen at freescale.com
  2011-01-10 12:08 ` [PATCH 2/3] ARM i.MX53 enable spi on EVK board yong.shen at freescale.com
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: yong.shen at freescale.com @ 2011-01-10 12:08 UTC (permalink / raw)
  To: linux-arm-kernel

From: Yong Shen <yong.shen@freescale.com>

1. Change the Kconfig to include i.MX53
2. add devtype entry for i.MX53

Signed-off-by: Yong Shen <yong.shen@freescale.com>
---
 drivers/spi/Kconfig   |    4 ++--
 drivers/spi/spi_imx.c |    6 ++++++
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 78f9fd0..04965e2 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -153,10 +153,10 @@ config SPI_IMX_VER_0_4
 	def_bool y if ARCH_MX31
 
 config SPI_IMX_VER_0_7
-	def_bool y if ARCH_MX25 || ARCH_MX35 || ARCH_MX51
+	def_bool y if ARCH_MX25 || ARCH_MX35 || ARCH_MX51 || ARCH_MX53
 
 config SPI_IMX_VER_2_3
-	def_bool y if ARCH_MX51
+	def_bool y if ARCH_MX51 || ARCH_MX53
 
 config SPI_IMX
 	tristate "Freescale i.MX SPI controllers"
diff --git a/drivers/spi/spi_imx.c b/drivers/spi/spi_imx.c
index 55a38e2..9b8a733 100644
--- a/drivers/spi/spi_imx.c
+++ b/drivers/spi/spi_imx.c
@@ -747,6 +747,12 @@ static struct platform_device_id spi_imx_devtype[] = {
 		.name = "imx51-ecspi",
 		.driver_data = SPI_IMX_VER_2_3,
 	}, {
+		.name = "imx53-cspi",
+		.driver_data = SPI_IMX_VER_0_7,
+	}, {
+		.name = "imx53-ecspi",
+		.driver_data = SPI_IMX_VER_2_3,
+	}, {
 		/* sentinel */
 	}
 };
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-01-11 12:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-10 12:08 [PATCH 1/3] ARM i.MX SPI driver changes for i.MX53 support yong.shen at freescale.com
2011-01-10 12:08 ` [PATCH 2/3] ARM i.MX53 enable spi on EVK board yong.shen at freescale.com
2011-01-11  9:15   ` Uwe Kleine-König
2011-01-11 10:43     ` Sascha Hauer
2011-01-11 12:12       ` Yong Shen
2011-01-10 12:08 ` [PATCH 3/3] ARM i.MX5 uart clock bug fix yong.shen at freescale.com
2011-01-11  9:06 ` [PATCH 1/3] ARM i.MX SPI driver changes for i.MX53 support Sascha Hauer
2011-01-11  9:08   ` Yong Shen
2011-01-11  9:17 ` Uwe Kleine-König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).