From 1d568e12617a6d6683f5c5748ffe7d593ddbc820 Mon Sep 17 00:00:00 2001 From: David Collins Date: Tue, 17 Mar 2020 16:34:26 -0700 Subject: [PATCH] bindings: spmi: spmi-pmic-arb: define consumer qcom,pmic-arb property Add a definition for the qcom,pmic-arb property which can be used by consumer devices to reference an spmi-pmic-arb device. Change-Id: Ib891890c4892446aff1c5d4cba133efd6f239b9e --- bindings/spmi/qcom,spmi-pmic-arb.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/bindings/spmi/qcom,spmi-pmic-arb.txt b/bindings/spmi/qcom,spmi-pmic-arb.txt index 63325071..58982ec6 100644 --- a/bindings/spmi/qcom,spmi-pmic-arb.txt +++ b/bindings/spmi/qcom,spmi-pmic-arb.txt @@ -44,9 +44,14 @@ Optional properties: cell 4: interrupt flags indicating level-sense information, as defined in dt-bindings/interrupt-controller/irq.h +Consumer node optional properties: +- qcom,pmic-arb : phandle for an spmi-pmic-arb device. This can be used by + consumer devices that are not PMIC devices but which need to + reference an spmi-pmic-arb device. + Example: - spmi { + spmi_bus: spmi { compatible = "qcom,spmi-pmic-arb"; reg-names = "core", "intr", "cnfg"; reg = <0xfc4cf000 0x1000>, @@ -65,3 +70,7 @@ Example: interrupt-controller; #interrupt-cells = <4>; }; + + &display { + qcom,pmic-arb = <&spmi_bus>; + };