diff options
author | Yong Shen <yong.shen@freescale.com> | 2011-01-10 13:08:53 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-11 10:07:14 +0100 |
commit | b0a6ba5ffbb52b5e8fccd1a013e770e1b0af03ba (patch) | |
tree | 6b2686389647254f255c5f9750e744a34b070b8f /arch/arm/mach-mx5/devices-imx53.h | |
parent | ARM i.MX27 3ds: Fix mc13783 regulator names (diff) | |
download | linux-b0a6ba5ffbb52b5e8fccd1a013e770e1b0af03ba.tar.xz linux-b0a6ba5ffbb52b5e8fccd1a013e770e1b0af03ba.zip |
ARM i.MX53 enable spi on EVK board
1. some macro definitions fix
2. add platform data for spi device
3. register spi clocks
Signed-off-by: Yong Shen <yong.shen@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5/devices-imx53.h')
-rw-r--r-- | arch/arm/mach-mx5/devices-imx53.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/devices-imx53.h b/arch/arm/mach-mx5/devices-imx53.h index f7c89ef2f667..8639735a117b 100644 --- a/arch/arm/mach-mx5/devices-imx53.h +++ b/arch/arm/mach-mx5/devices-imx53.h @@ -25,3 +25,7 @@ extern const struct imx_sdhci_esdhc_imx_data imx53_sdhci_esdhc_imx_data[] __initconst; #define imx53_add_sdhci_esdhc_imx(id, pdata) \ imx_add_sdhci_esdhc_imx(&imx53_sdhci_esdhc_imx_data[id], pdata) + +extern const struct imx_spi_imx_data imx53_ecspi_data[] __initconst; +#define imx53_add_ecspi(id, pdata) \ + imx_add_spi_imx(&imx53_ecspi_data[id], pdata) |