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

Commit 2cc1bb80 authored by Bingzhe Cai's avatar Bingzhe Cai
Browse files

ARM: dts: msm: enable MPU6050 for 8916SKUI



Enable MPU6050 accelerometer + gyroscope sensor combo
for 8916SKUI.

CRs-fixed: 655796
Change-Id: Idaf7fc2567b9e7557f6b12bf3779fb09712e38b6
Signed-off-by: default avatarBingzhe Cai <bingzhec@codeaurora.org>
parent 690f8e74
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
@@ -162,6 +162,17 @@
			  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 */
@@ -208,6 +219,18 @@
		mmc,dir = <1>;
		mmc,auto-report;
	};

	mpu6050@68 {
		compatible = "invn,mpu6050";
		reg = <0x68>;
		pinctrl-names = "default";
		pinctrl-0 = <&mpu6050_default>;
		interrupt-parent = <&msm_gpio>;
		interrupts = <115 0x2>;
		vdd-supply = <&pm8916_l17>;
		vlogic-supply = <&pm8916_l16>;
		invn,gpio-int = <&msm_gpio 115 0x2>;
	};
};

&sdhc_2 {