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

Commit dd2140d8 authored by Dilip Gudlur's avatar Dilip Gudlur
Browse files

ARM: dts: msm: Enable asm330 sensor



Enable dtsi changes for enabling asm330 sensor.

Change-Id: I1d4ad1e531775ee521c012ca732db6dd0fd5071d
Signed-off-by: default avatarDilip Gudlur <dgudlur@codeaurora.org>
parent 94f3b193
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line
@@ -45,6 +45,33 @@
&qupv3_se4_i2c {
	status = "ok";
};

&qupv3_se10_i2c {
	status = "ok";
	asm330@6a {
		compatible = "st,asm330lhh";
		reg = <0x6a>;
		vio-supply = <&pm8150_2_l7>;
		vdd-supply = <&pm8150_2_l16>;
		interrupt-parent = <&tlmm>;
		interrupts = <41 IRQ_TYPE_EDGE_RISING>,
				<42 IRQ_TYPE_EDGE_RISING>;
		pinctrl-names = "default";
		pinctrl-0 = <&sensor_int1_default
			&sensor_int2_default>;
		sensor_int1_default: sensor_int1_default {
			pins = "gpio41";
			drive-strength = <16>;
			bias-pull-up;
		};
		sensor_int2_default: sensor_int2_default {
			pins = "gpio42";
			drive-strength = <16>;
			bias-pull-up;
		};
	};
};

&pil_modem {
	status = "disabled";
};