summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhang sanshan <b51434@freescale.com>2015-11-17 10:54:36 +0800
committeryang.tian <yang.tian@nxp.com>2017-09-18 18:31:19 +0800
commit7e8c41bee10bba0fed83be3ae7745fef8096ec6a (patch)
tree7f20bf8bbd260645c7aa87aec5e5c50081ee0c26
parentab20beee86e460c5482db556368156577700e530 (diff)
MA-7226 [Android_6QP_SD]G-sensor: The intial orientation of 6QP_SD is different with 6Q_SD, 90 degree difference. 100%n7.1.2_2.0.0-ga
The position of MMA8451Q on 6qp board is not the same with 6q. Correct the init position value in 6qp sabresd dts. Signed-off-by: zhang sanshan <b51434@freescale.com> Conflicts: arch/arm/boot/dts/imx6qp-sabresd.dts Change-Id: I819a47be1d5ee67748e3b6bf509f5cb7ebb88216
-rw-r--r--arch/arm/boot/dts/imx6qp-sabresd.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6qp-sabresd.dts b/arch/arm/boot/dts/imx6qp-sabresd.dts
index eb8f3906677d..90dbd1099f10 100644
--- a/arch/arm/boot/dts/imx6qp-sabresd.dts
+++ b/arch/arm/boot/dts/imx6qp-sabresd.dts
@@ -83,6 +83,12 @@
};
};
+&i2c1 {
+ mma8451@1c {
+ position = <1>;
+ };
+};
+
&mxcfb1 {
prefetch;
status = "okay";