Back to home page

OSCL-LXR

 
 

    


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