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

Commit f6599126 authored by Ashish Chavan's avatar Ashish Chavan Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add support to sync charger/qg probe with vadc

Observing probe defer and other related error to happen when
Charger or QG tries to probe before vadc. Fix this by adding
a dependency in DT for these drivers with "*-supply".

Change-Id: Ic4a7917a7aa84503dc9dcb8bc789768552077106
parent 2f99d94e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@

		pm7250b_charger: qcom,qpnp-smb5 {
			compatible = "qcom,pm7250b-smb5";
			depends-on-supply = <&pm7250b_vadc>;
			#address-cells = <1>;
			#size-cells = <0>;
			#cooling-cells = <2>;
@@ -181,6 +182,7 @@

		pm7250b_qg: qpnp,qg {
			compatible = "qcom,pm7250b-qg";
			depends-on-supply = <&pm7250b_vadc>;
			#address-cells = <1>;
			#size-cells = <0>;