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
24properties:
25  compatible:
26    const: qcom,gcc-apq8064
27
28  nvmem-cells:
29    minItems: 1
30    maxItems: 2
31    description:
32      Qualcomm TSENS (thermal sensor device) on some devices can
33      be part of GCC and hence the TSENS properties can also be part
34      of the GCC/clock-controller node.
35      For more details on the TSENS properties please refer
36      Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
37
38  nvmem-cell-names:
39    minItems: 1
40    items:
41      - const: calib
42      - const: calib_backup
43
44  '#thermal-sensor-cells':
45    const: 1
46
47required:
48  - compatible
49  - nvmem-cells
50  - nvmem-cell-names
51  - '#thermal-sensor-cells'
52
53unevaluatedProperties: false
54
55examples:
56  - |
57    clock-controller@900000 {
58      compatible = "qcom,gcc-apq8064";
59      reg = <0x00900000 0x4000>;
60      nvmem-cells = <&tsens_calib>, <&tsens_backup>;
61      nvmem-cell-names = "calib", "calib_backup";
62      #clock-cells = <1>;
63      #reset-cells = <1>;
64      #power-domain-cells = <1>;
65      #thermal-sensor-cells = <1>;
66    };
67...
68