forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
50c01fc355
commit
77e7bc6194
|
@ -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"
|
||||
|
|
|
@ -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 */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user