xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/priority_control_manager.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
2#
3# (C) COPYRIGHT 2020-2021 ARM Limited. All rights reserved.
4#
5# This program is free software and is provided to you under the terms of the
6# GNU General Public License version 2 as published by the Free Software
7# Foundation, and any use by you of this program is subject to the terms
8# of such GNU license.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this program; if not, you can access it online at
17# http://www.gnu.org/licenses/gpl-2.0.html.
18#
19#
20
21* Arm priority control manager for Mali GPU device drivers
22
23Required properties:
24
25- compatible: Must be "arm,priority-control-manager"
26
27An example node:
28
29        gpu_priority_control_manager: priority-control-manager {
30                compatible = "arm,priority-control-manager";
31        };
32
33It must be referenced by the GPU as well, see priority-control-manager:
34
35	gpu: gpu@0x6e000000 {
36		compatible = "arm,mali-midgard";
37		reg = <0x0 0x6e000000 0x0 0x200000>;
38		interrupts = <0 168 4>, <0 168 4>, <0 168 4>;
39		interrupt-names = "JOB", "MMU", "GPU";
40		clocks = <&scpi_dvfs 2>;
41		clock-names = "clk_mali";
42		system-coherency = <31>;
43		priority-control-manager = <&gpu_priority_control_manager>;
44		operating-points = <
45			/* KHz uV */
46			50000 820000
47		>;
48	};
49