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

Commit d1c49c5e authored by Ashay Jaiswal's avatar Ashay Jaiswal
Browse files

ARM: dts: msm: fix order of otg regulator declaration for PMI8950/37



SPMI of_parser stops parsing the SPMI child nodes when it encounters a
non-SPMI child node, thus OTG regulator should be defined at the end of
the charger node after the declaration of all charger peripherals.

Change-Id: Ie2892ab9c8f6ca0d446a9d579cbf94447f812dcb
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
parent 8cd988e4
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -178,10 +178,6 @@
			qcom,parallel-allowed-lowering-ma = <500>;
			qcom,pmic-revid = <&pmi8937_revid>;

			smbcharger_charger_otg: qcom,smbcharger-boost-otg {
				regulator-name = "smbcharger_charger_otg";
			};

			qcom,chgr@1000 {
				reg = <0x1000 0x100>;
				interrupts =	<0x2 0x10 0x0>,
@@ -271,6 +267,10 @@
							"otst2",
							"otst3";
			};

			smbcharger_charger_otg: qcom,smbcharger-boost-otg {
				regulator-name = "smbcharger_charger_otg";
			};
		};

		pmi8937_fg: qcom,fg {
+4 −4
Original line number Diff line number Diff line
@@ -207,10 +207,6 @@
			qcom,enable-hvdcp-9v;
			qcom,pmic-revid = <&pmi8950_revid>;

			smbcharger_charger_otg: qcom,smbcharger-boost-otg {
				regulator-name = "smbcharger_charger_otg";
			};

			qcom,chgr@1000 {
				reg = <0x1000 0x100>;
				interrupts =	<0x2 0x10 0x0>,
@@ -300,6 +296,10 @@
							"otst2",
							"otst3";
			};

			smbcharger_charger_otg: qcom,smbcharger-boost-otg {
				regulator-name = "smbcharger_charger_otg";
			};
		};

		pmi8950_fg: qcom,fg {