Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / clock / qcom,rpmhcc.yaml
1 # SPDX-License-Identifier: GPL-2.0-only
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/clock/qcom,rpmhcc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Qualcomm Technologies, Inc. RPMh Clocks Bindings
8
9 maintainers:
10   - Taniya Das <tdas@codeaurora.org>
11
12 description: |
13   Resource Power Manager Hardened (RPMh) manages shared resources on
14   some Qualcomm Technologies Inc. SoCs. It accepts clock requests from
15   other hardware subsystems via RSC to control clocks.
16
17 properties:
18   compatible:
19     enum:
20       - qcom,sc7180-rpmh-clk
21       - qcom,sc7280-rpmh-clk
22       - qcom,sc8180x-rpmh-clk
23       - qcom,sdm845-rpmh-clk
24       - qcom,sdx55-rpmh-clk
25       - qcom,sm8150-rpmh-clk
26       - qcom,sm8250-rpmh-clk
27       - qcom,sm8350-rpmh-clk
28
29   clocks:
30     maxItems: 1
31
32   clock-names:
33     items:
34       - const: xo
35
36   '#clock-cells':
37     const: 1
38
39 required:
40   - compatible
41   - '#clock-cells'
42
43 additionalProperties: false
44
45 examples:
46   # Example for GCC for SDM845: The below node should be defined inside
47   # &apps_rsc node.
48   - |
49     #include <dt-bindings/clock/qcom,rpmh.h>
50     rpmhcc: clock-controller {
51       compatible = "qcom,sdm845-rpmh-clk";
52       clocks = <&xo_board>;
53       clock-names = "xo";
54       #clock-cells = <1>;
55     };
56 ...