xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,gcc-sdm660.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
18bab661aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
28bab661aSEmmanuel Vadot%YAML 1.2
38bab661aSEmmanuel Vadot---
48bab661aSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,gcc-sdm660.yaml#
58bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68bab661aSEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: Qualcomm SDM660/SDM630/SDM636 Global Clock & Reset Controller
88bab661aSEmmanuel Vadot
98bab661aSEmmanuel Vadotmaintainers:
108bab661aSEmmanuel Vadot  - Stephen Boyd <sboyd@kernel.org>
118bab661aSEmmanuel Vadot  - Taniya Das <quic_tdas@quicinc.com>
128bab661aSEmmanuel Vadot
138bab661aSEmmanuel Vadotdescription: |
148bab661aSEmmanuel Vadot  Qualcomm global clock control module provides the clocks, resets and power
158bab661aSEmmanuel Vadot  domains on SDM630, SDM636 and SDM660
168bab661aSEmmanuel Vadot
178bab661aSEmmanuel Vadot  See also::
188bab661aSEmmanuel Vadot    include/dt-bindings/clock/qcom,gcc-sdm660.h  (qcom,gcc-sdm630 and qcom,gcc-sdm660)
198bab661aSEmmanuel Vadot
208bab661aSEmmanuel Vadot$ref: qcom,gcc.yaml#
218bab661aSEmmanuel Vadot
228bab661aSEmmanuel Vadotproperties:
238bab661aSEmmanuel Vadot  compatible:
248bab661aSEmmanuel Vadot    enum:
258bab661aSEmmanuel Vadot      - qcom,gcc-sdm630
268bab661aSEmmanuel Vadot      - qcom,gcc-sdm660
278bab661aSEmmanuel Vadot
288bab661aSEmmanuel Vadot  clocks:
298bab661aSEmmanuel Vadot    items:
308bab661aSEmmanuel Vadot      - description: XO source
318bab661aSEmmanuel Vadot      - description: Sleep clock source
328bab661aSEmmanuel Vadot
338bab661aSEmmanuel Vadot  clock-names:
348bab661aSEmmanuel Vadot    items:
358bab661aSEmmanuel Vadot      - const: xo
368bab661aSEmmanuel Vadot      - const: sleep_clk
378bab661aSEmmanuel Vadot
388bab661aSEmmanuel Vadot  power-domains:
398bab661aSEmmanuel Vadot    maxItems: 1
408bab661aSEmmanuel Vadot
418bab661aSEmmanuel Vadotrequired:
428bab661aSEmmanuel Vadot  - compatible
43*0e8011faSEmmanuel Vadot  - '#power-domain-cells'
448bab661aSEmmanuel Vadot
458bab661aSEmmanuel VadotunevaluatedProperties: false
468bab661aSEmmanuel Vadot
478bab661aSEmmanuel Vadotexamples:
488bab661aSEmmanuel Vadot  # Example for GCC for SDM660:
498bab661aSEmmanuel Vadot  - |
508bab661aSEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
518bab661aSEmmanuel Vadot    clock-controller@100000 {
528bab661aSEmmanuel Vadot        compatible = "qcom,gcc-sdm660";
538bab661aSEmmanuel Vadot        reg = <0x00100000 0x94000>;
548bab661aSEmmanuel Vadot        #clock-cells = <1>;
558bab661aSEmmanuel Vadot        #reset-cells = <1>;
568bab661aSEmmanuel Vadot        #power-domain-cells = <1>;
578bab661aSEmmanuel Vadot
588bab661aSEmmanuel Vadot        clock-names = "xo", "sleep_clk";
598bab661aSEmmanuel Vadot        clocks = <&xo_board>,
608bab661aSEmmanuel Vadot                 <&sleep_clk>;
618bab661aSEmmanuel Vadot    };
628bab661aSEmmanuel Vadot...
63