Taniya Das | 681a6ad | 2019-10-29 23:18:17 +0530 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | %YAML 1.2 |
| 3 | --- |
Rob Herring | 04dbd86 | 2020-01-31 09:27:12 -0600 | [diff] [blame] | 4 | $id: http://devicetree.org/schemas/clock/qcom,rpmhcc.yaml# |
Taniya Das | 681a6ad | 2019-10-29 23:18:17 +0530 | [diff] [blame] | 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Qualcomm Technologies, Inc. RPMh Clocks Bindings |
| 8 | |
| 9 | maintainers: |
| 10 | - Taniya Das <tdas@codeaurora.org> |
| 11 | |
| 12 | description: | |
| 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 | |
| 17 | properties: |
| 18 | compatible: |
| 19 | enum: |
Taniya Das | 36b355c | 2019-10-29 23:18:18 +0530 | [diff] [blame] | 20 | - qcom,sc7180-rpmh-clk |
Taniya Das | 75a8128 | 2021-02-10 22:43:49 +0530 | [diff] [blame] | 21 | - qcom,sc7280-rpmh-clk |
Bjorn Andersson | e6c3cc6 | 2021-01-20 14:37:40 -0800 | [diff] [blame] | 22 | - qcom,sc8180x-rpmh-clk |
Taniya Das | 681a6ad | 2019-10-29 23:18:17 +0530 | [diff] [blame] | 23 | - qcom,sdm845-rpmh-clk |
Vinod Koul | 2e2639b | 2020-11-26 12:58:41 +0530 | [diff] [blame] | 24 | - qcom,sdx55-rpmh-clk |
Vamsi krishna Lanka | aa848c8 | 2021-12-01 16:21:34 -0800 | [diff] [blame] | 25 | - qcom,sdx65-rpmh-clk |
Konrad Dybcio | 4966c52a | 2021-08-20 22:32:42 +0200 | [diff] [blame] | 26 | - qcom,sm6350-rpmh-clk |
Taniya Das | 681a6ad | 2019-10-29 23:18:17 +0530 | [diff] [blame] | 27 | - qcom,sm8150-rpmh-clk |
Taniya Das | fdd373a | 2020-01-24 14:32:21 -0800 | [diff] [blame] | 28 | - qcom,sm8250-rpmh-clk |
Vinod Koul | eb50f3f | 2020-12-08 12:16:58 +0530 | [diff] [blame] | 29 | - qcom,sm8350-rpmh-clk |
Vinod Koul | ea59846 | 2021-12-01 12:53:08 +0530 | [diff] [blame] | 30 | - qcom,sm8450-rpmh-clk |
Taniya Das | 681a6ad | 2019-10-29 23:18:17 +0530 | [diff] [blame] | 31 | |
| 32 | clocks: |
| 33 | maxItems: 1 |
| 34 | |
| 35 | clock-names: |
| 36 | items: |
| 37 | - const: xo |
| 38 | |
| 39 | '#clock-cells': |
| 40 | const: 1 |
| 41 | |
| 42 | required: |
| 43 | - compatible |
| 44 | - '#clock-cells' |
| 45 | |
Rob Herring | 7f46453 | 2020-03-25 16:05:41 -0600 | [diff] [blame] | 46 | additionalProperties: false |
| 47 | |
Taniya Das | 681a6ad | 2019-10-29 23:18:17 +0530 | [diff] [blame] | 48 | examples: |
| 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 | ... |