xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,rpmhcc.yaml (revision c7a063741720ef81d4caa4613242579d12f1d605)
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,sc7280-rpmh-clk
22      - qcom,sc8180x-rpmh-clk
23      - qcom,sc8280xp-rpmh-clk
24      - qcom,sdm845-rpmh-clk
25      - qcom,sdx55-rpmh-clk
26      - qcom,sdx65-rpmh-clk
27      - qcom,sm6350-rpmh-clk
28      - qcom,sm8150-rpmh-clk
29      - qcom,sm8250-rpmh-clk
30      - qcom,sm8350-rpmh-clk
31      - qcom,sm8450-rpmh-clk
32
33  clocks:
34    maxItems: 1
35
36  clock-names:
37    items:
38      - const: xo
39
40  '#clock-cells':
41    const: 1
42
43required:
44  - compatible
45  - '#clock-cells'
46
47additionalProperties: false
48
49examples:
50  # Example for GCC for SDM845: The below node should be defined inside
51  # &apps_rsc node.
52  - |
53    #include <dt-bindings/clock/qcom,rpmh.h>
54    rpmhcc: clock-controller {
55      compatible = "qcom,sdm845-rpmh-clk";
56      clocks = <&xo_board>;
57      clock-names = "xo";
58      #clock-cells = <1>;
59    };
60...
61