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
This commit is contained in:
Ashish Chavan 2021-06-30 08:51:37 +05:30 • committed by Gerrit - the friendly Code Review server
commit f65991268d

View file

@ -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>;