xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,rpmhcc.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
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
78bab661aSEmmanuel Vadottitle: Qualcomm Technologies, Inc. RPMh Clocks
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10aa1a8ff2SEmmanuel Vadot  - Taniya Das <quic_tdas@quicinc.com>
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:
208bab661aSEmmanuel Vadot      - qcom,qdu1000-rpmh-clk
21cb7aa33aSEmmanuel Vadot      - qcom,sa8775p-rpmh-clk
22c66ec88fSEmmanuel Vadot      - qcom,sc7180-rpmh-clk
235def4c47SEmmanuel Vadot      - qcom,sc7280-rpmh-clk
245def4c47SEmmanuel Vadot      - qcom,sc8180x-rpmh-clk
25c9ccf3a3SEmmanuel Vadot      - qcom,sc8280xp-rpmh-clk
267ef62cebSEmmanuel Vadot      - qcom,sdm670-rpmh-clk
27c66ec88fSEmmanuel Vadot      - qcom,sdm845-rpmh-clk
285def4c47SEmmanuel Vadot      - qcom,sdx55-rpmh-clk
29e67e8565SEmmanuel Vadot      - qcom,sdx65-rpmh-clk
30f126890aSEmmanuel Vadot      - qcom,sdx75-rpmh-clk
3184943d6fSEmmanuel Vadot      - qcom,sm4450-rpmh-clk
32354d7675SEmmanuel Vadot      - qcom,sm6350-rpmh-clk
33c66ec88fSEmmanuel Vadot      - qcom,sm8150-rpmh-clk
34c66ec88fSEmmanuel Vadot      - qcom,sm8250-rpmh-clk
355def4c47SEmmanuel Vadot      - qcom,sm8350-rpmh-clk
36e67e8565SEmmanuel Vadot      - qcom,sm8450-rpmh-clk
37cb7aa33aSEmmanuel Vadot      - qcom,sm8550-rpmh-clk
38*8d13bc63SEmmanuel Vadot      - qcom,sm8650-rpmh-clk
39*8d13bc63SEmmanuel Vadot      - qcom,x1e80100-rpmh-clk
40c66ec88fSEmmanuel Vadot
41c66ec88fSEmmanuel Vadot  clocks:
42c66ec88fSEmmanuel Vadot    maxItems: 1
43c66ec88fSEmmanuel Vadot
44c66ec88fSEmmanuel Vadot  clock-names:
45c66ec88fSEmmanuel Vadot    items:
46c66ec88fSEmmanuel Vadot      - const: xo
47c66ec88fSEmmanuel Vadot
48c66ec88fSEmmanuel Vadot  '#clock-cells':
49c66ec88fSEmmanuel Vadot    const: 1
50c66ec88fSEmmanuel Vadot
51c66ec88fSEmmanuel Vadotrequired:
52c66ec88fSEmmanuel Vadot  - compatible
53c66ec88fSEmmanuel Vadot  - '#clock-cells'
54c66ec88fSEmmanuel Vadot
55c66ec88fSEmmanuel VadotadditionalProperties: false
56c66ec88fSEmmanuel Vadot
57c66ec88fSEmmanuel Vadotexamples:
58c66ec88fSEmmanuel Vadot  # Example for GCC for SDM845: The below node should be defined inside
59c66ec88fSEmmanuel Vadot  # &apps_rsc node.
60c66ec88fSEmmanuel Vadot  - |
61c66ec88fSEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
62c66ec88fSEmmanuel Vadot    rpmhcc: clock-controller {
63c66ec88fSEmmanuel Vadot      compatible = "qcom,sdm845-rpmh-clk";
64c66ec88fSEmmanuel Vadot      clocks = <&xo_board>;
65c66ec88fSEmmanuel Vadot      clock-names = "xo";
66c66ec88fSEmmanuel Vadot      #clock-cells = <1>;
67c66ec88fSEmmanuel Vadot    };
68c66ec88fSEmmanuel Vadot...
69