xref: /linux/Documentation/devicetree/bindings/clock/qcom,gcc-sm6125.yaml (revision 2731835f3f2e5b0642ad82a3a0265c98a552283e)
111fa5f83SMartin Botka# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
211fa5f83SMartin Botka%YAML 1.2
311fa5f83SMartin Botka---
411fa5f83SMartin Botka$id: http://devicetree.org/schemas/clock/qcom,gcc-sm6125.yaml#
511fa5f83SMartin Botka$schema: http://devicetree.org/meta-schemas/core.yaml#
611fa5f83SMartin Botka
7ece3c319SKrzysztof Kozlowskititle: Qualcomm Global Clock & Reset Controller on SM6125
811fa5f83SMartin Botka
911fa5f83SMartin Botkamaintainers:
10*0710c3d3SKonrad Dybcio  - Konrad Dybcio <konradybcio@kernel.org>
1111fa5f83SMartin Botka
1211fa5f83SMartin Botkadescription: |
13ece3c319SKrzysztof Kozlowski  Qualcomm global clock control module provides the clocks, resets and power
14ece3c319SKrzysztof Kozlowski  domains on SM6125.
1511fa5f83SMartin Botka
16ece3c319SKrzysztof Kozlowski  See also:: include/dt-bindings/clock/qcom,gcc-sm6125.h
1711fa5f83SMartin Botka
1811fa5f83SMartin Botkaproperties:
1911fa5f83SMartin Botka  compatible:
2011fa5f83SMartin Botka    const: qcom,gcc-sm6125
2111fa5f83SMartin Botka
2211fa5f83SMartin Botka  clocks:
2311fa5f83SMartin Botka    items:
2411fa5f83SMartin Botka      - description: Board XO source
2511fa5f83SMartin Botka      - description: Sleep clock source
2611fa5f83SMartin Botka
2711fa5f83SMartin Botka  clock-names:
2811fa5f83SMartin Botka    items:
2911fa5f83SMartin Botka      - const: bi_tcxo
3011fa5f83SMartin Botka      - const: sleep_clk
3111fa5f83SMartin Botka
3211fa5f83SMartin Botkarequired:
3311fa5f83SMartin Botka  - compatible
3411fa5f83SMartin Botka  - clocks
3511fa5f83SMartin Botka  - clock-names
36b0ef3434SDmitry Baryshkov  - '#power-domain-cells'
3711fa5f83SMartin Botka
380f71ae94SDmitry BaryshkovallOf:
390f71ae94SDmitry Baryshkov  - $ref: qcom,gcc.yaml#
400f71ae94SDmitry Baryshkov
410f71ae94SDmitry BaryshkovunevaluatedProperties: false
4211fa5f83SMartin Botka
4311fa5f83SMartin Botkaexamples:
4411fa5f83SMartin Botka  - |
4511fa5f83SMartin Botka    #include <dt-bindings/clock/qcom,rpmcc.h>
4611fa5f83SMartin Botka    clock-controller@1400000 {
4711fa5f83SMartin Botka        compatible = "qcom,gcc-sm6125";
4811fa5f83SMartin Botka        reg = <0x01400000 0x1f0000>;
4911fa5f83SMartin Botka        #clock-cells = <1>;
5011fa5f83SMartin Botka        #reset-cells = <1>;
5111fa5f83SMartin Botka        #power-domain-cells = <1>;
5211fa5f83SMartin Botka        clock-names = "bi_tcxo", "sleep_clk";
5311fa5f83SMartin Botka        clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&sleep_clk>;
5411fa5f83SMartin Botka    };
5511fa5f83SMartin Botka...
56