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
This commit is contained in:
Subbaraman Narayanamurthy 2020-03-26 17:01:31 -07:00
commit 7b45ef9bb6

View file

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