summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx5/devices-imx53.h
diff options
context:
space:
mode:
authorYong Shen <yong.shen@freescale.com>2011-01-07 12:25:33 +0800
committerSascha Hauer <s.hauer@pengutronix.de>2011-01-07 15:20:53 +0100
commit0d7671ee66964760a718aa6d0277453b02a2c9b3 (patch)
tree3d15add1376f1866fc4e6fcf8011f7d6e017457c /arch/arm/mach-mx5/devices-imx53.h
parent639047677b2fc931d6874807a7b596a236071015 (diff)
ARM i.MX53 enable i2c on EVK board
add i2c platform data and clock 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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/devices-imx53.h b/arch/arm/mach-mx5/devices-imx53.h
index dbf1989b451..ca1232bcede 100644
--- a/arch/arm/mach-mx5/devices-imx53.h
+++ b/arch/arm/mach-mx5/devices-imx53.h
@@ -15,3 +15,8 @@ extern const struct imx_fec_data imx53_fec_data __initconst;
extern const struct imx_imx_uart_1irq_data imx53_imx_uart_data[] __initconst;
#define imx53_add_imx_uart(id, pdata) \
imx_add_imx_uart_1irq(&imx53_imx_uart_data[id], pdata)
+
+
+extern const struct imx_imx_i2c_data imx53_imx_i2c_data[] __initconst;
+#define imx53_add_imx_i2c(id, pdata) \
+ imx_add_imx_i2c(&imx53_imx_i2c_data[id], pdata)