diff options
author | Richard Zhao <richard.zhao@freescale.com> | 2011-01-14 04:48:04 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-19 03:58:21 -0500 |
commit | 98b7d550f292ae96f1058f19b83aadd6985a6fa0 (patch) | |
tree | 1778e3bfa4aeaf75761fef678b13e54725ac4458 /arch/arm/plat-mxc/devices | |
parent | 82c520dccf7fd5afcd95b941f48c25f38c162c77 (diff) |
arm: mx50_rdp: add i2c bus support
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/devices')
-rw-r--r-- | arch/arm/plat-mxc/devices/platform-imx-i2c.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-imx-i2c.c b/arch/arm/plat-mxc/devices/platform-imx-i2c.c index 7ba94e1bbda3..2ab74f0da9a6 100644 --- a/arch/arm/plat-mxc/devices/platform-imx-i2c.c +++ b/arch/arm/plat-mxc/devices/platform-imx-i2c.c | |||
@@ -69,6 +69,16 @@ const struct imx_imx_i2c_data imx35_imx_i2c_data[] __initconst = { | |||
69 | }; | 69 | }; |
70 | #endif /* ifdef CONFIG_SOC_IMX35 */ | 70 | #endif /* ifdef CONFIG_SOC_IMX35 */ |
71 | 71 | ||
72 | #ifdef CONFIG_SOC_IMX50 | ||
73 | const struct imx_imx_i2c_data imx50_imx_i2c_data[] __initconst = { | ||
74 | #define imx50_imx_i2c_data_entry(_id, _hwid) \ | ||
75 | imx_imx_i2c_data_entry(MX50, _id, _hwid, SZ_4K) | ||
76 | imx50_imx_i2c_data_entry(0, 1), | ||
77 | imx50_imx_i2c_data_entry(1, 2), | ||
78 | imx50_imx_i2c_data_entry(2, 3), | ||
79 | }; | ||
80 | #endif /* ifdef CONFIG_SOC_IMX51 */ | ||
81 | |||
72 | #ifdef CONFIG_SOC_IMX51 | 82 | #ifdef CONFIG_SOC_IMX51 |
73 | const struct imx_imx_i2c_data imx51_imx_i2c_data[] __initconst = { | 83 | const struct imx_imx_i2c_data imx51_imx_i2c_data[] __initconst = { |
74 | #define imx51_imx_i2c_data_entry(_id, _hwid) \ | 84 | #define imx51_imx_i2c_data_entry(_id, _hwid) \ |