2020-06-04 01:57:04

by Thara Gopinath

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

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 <[email protected]>
Acked-by: Rob Herring <[email protected]>
---

v3->v4:
- 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.

v4->v5:
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:
'#power-domain-cells':
const: 1

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

opp-table:
--
2.20.1


2020-06-16 09:24:31

by Ulf Hansson

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

On Thu, 4 Jun 2020 at 03:53, Thara Gopinath <[email protected]> wrote:
>
> 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 <[email protected]>
> Acked-by: Rob Herring <[email protected]>

Reviewed-by: Ulf Hansson <[email protected]>

Kind regards
Uffe


> ---
>
> v3->v4:
> - 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.
>
> v4->v5:
> 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:
> '#power-domain-cells':
> const: 1
>
> + '#cooling-cells':
> + const: 2
> +
> operating-points-v2: true
>
> opp-table:
> --
> 2.20.1
>