Merge tag 'sti-dt-for-v4.9-3' of git://git.kernel.org/pub/scm/linux/kernel/git/pchota...
[cascardo/linux.git] / Documentation / devicetree / bindings / clock / qcom,gcc.txt
1 Qualcomm Global Clock & Reset Controller Binding
2 ------------------------------------------------
3
4 Required properties :
5 - compatible : shall contain only one of the following:
6
7                         "qcom,gcc-apq8064"
8                         "qcom,gcc-apq8084"
9                         "qcom,gcc-ipq8064"
10                         "qcom,gcc-ipq4019"
11                         "qcom,gcc-msm8660"
12                         "qcom,gcc-msm8916"
13                         "qcom,gcc-msm8960"
14                         "qcom,gcc-msm8974"
15                         "qcom,gcc-msm8974pro"
16                         "qcom,gcc-msm8974pro-ac"
17                         "qcom,gcc-msm8996"
18
19 - reg : shall contain base register location and length
20 - #clock-cells : shall contain 1
21 - #reset-cells : shall contain 1
22
23 Optional properties :
24 - #power-domain-cells : shall contain 1
25 - Qualcomm TSENS (thermal sensor device) on some devices can
26 be part of GCC and hence the TSENS properties can also be
27 part of the GCC/clock-controller node.
28 For more details on the TSENS properties please refer
29 Documentation/devicetree/bindings/thermal/qcom-tsens.txt
30
31 Example:
32         clock-controller@900000 {
33                 compatible = "qcom,gcc-msm8960";
34                 reg = <0x900000 0x4000>;
35                 #clock-cells = <1>;
36                 #reset-cells = <1>;
37                 #power-domain-cells = <1>;
38         };
39
40 Example of GCC with TSENS properties:
41         clock-controller@900000 {
42                 compatible = "qcom,gcc-apq8064";
43                 reg = <0x00900000 0x4000>;
44                 nvmem-cells = <&tsens_calib>, <&tsens_backup>;
45                 nvmem-cell-names = "calib", "calib_backup";
46                 #clock-cells = <1>;
47                 #reset-cells = <1>;
48                 #thermal-sensor-cells = <1>;
49         };