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,gcc-sc7180.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Qualcomm Global Clock & Reset Controller Binding for SC7180
0008 
0009 maintainers:
0010   - Stephen Boyd <sboyd@kernel.org>
0011   - Taniya Das <tdas@codeaurora.org>
0012 
0013 description: |
0014   Qualcomm global clock control module which supports the clocks, resets and
0015   power domains on SC7180.
0016 
0017   See also:
0018   - dt-bindings/clock/qcom,gcc-sc7180.h
0019 
0020 properties:
0021   compatible:
0022     const: qcom,gcc-sc7180
0023 
0024   clocks:
0025     items:
0026       - description: Board XO source
0027       - description: Board active XO source
0028       - description: Sleep clock source
0029 
0030   clock-names:
0031     items:
0032       - const: bi_tcxo
0033       - const: bi_tcxo_ao
0034       - const: sleep_clk
0035 
0036   '#clock-cells':
0037     const: 1
0038 
0039   '#reset-cells':
0040     const: 1
0041 
0042   '#power-domain-cells':
0043     const: 1
0044 
0045   reg:
0046     maxItems: 1
0047 
0048   protected-clocks:
0049     description:
0050       Protected clock specifier list as per common clock binding.
0051 
0052 required:
0053   - compatible
0054   - clocks
0055   - clock-names
0056   - reg
0057   - '#clock-cells'
0058   - '#reset-cells'
0059   - '#power-domain-cells'
0060 
0061 additionalProperties: false
0062 
0063 examples:
0064   - |
0065     #include <dt-bindings/clock/qcom,rpmh.h>
0066     clock-controller@100000 {
0067       compatible = "qcom,gcc-sc7180";
0068       reg = <0x00100000 0x1f0000>;
0069       clocks = <&rpmhcc RPMH_CXO_CLK>,
0070                <&rpmhcc RPMH_CXO_CLK_A>,
0071                <&sleep_clk>;
0072       clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
0073       #clock-cells = <1>;
0074       #reset-cells = <1>;
0075       #power-domain-cells = <1>;
0076     };
0077 ...