dt-bindings: pmic-glink: add subsystem restart (SSR) support

Add "qcom,subsys-name" for PMIC Glink device so that it can
register for SSR notifications and deliver it to the clients when
there is a state transition.

Change-Id: I9f8463b892edea4c81c07397b46fc6cb28f60595
This commit is contained in:
Subbaraman Narayanamurthy 2020-03-23 12:53:59 -07:00
commit 105ba31226

View file

@ -15,6 +15,13 @@ remote subsystem (e.g. DSP) over Glink channel.
Value type: <stringlist>
Definition: should be same as Glink channel name under rpmsg device.
- qcom,subsys-name:
Usage: optional
Value type: <stringlist>
Definition: should be the subsystem name for which subsystem restart
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.
@ -42,6 +49,7 @@ after the PMIC Glink device initializes.
qcom,pmic_glink {
compatible = "qcom,pmic-glink";
qcom,pmic-glink-channel = "PMIC_RTR_ADSP_APPS";
qcom,subsys-name = "adsp";
qcom,batt_chg {
compatible = "qcom,battery-charger";