From 105ba312268f49b8da1416309fa777cd152e436a Mon Sep 17 00:00:00 2001 From: Subbaraman Narayanamurthy Date: Mon, 23 Mar 2020 12:53:59 -0700 Subject: [PATCH] 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 --- bindings/soc/qcom/qcom,pmic-glink.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bindings/soc/qcom/qcom,pmic-glink.txt b/bindings/soc/qcom/qcom,pmic-glink.txt index 591d522606a5..bc4400659c3e 100644 --- a/bindings/soc/qcom/qcom,pmic-glink.txt +++ b/bindings/soc/qcom/qcom,pmic-glink.txt @@ -15,6 +15,13 @@ remote subsystem (e.g. DSP) over Glink channel. Value type: Definition: should be same as Glink channel name under rpmsg device. +- qcom,subsys-name: + Usage: optional + Value type: + 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";