ARM: dts: qcom: add gh-watchdog dependency to pmic-pon-log device for Sun

Add a dependency between the gh-watchdog and pmic-pon-log devices
for Sun boards.  This ensures that during system boot-up, the driver
responsible for the gh-watchdog device initializes before the one
responsible for the pmic-pon-log device.

This behavior is critical to ensuring that a PMIC warm-reset correctly
occurs in the situation that the qcom,pmic-fault-panic property is
specified for the pmic-pon-log device and the previous system
power-off was caused by a PMIC fault.

Change-Id: I8c40b19ce150ca5bb3cb9514c7d293481a5009af
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
This commit is contained in:
David Collins
2023-12-12 17:27:56 -08:00
parent 1567c4e1e4
commit f1387aade5
2 changed files with 5 additions and 0 deletions

View File

@@ -98,6 +98,7 @@
compatible = "qcom,pmic-pon-log";
nvmem = <&pmk8550_sdam_5>, <&pmk8550_sdam_6>;
nvmem-names = "pon_log0", "pon_log1";
depends-on-supply = <&gh_watchdog>;
};
regulator_ocp_notifier: regulator-ocp-notifier {

View File

@@ -296,6 +296,10 @@
};
soc: soc { };
hypervisor: hypervisor {
gh_watchdog: qcom,gh-watchdog { };
};
};
&firmware {