Merge tag 'block-5.14-2021-08-07' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / arm / rockchip / pmu.yaml
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/arm/rockchip/pmu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Rockchip Power Management Unit (PMU)
8
9 maintainers:
10   - Elaine Zhang <zhangqing@rock-chips.com>
11   - Heiko Stuebner <heiko@sntech.de>
12
13 description: |
14   The PMU is used to turn on and off different power domains of the SoCs.
15   This includes the power to the CPU cores.
16
17 select:
18   properties:
19     compatible:
20       contains:
21         enum:
22           - rockchip,px30-pmu
23           - rockchip,rk3066-pmu
24           - rockchip,rk3288-pmu
25           - rockchip,rk3399-pmu
26
27   required:
28     - compatible
29
30 properties:
31   compatible:
32     items:
33       - enum:
34           - rockchip,px30-pmu
35           - rockchip,rk3066-pmu
36           - rockchip,rk3288-pmu
37           - rockchip,rk3399-pmu
38       - const: syscon
39       - const: simple-mfd
40
41   reg:
42     maxItems: 1
43
44 required:
45   - compatible
46   - reg
47
48 additionalProperties: true
49
50 examples:
51   - |
52     pmu@20004000 {
53       compatible = "rockchip,rk3066-pmu", "syscon", "simple-mfd";
54       reg = <0x20004000 0x100>;
55     };