Lines Matching +full:px30 +full:- +full:power
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,mt8192-mali
38 - const: arm,mali-valhall-jm # Mali Valhall GPU model/revision is fully discoverable
46 - description: Job interrupt
47 - description: MMU interrupt
48 - description: GPU interrupt
49 - description: Event interrupt
51 interrupt-names:
54 - const: job
55 - const: mmu
56 - const: gpu
57 - const: event
63 clock-names: true
65 mali-supply: true
67 sram-supply: true
69 operating-points-v2: true
71 power-domains:
75 power-domain-names:
83 reset-names: true
85 "#cooling-cells":
88 dynamic-power-coefficient:
92 power coefficient in units of uW/MHz/V^2. The
93 coefficient can either be calculated from power
96 The dynamic power consumption of the GPU is
99 calculate the dynamic power as below -
101 Pdyn = dynamic-power-coefficient * V^2 * f
105 dma-coherent: true
107 nvmem-cell-names:
109 - const: speed-bin
111 nvmem-cells:
115 - compatible
116 - reg
117 - interrupts
118 - interrupt-names
119 - clocks
124 - if:
128 const: amlogic,meson-g12a-mali
131 power-domains:
133 power-domain-names: false
135 - resets
136 - if:
141 - renesas,r9a07g044-mali
142 - renesas,r9a07g054-mali
147 interrupt-names:
151 clock-names:
153 - const: gpu
154 - const: bus
155 - const: bus_ace
156 power-domains:
158 power-domain-names: false
161 reset-names:
163 - const: rst
164 - const: axi_rst
165 - const: ace_rst
167 - clock-names
168 - power-domains
169 - resets
170 - reset-names
171 - if:
175 const: mediatek,mt8183-mali
178 power-domains:
181 power-domain-names:
183 - const: core0
184 - const: core1
185 - const: core2
188 - sram-supply
189 - power-domains
190 - power-domain-names
193 sram-supply: false
194 - if:
198 const: mediatek,mt8183b-mali
201 power-domains:
204 power-domain-names:
206 - const: core0
207 - const: core1
208 - const: core2
210 - power-domains
211 - power-domain-names
212 - if:
216 const: mediatek,mt8186-mali
219 power-domains:
222 power-domain-names:
224 - const: core0
225 - const: core1
227 - power-domains
228 - power-domain-names
229 - if:
233 const: mediatek,mt8192-mali
236 power-domains:
238 power-domain-names:
240 - const: core0
241 - const: core1
242 - const: core2
243 - const: core3
244 - const: core4
246 - power-domains
247 - power-domain-names
248 - if:
252 const: rockchip,rk3568-mali
257 clock-names:
259 - const: gpu
260 - const: bus
261 power-domains:
263 power-domain-names: false
265 - clock-names
268 - |
269 #include <dt-bindings/interrupt-controller/irq.h>
270 #include <dt-bindings/interrupt-controller/arm-gic.h>
273 compatible = "amlogic,meson-g12a-mali", "arm,mali-bifrost";
278 interrupt-names = "job", "mmu", "gpu";
280 mali-supply = <&vdd_gpu>;
281 operating-points-v2 = <&gpu_opp_table>;
285 gpu_opp_table: opp-table {
286 compatible = "operating-points-v2";
288 opp-533000000 {
289 opp-hz = /bits/ 64 <533000000>;
290 opp-microvolt = <1250000>;
292 opp-450000000 {
293 opp-hz = /bits/ 64 <450000000>;
294 opp-microvolt = <1150000>;
296 opp-400000000 {
297 opp-hz = /bits/ 64 <400000000>;
298 opp-microvolt = <1125000>;
300 opp-350000000 {
301 opp-hz = /bits/ 64 <350000000>;
302 opp-microvolt = <1075000>;
304 opp-266000000 {
305 opp-hz = /bits/ 64 <266000000>;
306 opp-microvolt = <1025000>;
308 opp-160000000 {
309 opp-hz = /bits/ 64 <160000000>;
310 opp-microvolt = <925000>;
312 opp-100000000 {
313 opp-hz = /bits/ 64 <100000000>;
314 opp-microvolt = <912500>;