1# SPDX-License-Identifier: GPL-2.0-only
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/qcom,gcc-apq8064.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Global Clock & Reset Controller Binding for APQ8064
8
9allOf:
10  - $ref: qcom,gcc.yaml#
11
12maintainers:
13  - Stephen Boyd <sboyd@kernel.org>
14  - Taniya Das <tdas@codeaurora.org>
15
16description: |
17  Qualcomm global clock control module which supports the clocks, resets and
18  power domains on APQ8064.
19
20  See also:
21  - dt-bindings/clock/qcom,gcc-msm8960.h
22  - dt-bindings/reset/qcom,gcc-msm8960.h
23  - dt-bindings/clock/qcom,gcc-apq8084.h
24  - dt-bindings/reset/qcom,gcc-apq8084.h
25
26properties:
27  compatible:
28    const: qcom,gcc-apq8084
29
30  nvmem-cells:
31    minItems: 1
32    maxItems: 2
33    description:
34      Qualcomm TSENS (thermal sensor device) on some devices can
35      be part of GCC and hence the TSENS properties can also be part
36      of the GCC/clock-controller node.
37      For more details on the TSENS properties please refer
38      Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
39
40  nvmem-cell-names:
41    minItems: 1
42    items:
43      - const: calib
44      - const: calib_backup
45
46  '#thermal-sensor-cells':
47    const: 1
48
49required:
50  - compatible
51  - nvmem-cells
52  - nvmem-cell-names
53  - '#thermal-sensor-cells'
54
55unevaluatedProperties: false
56
57examples:
58  - |
59    clock-controller@900000 {
60      compatible = "qcom,gcc-apq8064";
61      reg = <0x00900000 0x4000>;
62      nvmem-cells = <&tsens_calib>, <&tsens_backup>;
63      nvmem-cell-names = "calib", "calib_backup";
64      #clock-cells = <1>;
65      #reset-cells = <1>;
66      #power-domain-cells = <1>;
67      #thermal-sensor-cells = <1>;
68    };
69...
70