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

Commit ffb7663e authored by Gustavo Solaira's avatar Gustavo Solaira
Browse files

ARM: dts: msm: Enable mpu6880 accel+gyro for MSM8916 SKUT2



Add mpu6880 6-axis accelerometer+gyro sensor to
the MSM8916 SKUT2 device tree. It uses the mpu6050
driver because they are compatible.

Change-Id: I5fcf0d45193cc1192c35f007e30377c7c9445588
Signed-off-by: default avatarGustavo Solaira <gustavos@codeaurora.org>
parent ab444bfa
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -51,3 +51,23 @@
	qcom,mdss-dsi-pwm-gpio = <&pm8916_mpps 4 0>;
	qcom,cont-splash-enabled;
};

&i2c_0 { /* BLSP1 QUP2 */
	/delete-node/ mcube@4c;

	mpu6050@68 { /* Gyroscope and accelerometer sensor combo */
		compatible = "invn,mpu6880", "invn,mpu6050";
		reg = <0x68>;
		pinctrl-names = "mpu_default","mpu_sleep";
		pinctrl-0 = <&mpu6050_default>;
		pinctrl-1 = <&mpu6050_sleep>;
		interrupt-parent = <&msm_gpio>;
		interrupts = <115 0x2>;
		vlogic-supply = <&pm8916_l6>;
		vdd-supply = <&pm8916_l6>;
		vi2c-supply = <&pm8916_l6>;
		invn,place = "Landscape Right Back Side";
		invn,gpio-int = <&msm_gpio 115 0x2>;
		invn,vdd-min-uv = <1750000>;
	};
};