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-bifrost.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
14 pattern: '^gpu@[a-f0-9]+$'
18 - items:
19 - enum:
20 - amlogic,meson-g12a-mali
21 - mediatek,mt8183-mali
22 - mediatek,mt8183b-mali
23 - mediatek,mt8186-mali
24 - realtek,rtd1619-mali
25 - renesas,r9a07g044-mali
26 - renesas,r9a07g054-mali
27 - rockchip,px30-mali
28 - rockchip,rk3568-mali
29 - const: arm,mali-bifrost # Mali Bifrost GPU model/revision is fully discoverable
30 - items:
31 - enum:
32 - mediatek,mt8195-mali
33 - const: mediatek,mt8192-mali
34 - const: arm,mali-valhall-jm # Mali Valhall GPU model/revision is fully discoverable
35 - items:
36 - enum:
37 - mediatek,mt8188-mali
38 - mediatek,mt8192-mali
39 - const: arm,mali-valhall-jm # Mali Valhall GPU model/revision is fully discoverable
47 - description: Job interrupt
48 - description: MMU interrupt
49 - description: GPU interrupt
50 - description: Event interrupt
52 interrupt-names:
55 - const: job
56 - const: mmu
57 - const: gpu
58 - const: event
64 clock-names: true
66 mali-supply: true
68 sram-supply: true
70 operating-points-v2: true
72 power-domains:
76 power-domain-names:
84 reset-names: true
86 "#cooling-cells":
89 dynamic-power-coefficient:
92 A u32 value that represents the running time dynamic
93 power coefficient in units of uW/MHz/V^2. The
94 coefficient can either be calculated from power
97 The dynamic power consumption of the GPU is
99 the clock frequency (f). The coefficient is used to
100 calculate the dynamic power as below -
102 Pdyn = dynamic-power-coefficient * V^2 * f
106 dma-coherent: true
108 nvmem-cell-names:
110 - const: speed-bin
112 nvmem-cells:
116 - compatible
117 - reg
118 - interrupts
119 - interrupt-names
120 - clocks
125 - if:
129 const: amlogic,meson-g12a-mali
132 power-domains:
134 power-domain-names: false
136 - resets
137 - if:
142 - renesas,r9a07g044-mali
143 - renesas,r9a07g054-mali
148 interrupt-names:
152 clock-names:
154 - const: gpu
155 - const: bus
156 - const: bus_ace
157 power-domains:
159 power-domain-names: false
162 reset-names:
164 - const: rst
165 - const: axi_rst
166 - const: ace_rst
168 - clock-names
169 - power-domains
170 - resets
171 - reset-names
172 - if:
176 const: mediatek,mt8183-mali
179 power-domains:
182 power-domain-names:
184 - const: core0
185 - const: core1
186 - const: core2
189 - sram-supply
190 - power-domains
191 - power-domain-names
194 sram-supply: false
195 - if:
200 - mediatek,mt8183b-mali
201 - mediatek,mt8188-mali
204 power-domains:
207 power-domain-names:
209 - const: core0
210 - const: core1
211 - const: core2
213 - power-domains
214 - power-domain-names
215 - if:
219 const: mediatek,mt8186-mali
222 power-domains:
225 power-domain-names:
227 - const: core0
228 - const: core1
230 - power-domains
231 - power-domain-names
232 - if:
236 const: mediatek,mt8192-mali
239 power-domains:
241 power-domain-names:
243 - const: core0
244 - const: core1
245 - const: core2
246 - const: core3
247 - const: core4
249 - power-domains
250 - power-domain-names
251 - if:
255 const: rockchip,rk3568-mali
260 clock-names:
262 - const: gpu
263 - const: bus
264 power-domains:
266 power-domain-names: false
268 - clock-names
271 - |
272 #include <dt-bindings/interrupt-controller/irq.h>
273 #include <dt-bindings/interrupt-controller/arm-gic.h>
276 compatible = "amlogic,meson-g12a-mali", "arm,mali-bifrost";
281 interrupt-names = "job", "mmu", "gpu";
283 mali-supply = <&vdd_gpu>;
284 operating-points-v2 = <&gpu_opp_table>;
288 gpu_opp_table: opp-table {
289 compatible = "operating-points-v2";
291 opp-533000000 {
292 opp-hz = /bits/ 64 <533000000>;
293 opp-microvolt = <1250000>;
295 opp-450000000 {
296 opp-hz = /bits/ 64 <450000000>;
297 opp-microvolt = <1150000>;
299 opp-400000000 {
300 opp-hz = /bits/ 64 <400000000>;
301 opp-microvolt = <1125000>;
303 opp-350000000 {
304 opp-hz = /bits/ 64 <350000000>;
305 opp-microvolt = <1075000>;
307 opp-266000000 {
308 opp-hz = /bits/ 64 <266000000>;
309 opp-microvolt = <1025000>;
311 opp-160000000 {
312 opp-hz = /bits/ 64 <160000000>;
313 opp-microvolt = <925000>;
315 opp-100000000 {
316 opp-hz = /bits/ 64 <100000000>;
317 opp-microvolt = <912500>;