summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisheng.Dong <b29396@freescale.com>2010-11-04 15:51:29 +0800
committerJustin Waters <justin.waters@timesys.com>2010-12-13 16:10:40 -0500
commit8af0a2fa2449e3f3154803e5469834367bc22ac6 (patch)
tree2da00ae78352e16562bddb306d582aa46af1cfd2
parent5ec1a962073c1e358116ffe74871395c14ef75ea (diff)
ENGR00127010-2 mxs: change i2c device address
The original defined i2c device address has been shifted 1 to left because i2c bus driver's limitation. This doesn't make much sense. After driver fix, we define its real address now. Signed-off-by: Aisheng.Dong <b29396@freescale.com>
-rw-r--r--arch/arm/mach-mx23/mx23evk.c2
-rw-r--r--arch/arm/mach-mx28/mx28evk.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-mx23/mx23evk.c b/arch/arm/mach-mx23/mx23evk.c
index 44e1e2216f7a..961cda54a5e9 100644
--- a/arch/arm/mach-mx23/mx23evk.c
+++ b/arch/arm/mach-mx23/mx23evk.c
@@ -49,7 +49,7 @@ static struct mxs_mma7450_platform_data mma7450_platdata = {
};
static struct i2c_board_info __initdata mma7450_i2c_device = {
- I2C_BOARD_INFO("mma7450", 0x3A),
+ I2C_BOARD_INFO("mma7450", 0x1d),
.platform_data = (void *)&mma7450_platdata,
};
diff --git a/arch/arm/mach-mx28/mx28evk.c b/arch/arm/mach-mx28/mx28evk.c
index f7dff044c24e..308cace95416 100644
--- a/arch/arm/mach-mx28/mx28evk.c
+++ b/arch/arm/mach-mx28/mx28evk.c
@@ -42,7 +42,7 @@
#include "mx28evk.h"
static struct i2c_board_info __initdata mxs_i2c_device[] = {
- { I2C_BOARD_INFO("sgtl5000-i2c", 0x14), .flags = I2C_M_TEN }
+ { I2C_BOARD_INFO("sgtl5000-i2c", 0xa), .flags = I2C_M_TEN }
};
static void __init i2c_device_init(void)