Re: [Patch v4 6/7] dt-bindings: soc: qcom: Extend RPMh power controller binding to describe thermal warming device

From: Thara Gopinath
Date: Sun Mar 01 2020 - 18:37:50 EST




On 2/4/20 12:41 PM, Ulf Hansson wrote:
On Wed, 20 Nov 2019 at 13:57, Thara Gopinath <thara.gopinath@xxxxxxxxxx> 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 <thara.gopinath@xxxxxxxxxx>

Reviewed-by: Ulf Hansson <ulf.hansson@xxxxxxxxxx>

Thanks! This file does not exist anymore. It has been moved to yaml format! I will resend this in the correct file.


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.

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

diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.txt b/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
index bc75bf4..a193d33 100644
--- a/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
+++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.txt
@@ -19,6 +19,11 @@ Required Properties:
Refer to <dt-bindings/power/qcom-rpmpd.h> for the level values for
various OPPs for different platforms as well as Power domain indexes

+Optional Properties
+ - #cooling-cells: must be 2
+ RPMh also hosts power domains that can behave as thermal warming
+ device. If so, indicate this by specifying #cooling-cells.
+
Example: rpmh power domain controller and OPP table

#include <dt-bindings/power/qcom-rpmhpd.h>
--
2.1.4


--
Warm Regards
Thara