Merge tag 'block-5.14-2021-08-07' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / clock / qcom,gcc-apq8064.yaml
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
7 title: Qualcomm Global Clock & Reset Controller Binding for APQ8064
8
9 maintainers:
10   - Stephen Boyd <sboyd@kernel.org>
11   - Taniya Das <tdas@codeaurora.org>
12
13 description: |
14   Qualcomm global clock control module which supports the clocks, resets and
15   power domains on APQ8064.
16
17   See also:
18   - dt-bindings/clock/qcom,gcc-msm8960.h
19   - dt-bindings/reset/qcom,gcc-msm8960.h
20
21 properties:
22   compatible:
23     const: qcom,gcc-apq8064
24
25   '#clock-cells':
26     const: 1
27
28   '#reset-cells':
29     const: 1
30
31   '#power-domain-cells':
32     const: 1
33
34   reg:
35     maxItems: 1
36
37   nvmem-cells:
38     minItems: 1
39     maxItems: 2
40     description:
41       Qualcomm TSENS (thermal sensor device) on some devices can
42       be part of GCC and hence the TSENS properties can also be part
43       of the GCC/clock-controller node.
44       For more details on the TSENS properties please refer
45       Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
46
47   nvmem-cell-names:
48     minItems: 1
49     items:
50       - const: calib
51       - const: calib_backup
52
53   '#thermal-sensor-cells':
54     const: 1
55
56   protected-clocks:
57     description:
58       Protected clock specifier list as per common clock binding.
59
60 required:
61   - compatible
62   - reg
63   - '#clock-cells'
64   - '#reset-cells'
65   - '#power-domain-cells'
66   - nvmem-cells
67   - nvmem-cell-names
68   - '#thermal-sensor-cells'
69
70 additionalProperties: false
71
72 examples:
73   - |
74     clock-controller@900000 {
75       compatible = "qcom,gcc-apq8064";
76       reg = <0x00900000 0x4000>;
77       nvmem-cells = <&tsens_calib>, <&tsens_backup>;
78       nvmem-cell-names = "calib", "calib_backup";
79       #clock-cells = <1>;
80       #reset-cells = <1>;
81       #power-domain-cells = <1>;
82       #thermal-sensor-cells = <1>;
83     };
84 ...