xref: /linux/Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml (revision 4fd18fc38757217c746aa063ba9e4729814dc737)
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
7title: Qualcomm Technologies, Inc. RPMh Clocks Bindings
8
9maintainers:
10  - Taniya Das <tdas@codeaurora.org>
11
12description: |
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
17properties:
18  compatible:
19    enum:
20      - qcom,sc7180-rpmh-clk
21      - qcom,sdm845-rpmh-clk
22      - qcom,sdx55-rpmh-clk
23      - qcom,sm8150-rpmh-clk
24      - qcom,sm8250-rpmh-clk
25      - qcom,sm8350-rpmh-clk
26
27  clocks:
28    maxItems: 1
29
30  clock-names:
31    items:
32      - const: xo
33
34  '#clock-cells':
35    const: 1
36
37required:
38  - compatible
39  - '#clock-cells'
40
41additionalProperties: false
42
43examples:
44  # Example for GCC for SDM845: The below node should be defined inside
45  # &apps_rsc node.
46  - |
47    #include <dt-bindings/clock/qcom,rpmh.h>
48    rpmhcc: clock-controller {
49      compatible = "qcom,sdm845-rpmh-clk";
50      clocks = <&xo_board>;
51      clock-names = "xo";
52      #clock-cells = <1>;
53    };
54...
55