summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/devices/platform-imx-i2c.c
diff options
context:
space:
mode:
authorJason Liu <r64343@freescale.com>2011-06-16 01:16:17 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:14:10 +0800
commit6c46f836ffbd83f3ea29b15dcfc957d9caff79ca (patch)
treee6799cb8feea5e5bade8a9bafa93d0c3b712936c /arch/arm/plat-mxc/devices/platform-imx-i2c.c
parentd0baea6d7b4b29f72e44eccd52b9df8c2a51f1ee (diff)
downloadlinux-6c46f836ffbd83f3ea29b15dcfc957d9caff79ca.tar.gz
ENGR00139200 MX6Q: Add I2C3,I2C2 device
Add I2C3 device and MAX7310 Add I2C2 device Signed-off-by: Lily Zhang <r58066@freescale.com> Signed-off-by: Jason Liu <r64343@freescale.com> Signed-off-by: Frank Li <Frank.Li@freescale.com>
Diffstat (limited to 'arch/arm/plat-mxc/devices/platform-imx-i2c.c')
-rwxr-xr-xarch/arm/plat-mxc/devices/platform-imx-i2c.c10
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 90738951eb16..d11f52da4ac2 100755
--- a/arch/arm/plat-mxc/devices/platform-imx-i2c.c
+++ b/arch/arm/plat-mxc/devices/platform-imx-i2c.c
@@ -98,6 +98,16 @@ const struct imx_imx_i2c_data imx53_imx_i2c_data[] __initconst = {
};
#endif /* ifdef CONFIG_SOC_IMX51 */
+#ifdef CONFIG_SOC_IMX6Q
+const struct imx_imx_i2c_data imx6q_imx_i2c_data[] __initconst = {
+#define imx6q_imx_i2c_data_entry(_id, _hwid) \
+ imx_imx_i2c_data_entry(MX6Q, _id, _hwid, SZ_4K)
+ imx6q_imx_i2c_data_entry(0, 1),
+ imx6q_imx_i2c_data_entry(1, 2),
+ imx6q_imx_i2c_data_entry(2, 3),
+};
+#endif /* ifdef CONFIG_SOC_IMX6Q */
+
struct platform_device *__init imx_add_imx_i2c(
const struct imx_imx_i2c_data *data,
const struct imxi2c_platform_data *pdata)