xref: /freebsd-src/sys/contrib/device-tree/Bindings/clock/qcom,gcc-msm8974.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-msm8974.yaml#
58bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68bab661aSEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller on MSM8974 (including Pro) and MSM8226
88bab661aSEmmanuel Vadot  Controller
98bab661aSEmmanuel Vadot
108bab661aSEmmanuel Vadotmaintainers:
118bab661aSEmmanuel Vadot  - Stephen Boyd <sboyd@kernel.org>
128bab661aSEmmanuel Vadot  - Taniya Das <quic_tdas@quicinc.com>
138bab661aSEmmanuel Vadot
148bab661aSEmmanuel Vadotdescription: |
158bab661aSEmmanuel Vadot  Qualcomm global clock control module provides the clocks, resets and power
168bab661aSEmmanuel Vadot  domains on MSM8974 (all variants) and MSM8226.
178bab661aSEmmanuel Vadot
188bab661aSEmmanuel Vadot  See also::
198bab661aSEmmanuel Vadot    include/dt-bindings/clock/qcom,gcc-msm8974.h (qcom,gcc-msm8226 and qcom,gcc-msm8974)
208bab661aSEmmanuel Vadot    include/dt-bindings/reset/qcom,gcc-msm8974.h (qcom,gcc-msm8226 and qcom,gcc-msm8974)
218bab661aSEmmanuel Vadot
228bab661aSEmmanuel Vadot$ref: qcom,gcc.yaml#
238bab661aSEmmanuel Vadot
248bab661aSEmmanuel Vadotproperties:
258bab661aSEmmanuel Vadot  compatible:
268bab661aSEmmanuel Vadot    enum:
278bab661aSEmmanuel Vadot      - qcom,gcc-msm8226
288bab661aSEmmanuel Vadot      - qcom,gcc-msm8974
298bab661aSEmmanuel Vadot      - qcom,gcc-msm8974pro
308bab661aSEmmanuel Vadot      - qcom,gcc-msm8974pro-ac
318bab661aSEmmanuel Vadot
328bab661aSEmmanuel Vadot  clocks:
338bab661aSEmmanuel Vadot    items:
348bab661aSEmmanuel Vadot      - description: XO source
358bab661aSEmmanuel Vadot      - description: Sleep clock source
368bab661aSEmmanuel Vadot
378bab661aSEmmanuel Vadot  clock-names:
388bab661aSEmmanuel Vadot    items:
398bab661aSEmmanuel Vadot      - const: xo
408bab661aSEmmanuel Vadot      - const: sleep_clk
418bab661aSEmmanuel Vadot
428bab661aSEmmanuel Vadotrequired:
438bab661aSEmmanuel Vadot  - compatible
44*0e8011faSEmmanuel Vadot  - '#power-domain-cells'
458bab661aSEmmanuel Vadot
468bab661aSEmmanuel VadotunevaluatedProperties: false
478bab661aSEmmanuel Vadot
488bab661aSEmmanuel Vadotexamples:
498bab661aSEmmanuel Vadot  - |
508bab661aSEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
518bab661aSEmmanuel Vadot    clock-controller@fc400000 {
528bab661aSEmmanuel Vadot        compatible = "qcom,gcc-msm8974";
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