]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - Documentation/devicetree/bindings/clock/qcom,gcc.txt
clk: qcom: Add DT bindings for ipq8074 gcc clock controller
[mirror_ubuntu-bionic-kernel.git] / Documentation / devicetree / bindings / clock / qcom,gcc.txt
CommitLineData
cc4f2fe4
SB
1Qualcomm Global Clock & Reset Controller Binding
2------------------------------------------------
3
4Required properties :
5- compatible : shall contain only one of the following:
6
2d85a713 7 "qcom,gcc-apq8064"
56097d8d 8 "qcom,gcc-apq8084"
24d8fba4 9 "qcom,gcc-ipq8064"
6971e863 10 "qcom,gcc-ipq4019"
bcb486f0 11 "qcom,gcc-ipq8074"
cc4f2fe4 12 "qcom,gcc-msm8660"
a5408ec6 13 "qcom,gcc-msm8916"
cc4f2fe4
SB
14 "qcom,gcc-msm8960"
15 "qcom,gcc-msm8974"
c685841e
SB
16 "qcom,gcc-msm8974pro"
17 "qcom,gcc-msm8974pro-ac"
49e28282 18 "qcom,gcc-msm8994"
b1e010c0 19 "qcom,gcc-msm8996"
3e99c7ab 20 "qcom,gcc-mdm9615"
cc4f2fe4
SB
21
22- reg : shall contain base register location and length
23- #clock-cells : shall contain 1
24- #reset-cells : shall contain 1
25
89c7e671
RN
26Optional properties :
27- #power-domain-cells : shall contain 1
c8c87689
RN
28- Qualcomm TSENS (thermal sensor device) on some devices can
29be part of GCC and hence the TSENS properties can also be
30part of the GCC/clock-controller node.
31For more details on the TSENS properties please refer
32Documentation/devicetree/bindings/thermal/qcom-tsens.txt
89c7e671 33
cc4f2fe4
SB
34Example:
35 clock-controller@900000 {
36 compatible = "qcom,gcc-msm8960";
37 reg = <0x900000 0x4000>;
38 #clock-cells = <1>;
39 #reset-cells = <1>;
89c7e671 40 #power-domain-cells = <1>;
cc4f2fe4 41 };
c8c87689
RN
42
43Example of GCC with TSENS properties:
44 clock-controller@900000 {
45 compatible = "qcom,gcc-apq8064";
46 reg = <0x00900000 0x4000>;
47 nvmem-cells = <&tsens_calib>, <&tsens_backup>;
48 nvmem-cell-names = "calib", "calib_backup";
49 #clock-cells = <1>;
50 #reset-cells = <1>;
51 #thermal-sensor-cells = <1>;
52 };