.. | .. |
---|
1 | 1 | # SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note |
---|
2 | 2 | # |
---|
3 | | -# (C) COPYRIGHT 2013-2021 ARM Limited. All rights reserved. |
---|
| 3 | +# (C) COPYRIGHT 2013-2022 ARM Limited. All rights reserved. |
---|
4 | 4 | # |
---|
5 | 5 | # This program is free software and is provided to you under the terms of the |
---|
6 | 6 | # GNU General Public License version 2 as published by the Free Software |
---|
.. | .. |
---|
41 | 41 | - mali-supply : Phandle to the top level regulator for the Mali device. |
---|
42 | 42 | Refer to |
---|
43 | 43 | Documentation/devicetree/bindings/regulator/regulator.txt for details. |
---|
44 | | -- shadercores-supply : Phandle to shader cores regulator for the Mali device. |
---|
45 | | - This is optional. |
---|
| 44 | +- mem-supply : Phandle to memory regulator for the Mali device. This is optional. |
---|
46 | 45 | - operating-points-v2 : Refer to Documentation/devicetree/bindings/power/mali-opp.txt |
---|
47 | 46 | for details. |
---|
48 | 47 | - quirks_gpu : Used to write to the JM_CONFIG or CSF_CONFIG register. |
---|
.. | .. |
---|
114 | 113 | Valid values are between 0 to 0x3F (including). |
---|
115 | 114 | - l2-size : Override L2 cache size on GPU that supports it |
---|
116 | 115 | - l2-hash : Override L2 hash function on GPU that supports it |
---|
| 116 | +- l2-hash-values : Override L2 hash function using provided hash values, on GPUs that supports it. |
---|
| 117 | + It is mutually exclusive with 'l2-hash'. Only one or the other must be |
---|
| 118 | + used in a supported GPU. |
---|
117 | 119 | - arbiter_if : Phandle to the arbif platform device, used to provide KBASE with an interface |
---|
118 | 120 | to the Arbiter. This is required when using arbitration; setting to a non-NULL |
---|
119 | 121 | value will enable arbitration. |
---|
.. | .. |
---|
123 | 125 | - #cooling-cells |
---|
124 | 126 | - operating-points-v2 (no dvfs in kbase with arbitration) |
---|
125 | 127 | - system-coherency with a value of 1 (no full coherency with arbitration) |
---|
| 128 | +- int_id_override: list of <ID Setting[7:0]> tuples defining the IDs needed to be |
---|
| 129 | + set and the setting coresponding to the SYSC_ALLOC register. |
---|
126 | 130 | |
---|
127 | 131 | |
---|
128 | | - |
---|
129 | | -Example for a Mali GPU with 1 clock and no regulators: |
---|
| 132 | +Example for a Mali GPU with 1 clock and 1 regulator: |
---|
130 | 133 | |
---|
131 | 134 | gpu@0xfc010000 { |
---|
132 | 135 | compatible = "arm,malit602", "arm,malit60x", "arm,malit6xx", "arm,mali-midgard"; |
---|
.. | .. |
---|
152 | 155 | |
---|
153 | 156 | idvs-group-size = <0x7>; |
---|
154 | 157 | l2-size = /bits/ 8 <0x10>; |
---|
155 | | - l2-hash = /bits/ 8 <0x04>; |
---|
| 158 | + l2-hash = /bits/ 8 <0x04>; /* or l2-hash-values = <0x12345678 0x8765 0xAB>; */ |
---|
156 | 159 | }; |
---|
157 | 160 | |
---|
158 | 161 | gpu_opp_table: opp_table0 { |
---|
.. | .. |
---|
198 | 201 | clocks = <&clk_mali 0>, <&clk_mali 1>; |
---|
199 | 202 | clock-names = "clk_mali", "shadercores"; |
---|
200 | 203 | mali-supply = <&supply0_3v3>; |
---|
201 | | - shadercores-supply = <&supply1_3v3>; |
---|
| 204 | + mem-supply = <&supply1_3v3>; |
---|
202 | 205 | system-coherency = <31>; |
---|
203 | 206 | operating-points-v2 = <&gpu_opp_table>; |
---|
204 | 207 | }; |
---|
.. | .. |
---|
225 | 228 | opp-core-mask = /bits/ 64 <0x3>; |
---|
226 | 229 | }; |
---|
227 | 230 | }; |
---|
| 231 | + |
---|
| 232 | +Example for a Mali GPU supporting PBHA configuration via DTB (default): |
---|
| 233 | + |
---|
| 234 | +gpu@0xfc010000 { |
---|
| 235 | + ... |
---|
| 236 | + pbha { |
---|
| 237 | + int_id_override = <2 0x32>, <9 0x05>, <16 0x32>; |
---|
| 238 | + propagate_bits = <0x03>; |
---|
| 239 | + }; |
---|
| 240 | + ... |
---|
| 241 | +}; |
---|