Skip to content

Commit

Permalink
spi/imx: Add i.MX53 support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yong Shen authored and Grant Likely committed Jan 13, 2011
1 parent 50c01fc commit 77e7bc6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/spi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,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"
Expand Down
6 changes: 6 additions & 0 deletions drivers/spi/spi_imx.c
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,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 */
}
Expand Down

0 comments on commit 77e7bc6

Please sign in to comment.