[PATCH v6 5/6] dt-bindings: power: Extend RPMh power controller binding to describe thermal warming device

From: Thara Gopinath
Date: Wed Jun 03 2020 - 21:53:42 EST

RPMh power controller hosts mx domain that can be used as thermal warming
device. Add #cooling-cells property to the power domain provider node to
indicate this.

Signed-off-by: Thara Gopinath <thara.gopinath@xxxxxxxxxx>
Acked-by: Rob Herring <robh@xxxxxxxxxx>

- Removed subnode to indicate that mx power domain is a warming
device. Instead #cooling-cells is used as a power domain
provider property to indicate if the provider hosts a power
domain that can be used as a warming device.

Moved the property from .txt format to .yaml format.

Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
index 8058955fb3b9..a4fbbd88ce18 100644
--- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
+++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml
@@ -28,6 +28,9 @@ properties:
const: 1

+ '#cooling-cells':
+ const: 2
operating-points-v2: true