summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml
diff options
context:
space:
mode:
authorLukasz Luba <lukasz.luba@arm.com>2020-12-09 11:51:42 +0000
committerRob Herring <robh@kernel.org>2020-12-14 16:07:09 -0600
commit23dd6845c2cfc2f4aabe6d21a6ed013e0927bf89 (patch)
treecdc94726f0b807cb039dd476ec19edf807a828bf /Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml
parent4aa5b78fb5460adbb876e450ec844e7c1991372d (diff)
dt-bindings: mali-midgard: Add dynamic-power-coefficient
Add a property dynamic-power-coefficient which allows to register Energy Model for the Mali Midgard devices. Signed-off-by: Lukasz Luba <lukasz.luba@arm.com> Link: https://lore.kernel.org/r/20201209115143.15321-2-lukasz.luba@arm.com Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml')
-rw-r--r--Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml
index e9c42b59f30f..696c17aedbbe 100644
--- a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml
+++ b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml
@@ -90,6 +90,23 @@ properties:
dma-coherent: true
+ dynamic-power-coefficient:
+ $ref: '/schemas/types.yaml#/definitions/uint32'
+ description:
+ A u32 value that represents the running time dynamic
+ power coefficient in units of uW/MHz/V^2. The
+ coefficient can either be calculated from power
+ measurements or derived by analysis.
+
+ The dynamic power consumption of the GPU is
+ proportional to the square of the Voltage (V) and
+ the clock frequency (f). The coefficient is used to
+ calculate the dynamic power as below -
+
+ Pdyn = dynamic-power-coefficient * V^2 * f
+
+ where voltage is in V, frequency is in MHz.
+
required:
- compatible
- reg