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

Commit 7e24d201 authored by Raghava Chowdam's avatar Raghava Chowdam Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: sa515m add gpio control to power on asm330 sensor



sa515m add gpio to control the power for asm330 sensor and by default
made gpio low.

Change-Id: I840ec82749255ebe21938097ec2eadf7e5e37920
Signed-off-by: default avatarRaghava Chowdam <rchowdam@codeaurora.org>
parent 0d742a21
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -220,6 +220,7 @@
		reg = <0x6b>;
		pinctrl-names = "default";
		pinctrl-0 = <&sensor_int1_default>,<&sensor_enable_default>;
		asm330-enable-gpio = <&tlmm 87 0x1>;
		interrupt-parent = <&tlmm>;
		interrupts = <84 IRQ_TYPE_EDGE_RISING>;
		st,drdy-int-pin= <2>;
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -1670,7 +1670,7 @@
				pins = "gpio87";
				drive-strength = <16>; /* 16 mA */
				bias-pull-up; /* pull up */
				output-high;
				output-low;
			};
		};