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

Commit 2bfdc1ba authored by Rishabh Bhatnagar's avatar Rishabh Bhatnagar
Browse files

dt-bindings: Add bindings for pon and poff dependency

A subsystem might depend on other subsystem's state to be powered-on
or powered-off. Hence, add documentation for 'pon-depends-on' and
'poff-depends-on' device-tree properties.

Change-Id: I87ad0be45e8f18d114feb1358d4fa4b856fc5a72
parent 4a307edc
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -77,6 +77,17 @@ Optional properties:
			of contents to access the table of contents for
			additional minidump entries that should be collected
			along with the subsystem's minidump.
- qcom,pon-depends-on: String that indicates the name of the subsystem that has
			to be powered-on before this subsystem is powered-on.
			If the dependednt subsystem is already powered-on,
			regardless of the fact that it's requested to power-on
			explicitly, the framework won't try to power it back up again.

- qcom,poff-depends-on: String that indicates the name of the subsystem that has
			to be powered-off before this subsystem is powered-off.
			If the dependednt subsystem is already powered-off,
			regardless of the fact that it's requested to power-off
			explicitly, the framework won't try to power it off again.

Example:
	qcom,venus@fdce0000 {
@@ -142,4 +153,7 @@ Example:
		qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>;
		qcom,ssctl-instance-id = <14>;
		qcom,sysmon-id = <1>;

		/* Power-off venus before LPASS */
		qcom,poff-depends-on = "venus";
	};