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