Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile
[sfrench/cifs-2.6.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-msm8994"
18                         "qcom,gcc-msm8996"
19                         "qcom,gcc-mdm9615"
20
21 - reg : shall contain base register location and length
22 - #clock-cells : shall contain 1
23 - #reset-cells : shall contain 1
24
25 Optional properties :
26 - #power-domain-cells : shall contain 1
27 - Qualcomm TSENS (thermal sensor device) on some devices can
28 be part of GCC and hence the TSENS properties can also be
29 part of the GCC/clock-controller node.
30 For more details on the TSENS properties please refer
31 Documentation/devicetree/bindings/thermal/qcom-tsens.txt
32
33 Example:
34         clock-controller@900000 {
35                 compatible = "qcom,gcc-msm8960";
36                 reg = <0x900000 0x4000>;
37                 #clock-cells = <1>;
38                 #reset-cells = <1>;
39                 #power-domain-cells = <1>;
40         };
41
42 Example of GCC with TSENS properties:
43         clock-controller@900000 {
44                 compatible = "qcom,gcc-apq8064";
45                 reg = <0x00900000 0x4000>;
46                 nvmem-cells = <&tsens_calib>, <&tsens_backup>;
47                 nvmem-cell-names = "calib", "calib_backup";
48                 #clock-cells = <1>;
49                 #reset-cells = <1>;
50                 #thermal-sensor-cells = <1>;
51         };