Message ID | 20200319203427.2259891-2-martin.blumenstingl@googlemail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm: lima: devfreq and cooling device support | expand |
Looks good for me, patch is: Reviewed-by: Qiang Yu <yuq825@gmail.com> Regards, Qiang On Fri, Mar 20, 2020 at 4:35 AM Martin Blumenstingl <martin.blumenstingl@googlemail.com> wrote: > > The GPU can be one of the big heat sources on a SoC. Allow the > "#cooling-cells" property to be specified for ARM Mali Utgard GPUs so > the GPU clock speeds (and voltages) can be reduced to prevent a SoC from > overheating. > > Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> > --- > Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml > index afde81be3c29..33548ca2a759 100644 > --- a/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml > +++ b/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml > @@ -107,6 +107,9 @@ properties: > > operating-points-v2: true > > + "#cooling-cells": > + const: 2 > + > required: > - compatible > - reg > @@ -162,6 +165,7 @@ examples: > clocks = <&ccu 1>, <&ccu 2>; > clock-names = "bus", "core"; > resets = <&ccu 1>; > + #cooling-cells = <2>; > }; > > ... > -- > 2.25.2 >
diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml index afde81be3c29..33548ca2a759 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml +++ b/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml @@ -107,6 +107,9 @@ properties: operating-points-v2: true + "#cooling-cells": + const: 2 + required: - compatible - reg @@ -162,6 +165,7 @@ examples: clocks = <&ccu 1>, <&ccu 2>; clock-names = "bus", "core"; resets = <&ccu 1>; + #cooling-cells = <2>; }; ...
The GPU can be one of the big heat sources on a SoC. Allow the "#cooling-cells" property to be specified for ARM Mali Utgard GPUs so the GPU clock speeds (and voltages) can be reduced to prevent a SoC from overheating. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> --- Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml | 4 ++++ 1 file changed, 4 insertions(+)