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