Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77e7bc61 authored by Yong Shen's avatar Yong Shen Committed by Grant Likely
Browse files

spi/imx: Add i.MX53 support



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

Signed-off-by: default avatarYong Shen <yong.shen@freescale.com>
Acked-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 50c01fc3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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"
+6 −0
Original line number Diff line number Diff line
@@ -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 */
	}