xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,sm7150-gcc.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1fac71e4eSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2fac71e4eSEmmanuel Vadot%YAML 1.2
3fac71e4eSEmmanuel Vadot---
4fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,sm7150-gcc.yaml#
5fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6fac71e4eSEmmanuel Vadot
7fac71e4eSEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller on SM7150
8fac71e4eSEmmanuel Vadot
9fac71e4eSEmmanuel Vadotmaintainers:
10fac71e4eSEmmanuel Vadot  - Bjorn Andersson <andersson@kernel.org>
11fac71e4eSEmmanuel Vadot  - Danila Tikhonov <danila@jiaxyga.com>
12fac71e4eSEmmanuel Vadot  - David Wronek <davidwronek@gmail.com>
13fac71e4eSEmmanuel Vadot
14fac71e4eSEmmanuel Vadotdescription: |
15fac71e4eSEmmanuel Vadot  Qualcomm global clock control module provides the clocks, resets and power
16fac71e4eSEmmanuel Vadot  domains on SM7150
17fac71e4eSEmmanuel Vadot
18fac71e4eSEmmanuel Vadot  See also:: include/dt-bindings/clock/qcom,sm7150-gcc.h
19fac71e4eSEmmanuel Vadot
20fac71e4eSEmmanuel Vadotproperties:
21fac71e4eSEmmanuel Vadot  compatible:
22fac71e4eSEmmanuel Vadot    const: qcom,sm7150-gcc
23fac71e4eSEmmanuel Vadot
24fac71e4eSEmmanuel Vadot  clocks:
25fac71e4eSEmmanuel Vadot    items:
26fac71e4eSEmmanuel Vadot      - description: Board XO source
27fac71e4eSEmmanuel Vadot      - description: Board XO Active-Only source
28fac71e4eSEmmanuel Vadot      - description: Sleep clock source
29fac71e4eSEmmanuel Vadot
30fac71e4eSEmmanuel Vadotrequired:
31fac71e4eSEmmanuel Vadot  - compatible
32fac71e4eSEmmanuel Vadot  - clocks
33*0e8011faSEmmanuel Vadot  - '#power-domain-cells'
34fac71e4eSEmmanuel Vadot
35fac71e4eSEmmanuel VadotallOf:
36fac71e4eSEmmanuel Vadot  - $ref: qcom,gcc.yaml#
37fac71e4eSEmmanuel Vadot
38fac71e4eSEmmanuel VadotunevaluatedProperties: false
39fac71e4eSEmmanuel Vadot
40fac71e4eSEmmanuel Vadotexamples:
41fac71e4eSEmmanuel Vadot  - |
42fac71e4eSEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
43fac71e4eSEmmanuel Vadot    clock-controller@100000 {
44fac71e4eSEmmanuel Vadot      compatible = "qcom,sm7150-gcc";
45fac71e4eSEmmanuel Vadot      reg = <0x00100000 0x001f0000>;
46fac71e4eSEmmanuel Vadot      clocks = <&rpmhcc RPMH_CXO_CLK>,
47fac71e4eSEmmanuel Vadot               <&rpmhcc RPMH_CXO_CLK_A>,
48fac71e4eSEmmanuel Vadot               <&sleep_clk>;
49fac71e4eSEmmanuel Vadot      #clock-cells = <1>;
50fac71e4eSEmmanuel Vadot      #reset-cells = <1>;
51fac71e4eSEmmanuel Vadot      #power-domain-cells = <1>;
52fac71e4eSEmmanuel Vadot    };
53fac71e4eSEmmanuel Vadot...
54