Skip to content

Commit

Permalink
dt-bindings: mali-bifrost: Add dynamic-power-coefficient
Browse files Browse the repository at this point in the history
Add a property dynamic-power-coefficient which allows to register Energy
Model for the Mali Bifrost devices.

Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Link: https://lore.kernel.org/r/20201209115143.15321-3-lukasz.luba@arm.com
Signed-off-by: Rob Herring <robh@kernel.org>
  • Loading branch information
Lukasz Luba authored and Rob Herring committed Dec 14, 2020
1 parent 23dd684 commit e33dc2f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,23 @@ properties:
"#cooling-cells":
const: 2

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
Expand Down

0 comments on commit e33dc2f

Please sign in to comment.