Lines Matching +full:opp +full:- +full:microvolt +full:- +full:speed
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 <[email protected]>
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 - rockchip,rk3576-mali
30 - const: arm,mali-bifrost # Mali Bifrost GPU model/revision is fully discoverable
31 - items:
32 - enum:
33 - mediatek,mt8195-mali
34 - const: mediatek,mt8192-mali
35 - const: arm,mali-valhall-jm # Mali Valhall GPU model/revision is fully discoverable
36 - items:
37 - enum:
38 - mediatek,mt8188-mali
39 - mediatek,mt8192-mali
40 - const: arm,mali-valhall-jm # Mali Valhall GPU model/revision is fully discoverable
48 - description: Job interrupt
49 - description: MMU interrupt
50 - description: GPU interrupt
51 - description: Event interrupt
53 interrupt-names:
56 - const: job
57 - const: mmu
58 - const: gpu
59 - const: event
65 clock-names: true
67 mali-supply: true
69 sram-supply: true
71 operating-points-v2: true
73 power-domains:
77 power-domain-names:
85 reset-names: true
87 "#cooling-cells":
90 dynamic-power-coefficient:
101 calculate the dynamic power as below -
103 Pdyn = dynamic-power-coefficient * V^2 * f
107 dma-coherent: true
109 nvmem-cell-names:
111 - const: speed-bin
113 nvmem-cells:
117 - compatible
118 - reg
119 - interrupts
120 - interrupt-names
121 - clocks
126 - if:
130 const: amlogic,meson-g12a-mali
133 power-domains:
135 power-domain-names: false
137 - resets
138 - if:
143 - renesas,r9a07g044-mali
144 - renesas,r9a07g054-mali
149 interrupt-names:
153 clock-names:
155 - const: gpu
156 - const: bus
157 - const: bus_ace
158 power-domains:
160 power-domain-names: false
163 reset-names:
165 - const: rst
166 - const: axi_rst
167 - const: ace_rst
169 - clock-names
170 - power-domains
171 - resets
172 - reset-names
173 - if:
177 const: mediatek,mt8183-mali
180 power-domains:
183 power-domain-names:
185 - const: core0
186 - const: core1
187 - const: core2
190 - sram-supply
191 - power-domains
192 - power-domain-names
195 sram-supply: false
196 - if:
201 - mediatek,mt8183b-mali
202 - mediatek,mt8188-mali
205 power-domains:
208 power-domain-names:
210 - const: core0
211 - const: core1
212 - const: core2
214 - power-domains
215 - power-domain-names
216 - if:
220 const: mediatek,mt8186-mali
223 power-domains:
226 power-domain-names:
228 - const: core0
229 - const: core1
231 - power-domains
232 - power-domain-names
233 - if:
237 const: mediatek,mt8192-mali
240 power-domains:
242 power-domain-names:
244 - const: core0
245 - const: core1
246 - const: core2
247 - const: core3
248 - const: core4
250 - power-domains
251 - power-domain-names
252 - if:
256 const: rockchip,rk3568-mali
261 clock-names:
263 - const: gpu
264 - const: bus
265 power-domains:
267 power-domain-names: false
269 - clock-names
272 - |
273 #include <dt-bindings/interrupt-controller/irq.h>
274 #include <dt-bindings/interrupt-controller/arm-gic.h>
277 compatible = "amlogic,meson-g12a-mali", "arm,mali-bifrost";
282 interrupt-names = "job", "mmu", "gpu";
284 mali-supply = <&vdd_gpu>;
285 operating-points-v2 = <&gpu_opp_table>;
289 gpu_opp_table: opp-table {
290 compatible = "operating-points-v2";
292 opp-533000000 {
293 opp-hz = /bits/ 64 <533000000>;
294 opp-microvolt = <1250000>;
296 opp-450000000 {
297 opp-hz = /bits/ 64 <450000000>;
298 opp-microvolt = <1150000>;
300 opp-400000000 {
301 opp-hz = /bits/ 64 <400000000>;
302 opp-microvolt = <1125000>;
304 opp-350000000 {
305 opp-hz = /bits/ 64 <350000000>;
306 opp-microvolt = <1075000>;
308 opp-266000000 {
309 opp-hz = /bits/ 64 <266000000>;
310 opp-microvolt = <1025000>;
312 opp-160000000 {
313 opp-hz = /bits/ 64 <160000000>;
314 opp-microvolt = <925000>;
316 opp-100000000 {
317 opp-hz = /bits/ 64 <100000000>;
318 opp-microvolt = <912500>;