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

Commit 77f9cccd authored by Shantanu Jain's avatar Shantanu Jain
Browse files

ARM: dts: msm: add DT property for sync write delay for WLED



Add DT property for sync write delay for WLED module, which is needed
between two consecutive sync register writes, for MSM8937 MTP
and CDP that uses PMI8950 and PMI8937.

Change-Id: Ib7078948f286f7b949f1cbbd0b42be5b89df2c6a
Signed-off-by: default avatarShantanu Jain <shjain@codeaurora.org>
parent def62666
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/*
 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
 * Copyright (c) 2015-2016, 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
@@ -393,7 +393,7 @@
			#pwm-cells = <2>;
		};

		qcom,leds@d800 {
		wled: qcom,leds@d800 {
			compatible = "qcom,qpnp-wled";
			reg = <0xd800 0x100>,
				<0xd900 0x100>;
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
/* Copyright (c) 2015-2016, 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
@@ -494,7 +494,7 @@

		};

		qcom,leds@d800 {
		wled: qcom,leds@d800 {
			compatible = "qcom,qpnp-wled";
			reg = <0xd800 0x100>,
				<0xd900 0x100>,
+4 −0
Original line number Diff line number Diff line
@@ -23,6 +23,10 @@
	qcom,follow-otst2-rb-disabled;
};

&wled {
	qcom,cons-sync-write-delay-us = <1000>;
};

&pm8937_gpios {
	gpio@c100 {
		qcom,mode = <0>;
+5 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
 * Copyright (c) 2015-2016, 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
@@ -23,6 +23,10 @@
	qcom,follow-otst2-rb-disabled;
};

&wled {
	qcom,cons-sync-write-delay-us = <1000>;
};

&soc {
	gpio_keys {
		compatible = "gpio-keys";