Skip to content

Commit e33dc2f

Browse files
lukaszluba-armrobherring
authored andcommitted
dt-bindings: mali-bifrost: Add dynamic-power-coefficient
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>
1 parent 23dd684 commit e33dc2f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,23 @@ properties:
5252
"#cooling-cells":
5353
const: 2
5454

55+
dynamic-power-coefficient:
56+
$ref: '/schemas/types.yaml#/definitions/uint32'
57+
description:
58+
A u32 value that represents the running time dynamic
59+
power coefficient in units of uW/MHz/V^2. The
60+
coefficient can either be calculated from power
61+
measurements or derived by analysis.
62+
63+
The dynamic power consumption of the GPU is
64+
proportional to the square of the Voltage (V) and
65+
the clock frequency (f). The coefficient is used to
66+
calculate the dynamic power as below -
67+
68+
Pdyn = dynamic-power-coefficient * V^2 * f
69+
70+
where voltage is in V, frequency is in MHz.
71+
5572
required:
5673
- compatible
5774
- reg

0 commit comments

Comments
 (0)