Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d0b03ab authored by Bingzhe Cai's avatar Bingzhe Cai
Browse files

ARM: dts: msm: add place property to MPU6050 for 8916 SKUI



The MPU6050 driver needs a place property to know the position
of sensor mounting, this change add this property for 8916 SKUI

CRs-fixed: 655796
Change-Id: Idda50089da90741599c237624f05d03b9a7f1f2f
Signed-off-by: default avatarBingzhe Cai <bingzhec@codeaurora.org>
parent 6be94e83
Loading
Loading
Loading
Loading
+3 −12
Original line number Diff line number Diff line
@@ -162,17 +162,6 @@
			  bias-pull-up;
		};
	};

	mpu6050_int_pin {
		qcom,pins = <&gp 115>;
		qcom,pin-func = <0>;
		qcom,num-grp-pins = <1>;
		label = "mpu6050-irq";
		mpu6050_default: mpu6050_default {
			drive-strength = <6>;
			bias-pull-up;
		};
	};
};

&i2c_0 { /* BLSP1 QUP2 */
@@ -223,13 +212,15 @@
	mpu6050@68 {
		compatible = "invn,mpu6050";
		reg = <0x68>;
		pinctrl-names = "default";
		pinctrl-names = "mpu_default","mpu_sleep";
		pinctrl-0 = <&mpu6050_default>;
		pinctrl-1 = <&mpu6050_sleep>;
		interrupt-parent = <&msm_gpio>;
		interrupts = <115 0x2>;
		vdd-supply = <&pm8916_l17>;
		vlogic-supply = <&pm8916_l16>;
		invn,gpio-int = <&msm_gpio 115 0x2>;
		invn,place = "Portrait Up Back Side";
	};
};