Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Qualcomm Technologies, Inc. RPMh Clocks |
| 8 | |
| 9 | maintainers: |
| 10 | - Taniya Das <quic_tdas@quicinc.com> |
| 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: |
| 20 | - qcom,qdu1000-rpmh-clk |
| 21 | - qcom,sa8775p-rpmh-clk |
| 22 | - qcom,sc7180-rpmh-clk |
| 23 | - qcom,sc7280-rpmh-clk |
| 24 | - qcom,sc8180x-rpmh-clk |
| 25 | - qcom,sc8280xp-rpmh-clk |
| 26 | - qcom,sdm670-rpmh-clk |
| 27 | - qcom,sdm845-rpmh-clk |
| 28 | - qcom,sdx55-rpmh-clk |
| 29 | - qcom,sdx65-rpmh-clk |
| 30 | - qcom,sdx75-rpmh-clk |
| 31 | - qcom,sm4450-rpmh-clk |
| 32 | - qcom,sm6350-rpmh-clk |
| 33 | - qcom,sm8150-rpmh-clk |
| 34 | - qcom,sm8250-rpmh-clk |
| 35 | - qcom,sm8350-rpmh-clk |
| 36 | - qcom,sm8450-rpmh-clk |
| 37 | - qcom,sm8550-rpmh-clk |
Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 38 | - qcom,sm8650-rpmh-clk |
| 39 | - qcom,x1e80100-rpmh-clk |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 40 | |
| 41 | clocks: |
| 42 | maxItems: 1 |
| 43 | |
| 44 | clock-names: |
| 45 | items: |
| 46 | - const: xo |
| 47 | |
| 48 | '#clock-cells': |
| 49 | const: 1 |
| 50 | |
| 51 | required: |
| 52 | - compatible |
| 53 | - '#clock-cells' |
| 54 | |
| 55 | additionalProperties: false |
| 56 | |
| 57 | examples: |
| 58 | # Example for GCC for SDM845: The below node should be defined inside |
| 59 | # &apps_rsc node. |
| 60 | - | |
| 61 | #include <dt-bindings/clock/qcom,rpmh.h> |
| 62 | rpmhcc: clock-controller { |
| 63 | compatible = "qcom,sdm845-rpmh-clk"; |
| 64 | clocks = <&xo_board>; |
| 65 | clock-names = "xo"; |
| 66 | #clock-cells = <1>; |
| 67 | }; |
| 68 | ... |