Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/clock/qcom,rpmhcc.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Qualcomm Technologies, Inc. RPMh Clocks Bindings
0008 
0009 maintainers:
0010   - Taniya Das <tdas@codeaurora.org>
0011 
0012 description: |
0013   Resource Power Manager Hardened (RPMh) manages shared resources on
0014   some Qualcomm Technologies Inc. SoCs. It accepts clock requests from
0015   other hardware subsystems via RSC to control clocks.
0016 
0017 properties:
0018   compatible:
0019     enum:
0020       - qcom,sc7180-rpmh-clk
0021       - qcom,sc7280-rpmh-clk
0022       - qcom,sc8180x-rpmh-clk
0023       - qcom,sc8280xp-rpmh-clk
0024       - qcom,sdm845-rpmh-clk
0025       - qcom,sdx55-rpmh-clk
0026       - qcom,sdx65-rpmh-clk
0027       - qcom,sm6350-rpmh-clk
0028       - qcom,sm8150-rpmh-clk
0029       - qcom,sm8250-rpmh-clk
0030       - qcom,sm8350-rpmh-clk
0031       - qcom,sm8450-rpmh-clk
0032 
0033   clocks:
0034     maxItems: 1
0035 
0036   clock-names:
0037     items:
0038       - const: xo
0039 
0040   '#clock-cells':
0041     const: 1
0042 
0043 required:
0044   - compatible
0045   - '#clock-cells'
0046 
0047 additionalProperties: false
0048 
0049 examples:
0050   # Example for GCC for SDM845: The below node should be defined inside
0051   # &apps_rsc node.
0052   - |
0053     #include <dt-bindings/clock/qcom,rpmh.h>
0054     rpmhcc: clock-controller {
0055       compatible = "qcom,sdm845-rpmh-clk";
0056       clocks = <&xo_board>;
0057       clock-names = "xo";
0058       #clock-cells = <1>;
0059     };
0060 ...