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

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

ARM: dts: msm: Added gpio control to power on asm330 sensor



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

Change-Id: I3445a9db6c8bd01b5ea02b5e24b2c1829b361003
Signed-off-by: default avatarPuneet Yatnal <puneet@codeaurora.org>
parent d484105d
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
/* Copyright (c) 2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2019-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
@@ -51,8 +51,7 @@
&i2c_4 {
	asm330@6a {
		reg = <0x6b>;
		pinctrl-names = "default";
		pinctrl-0 = <&sensor_enable_default>;
		asm330-enable-gpio = <&tlmm 90 0x1>;
	};
};

+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2017-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
@@ -1762,7 +1762,7 @@
				pins = "gpio90";
				bias-pull-up;
				drive-strength = <16>;
				output-high;
				output-low;
			};
		};
	};