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

Commit 7b45ef9b authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

bindings: pmic-glink: add protection domain restart (PDR) support

Add "qcom,protection-domain" for PMIC Glink device so that it can
register for PDR notifications from a service available under the
specified path in a remote subsystem. Upon a state transition, it
can be delivered to its clients if they've registered for it.

Change-Id: I1ceb0b9400c83e9132ea22ca9fbb4ad3b6c3b33c
parent 230630d6
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -22,6 +22,13 @@ remote subsystem (e.g. DSP) over Glink channel.
		    notifications should be handled and state transitions be
		    sent to the clients.

- qcom,protection-domain:
	Usage: optional
	Value type: <stringlist>
	Definition: should be the protection domain service name and path name
		    for which notifications should be handled and state
		    transitions be sent to the clients.

Refer to Documentation/devicetree/bindings/soc/qcom/qcom,glink.txt for
information on rpmsg device ("qcom,pmic_glink_rpmsg" used in the example below)
that needs to be specified under a glink device.
@@ -50,6 +57,7 @@ after the PMIC Glink device initializes.
		compatible = "qcom,pmic-glink";
		qcom,pmic-glink-channel = "PMIC_RTR_ADSP_APPS";
		qcom,subsys-name = "adsp";
		qcom,protection-domain = "tms/servreg", "msm/adsp/charger_pd";

		qcom,batt_chg {
			compatible = "qcom,battery-charger";