xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,rpmhcc.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,rpmhcc.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7*8bab661aSEmmanuel Vadottitle: Qualcomm Technologies, Inc. RPMh Clocks
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Taniya Das <tdas@codeaurora.org>
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel Vadotdescription: |
13c66ec88fSEmmanuel Vadot  Resource Power Manager Hardened (RPMh) manages shared resources on
14c66ec88fSEmmanuel Vadot  some Qualcomm Technologies Inc. SoCs. It accepts clock requests from
15c66ec88fSEmmanuel Vadot  other hardware subsystems via RSC to control clocks.
16c66ec88fSEmmanuel Vadot
17c66ec88fSEmmanuel Vadotproperties:
18c66ec88fSEmmanuel Vadot  compatible:
19c66ec88fSEmmanuel Vadot    enum:
20*8bab661aSEmmanuel Vadot      - qcom,qdu1000-rpmh-clk
21c66ec88fSEmmanuel Vadot      - qcom,sc7180-rpmh-clk
225def4c47SEmmanuel Vadot      - qcom,sc7280-rpmh-clk
235def4c47SEmmanuel Vadot      - qcom,sc8180x-rpmh-clk
24c9ccf3a3SEmmanuel Vadot      - qcom,sc8280xp-rpmh-clk
257ef62cebSEmmanuel Vadot      - qcom,sdm670-rpmh-clk
26c66ec88fSEmmanuel Vadot      - qcom,sdm845-rpmh-clk
275def4c47SEmmanuel Vadot      - qcom,sdx55-rpmh-clk
28e67e8565SEmmanuel Vadot      - qcom,sdx65-rpmh-clk
29354d7675SEmmanuel Vadot      - qcom,sm6350-rpmh-clk
30c66ec88fSEmmanuel Vadot      - qcom,sm8150-rpmh-clk
31c66ec88fSEmmanuel Vadot      - qcom,sm8250-rpmh-clk
325def4c47SEmmanuel Vadot      - qcom,sm8350-rpmh-clk
33e67e8565SEmmanuel Vadot      - qcom,sm8450-rpmh-clk
34c66ec88fSEmmanuel Vadot
35c66ec88fSEmmanuel Vadot  clocks:
36c66ec88fSEmmanuel Vadot    maxItems: 1
37c66ec88fSEmmanuel Vadot
38c66ec88fSEmmanuel Vadot  clock-names:
39c66ec88fSEmmanuel Vadot    items:
40c66ec88fSEmmanuel Vadot      - const: xo
41c66ec88fSEmmanuel Vadot
42c66ec88fSEmmanuel Vadot  '#clock-cells':
43c66ec88fSEmmanuel Vadot    const: 1
44c66ec88fSEmmanuel Vadot
45c66ec88fSEmmanuel Vadotrequired:
46c66ec88fSEmmanuel Vadot  - compatible
47c66ec88fSEmmanuel Vadot  - '#clock-cells'
48c66ec88fSEmmanuel Vadot
49c66ec88fSEmmanuel VadotadditionalProperties: false
50c66ec88fSEmmanuel Vadot
51c66ec88fSEmmanuel Vadotexamples:
52c66ec88fSEmmanuel Vadot  # Example for GCC for SDM845: The below node should be defined inside
53c66ec88fSEmmanuel Vadot  # &apps_rsc node.
54c66ec88fSEmmanuel Vadot  - |
55c66ec88fSEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
56c66ec88fSEmmanuel Vadot    rpmhcc: clock-controller {
57c66ec88fSEmmanuel Vadot      compatible = "qcom,sdm845-rpmh-clk";
58c66ec88fSEmmanuel Vadot      clocks = <&xo_board>;
59c66ec88fSEmmanuel Vadot      clock-names = "xo";
60c66ec88fSEmmanuel Vadot      #clock-cells = <1>;
61c66ec88fSEmmanuel Vadot    };
62c66ec88fSEmmanuel Vadot...
63