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

Commit 1e624a99 authored by Puneet Yatnal's avatar Puneet Yatnal Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Enable SMI130 sensor for sdxpoorwills-ttp



Enable SMI130 accelerometer and gyroscope sensor for
sdxpoorwills-ttp devices.

Change-Id: I0ac7c985bb2774dd663cbc387e56ec14bcb30b52
Signed-off-by: default avatarGustavo Solaira <gustavos@codeaurora.org>
Signed-off-by: default avatarPuneet Yatnal <puneet@codeaurora.org>
parent 6a7f4f9a
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -45,6 +45,25 @@
&i2c_4 {
	status = "okay";

	smi130_gyro@68 {
		compatible = "smi130_gyro";
		reg = <0x68>;
		pinctrl-names = "default";
		pinctrl-0 = <&sensor_int1_default>;
		interrupt-parent = <&tlmm>;
		interrupts = <78 IRQ_TYPE_EDGE_RISING>;
		smi130_gyro,gpio_irq = <&tlmm 78 IRQ_TYPE_EDGE_RISING>;
	};

	smi130_acc@18 {
		compatible = "smi130_acc";
		reg = <0x18>;
		pinctrl-names = "default";
		pinctrl-0 = <&sensor_int2_default>;
		interrupt-parent = <&tlmm>;
		interrupts = <79 IRQ_TYPE_EDGE_RISING>;
	};

	iam20680@69 {
	       compatible = "inven,iam20680";
	       reg = <0x69>;