From a211ec54a9a1a059849920f1c8577f69dfc5fe56 Mon Sep 17 00:00:00 2001 From: Subbaraman Narayanamurthy Date: Thu, 7 Nov 2019 17:47:40 -0800 Subject: [PATCH] dt-bindings: pmic-glink: add qcom,pmic-glink-channel property Add "qcom,pmic-glink-channel" property for pmic glink device so that the child devices under it can associate with rpmsg device that is used for Glink channel. Change-Id: I121103506281970fda7f85176fec58119937ab02 --- bindings/soc/qcom/qcom,pmic-glink.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bindings/soc/qcom/qcom,pmic-glink.txt b/bindings/soc/qcom/qcom,pmic-glink.txt index afee278fc9a5..591d522606a5 100644 --- a/bindings/soc/qcom/qcom,pmic-glink.txt +++ b/bindings/soc/qcom/qcom,pmic-glink.txt @@ -10,6 +10,11 @@ remote subsystem (e.g. DSP) over Glink channel. Value type: Definition: must be "qcom,pmic-glink" +- qcom,pmic-glink-channel: + Usage: required + Value type: + Definition: should be same as Glink channel name under rpmsg device. + 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. @@ -36,6 +41,7 @@ after the PMIC Glink device initializes. &soc { qcom,pmic_glink { compatible = "qcom,pmic-glink"; + qcom,pmic-glink-channel = "PMIC_RTR_ADSP_APPS"; qcom,batt_chg { compatible = "qcom,battery-charger";