Message ID | 20200604015317.31389-1-thara.gopinath@linaro.org |
---|---|
Headers | show |
Series | Introduce Power domain based warming device driver | expand |
On Thu, 4 Jun 2020 at 03:53, Thara Gopinath <thara.gopinath@linaro.org> 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@linaro.org> > Acked-by: Rob Herring <robh@kernel.org> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> 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 >
Hi! > >>falls below certain threshold. These power domains can be considered as > >>thermal warming devices. (opposite of thermal cooling devices). > > > >Would you explain when this is needed? > > > >I'd normally expect "too low" temperature to be a problem during power-on, but at > >that time Linux is not running so it can not provide the heating... > Hi Pavel, > > This is more in the scenario if the system in on and temperature is dipping > (I have been told in colder climates). Idea is to turn on resources so as to > prevent further dipping of temperature if possible. I guess even that makes sense... But, out of curiosity, do you know which kind of device is that and in what kind of environment? I mean, theoretically it may make sense on a cellphone, but... I guess you have some fun device and would like to know what it is :-). Hmm. And we can make this quite generic. while (too_cold()) barrier(); Wasting power is really easy :-). Pavel