Lines Matching +full:dynamic +full:- +full:power +full:- +full:coefficient
1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/gpu/arm,mali-midgard.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
14 pattern: '^gpu@[a-f0-9]+$'
17 - items:
18 - enum:
19 - samsung,exynos5250-mali
20 - const: arm,mali-t604
21 - items:
22 - enum:
23 - samsung,exynos5420-mali
24 - const: arm,mali-t628
25 - items:
26 - enum:
27 - allwinner,sun50i-h6-mali
28 - const: arm,mali-t720
29 - items:
30 - enum:
31 - amlogic,meson-gxm-mali
32 - realtek,rtd1295-mali
33 - const: arm,mali-t820
34 - items:
35 - enum:
36 - arm,juno-mali
37 - const: arm,mali-t624
38 - items:
39 - enum:
40 - rockchip,rk3288-mali
41 - samsung,exynos5433-mali
42 - const: arm,mali-t760
43 - items:
44 - enum:
45 - samsung,exynos7-mali
46 - const: samsung,exynos5433-mali
47 - const: arm,mali-t760
48 - items:
49 - enum:
50 - rockchip,rk3399-mali
51 - const: arm,mali-t860
53 # "arm,mali-t830"
54 # "arm,mali-t880"
61 - description: Job interrupt
62 - description: MMU interrupt
63 - description: GPU interrupt
65 interrupt-names:
67 - const: job
68 - const: mmu
69 - const: gpu
75 clock-names:
78 - const: core
79 - const: bus
81 mali-supply: true
82 opp-table:
85 power-domains:
92 operating-points-v2: true
94 "#cooling-cells":
97 dma-coherent: true
99 dynamic-power-coefficient:
102 A u32 value that represents the running time dynamic
103 power coefficient in units of uW/MHz/V^2. The
104 coefficient can either be calculated from power
107 The dynamic power consumption of the GPU is
109 the clock frequency (f). The coefficient is used to
110 calculate the dynamic power as below -
112 Pdyn = dynamic-power-coefficient * V^2 * f
117 - compatible
118 - reg
119 - interrupts
120 - interrupt-names
121 - clocks
126 - if:
130 const: allwinner,sun50i-h6-mali
136 - clock-names
137 - resets
138 - if:
142 const: amlogic,meson-gxm-mali
148 - resets
151 - |
152 #include <dt-bindings/interrupt-controller/irq.h>
153 #include <dt-bindings/interrupt-controller/arm-gic.h>
156 compatible = "rockchip,rk3288-mali", "arm,mali-t760";
161 interrupt-names = "job", "mmu", "gpu";
163 mali-supply = <&vdd_gpu>;
164 operating-points-v2 = <&gpu_opp_table>;
165 power-domains = <&power 0>;
166 #cooling-cells = <2>;
169 gpu_opp_table: opp-table {
170 compatible = "operating-points-v2";
172 opp-533000000 {
173 opp-hz = /bits/ 64 <533000000>;
174 opp-microvolt = <1250000>;
176 opp-450000000 {
177 opp-hz = /bits/ 64 <450000000>;
178 opp-microvolt = <1150000>;
180 opp-400000000 {
181 opp-hz = /bits/ 64 <400000000>;
182 opp-microvolt = <1125000>;
184 opp-350000000 {
185 opp-hz = /bits/ 64 <350000000>;
186 opp-microvolt = <1075000>;
188 opp-266000000 {
189 opp-hz = /bits/ 64 <266000000>;
190 opp-microvolt = <1025000>;
192 opp-160000000 {
193 opp-hz = /bits/ 64 <160000000>;
194 opp-microvolt = <925000>;
196 opp-100000000 {
197 opp-hz = /bits/ 64 <100000000>;
198 opp-microvolt = <912500>;