blob: 8406dde179379e35083793825d39e195710df9e4 [file] [log] [blame]
Taniya Das681a6ad2019-10-29 23:18:17 +05301# SPDX-License-Identifier: GPL-2.0-only
2%YAML 1.2
3---
Rob Herring04dbd862020-01-31 09:27:12 -06004$id: http://devicetree.org/schemas/clock/qcom,rpmhcc.yaml#
Taniya Das681a6ad2019-10-29 23:18:17 +05305$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:
Taniya Das36b355c2019-10-29 23:18:18 +053020 - qcom,sc7180-rpmh-clk
Taniya Das75a81282021-02-10 22:43:49 +053021 - qcom,sc7280-rpmh-clk
Bjorn Anderssone6c3cc62021-01-20 14:37:40 -080022 - qcom,sc8180x-rpmh-clk
Taniya Das681a6ad2019-10-29 23:18:17 +053023 - qcom,sdm845-rpmh-clk
Vinod Koul2e2639b2020-11-26 12:58:41 +053024 - qcom,sdx55-rpmh-clk
Vamsi krishna Lankaaa848c82021-12-01 16:21:34 -080025 - qcom,sdx65-rpmh-clk
Konrad Dybcio4966c52a2021-08-20 22:32:42 +020026 - qcom,sm6350-rpmh-clk
Taniya Das681a6ad2019-10-29 23:18:17 +053027 - qcom,sm8150-rpmh-clk
Taniya Dasfdd373a2020-01-24 14:32:21 -080028 - qcom,sm8250-rpmh-clk
Vinod Kouleb50f3f2020-12-08 12:16:58 +053029 - qcom,sm8350-rpmh-clk
Vinod Koulea598462021-12-01 12:53:08 +053030 - qcom,sm8450-rpmh-clk
Taniya Das681a6ad2019-10-29 23:18:17 +053031
32 clocks:
33 maxItems: 1
34
35 clock-names:
36 items:
37 - const: xo
38
39 '#clock-cells':
40 const: 1
41
42required:
43 - compatible
44 - '#clock-cells'
45
Rob Herring7f464532020-03-25 16:05:41 -060046additionalProperties: false
47
Taniya Das681a6ad2019-10-29 23:18:17 +053048examples:
49 # Example for GCC for SDM845: The below node should be defined inside
50 # &apps_rsc node.
51 - |
52 #include <dt-bindings/clock/qcom,rpmh.h>
53 rpmhcc: clock-controller {
54 compatible = "qcom,sdm845-rpmh-clk";
55 clocks = <&xo_board>;
56 clock-names = "xo";
57 #clock-cells = <1>;
58 };
59...