Stephen Boyd | cc4f2fe | 2014-01-15 10:47:33 -0800 | [diff] [blame] | 1 | Qualcomm Global Clock & Reset Controller Binding |
| 2 | ------------------------------------------------ |
| 3 | |
| 4 | Required properties : |
| 5 | - compatible : shall contain only one of the following: |
| 6 | |
Kumar Gala | 2d85a71 | 2014-04-04 11:31:29 -0500 | [diff] [blame] | 7 | "qcom,gcc-apq8064" |
Georgi Djakov | 56097d8d | 2014-06-03 17:24:08 +0300 | [diff] [blame] | 8 | "qcom,gcc-apq8084" |
Kumar Gala | 24d8fba | 2014-06-17 14:46:51 -0500 | [diff] [blame] | 9 | "qcom,gcc-ipq8064" |
Varadarajan Narayanan | 6971e86 | 2015-11-19 17:19:29 -0600 | [diff] [blame] | 10 | "qcom,gcc-ipq4019" |
Abhishek Sahu | bcb486f | 2017-06-09 15:11:56 +0530 | [diff] [blame] | 11 | "qcom,gcc-ipq8074" |
Stephen Boyd | cc4f2fe | 2014-01-15 10:47:33 -0800 | [diff] [blame] | 12 | "qcom,gcc-msm8660" |
Georgi Djakov | a5408ec | 2015-03-18 16:08:21 +0200 | [diff] [blame] | 13 | "qcom,gcc-msm8916" |
Stephen Boyd | cc4f2fe | 2014-01-15 10:47:33 -0800 | [diff] [blame] | 14 | "qcom,gcc-msm8960" |
| 15 | "qcom,gcc-msm8974" |
Stephen Boyd | c685841 | 2014-05-16 16:07:13 -0700 | [diff] [blame] | 16 | "qcom,gcc-msm8974pro" |
| 17 | "qcom,gcc-msm8974pro-ac" |
Jeremy McNicoll | 49e2828 | 2016-11-04 13:56:32 -0700 | [diff] [blame] | 18 | "qcom,gcc-msm8994" |
Stephen Boyd | b1e010c | 2015-11-30 17:31:40 -0800 | [diff] [blame] | 19 | "qcom,gcc-msm8996" |
Neil Armstrong | 3e99c7ab | 2016-08-11 14:48:05 +0200 | [diff] [blame] | 20 | "qcom,gcc-mdm9615" |
Stephen Boyd | cc4f2fe | 2014-01-15 10:47:33 -0800 | [diff] [blame] | 21 | |
| 22 | - reg : shall contain base register location and length |
| 23 | - #clock-cells : shall contain 1 |
| 24 | - #reset-cells : shall contain 1 |
| 25 | |
Rajendra Nayak | 89c7e67 | 2015-10-01 14:56:02 +0530 | [diff] [blame] | 26 | Optional properties : |
| 27 | - #power-domain-cells : shall contain 1 |
Rajendra Nayak | c8c8768 | 2016-08-17 10:48:45 +0530 | [diff] [blame] | 28 | - Qualcomm TSENS (thermal sensor device) on some devices can |
| 29 | be part of GCC and hence the TSENS properties can also be |
| 30 | part of the GCC/clock-controller node. |
| 31 | For more details on the TSENS properties please refer |
| 32 | Documentation/devicetree/bindings/thermal/qcom-tsens.txt |
Rajendra Nayak | 89c7e67 | 2015-10-01 14:56:02 +0530 | [diff] [blame] | 33 | |
Stephen Boyd | cc4f2fe | 2014-01-15 10:47:33 -0800 | [diff] [blame] | 34 | Example: |
| 35 | clock-controller@900000 { |
| 36 | compatible = "qcom,gcc-msm8960"; |
| 37 | reg = <0x900000 0x4000>; |
| 38 | #clock-cells = <1>; |
| 39 | #reset-cells = <1>; |
Rajendra Nayak | 89c7e67 | 2015-10-01 14:56:02 +0530 | [diff] [blame] | 40 | #power-domain-cells = <1>; |
Stephen Boyd | cc4f2fe | 2014-01-15 10:47:33 -0800 | [diff] [blame] | 41 | }; |
Rajendra Nayak | c8c8768 | 2016-08-17 10:48:45 +0530 | [diff] [blame] | 42 | |
| 43 | Example 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 | }; |