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" |
Stephen Boyd | cc4f2fe | 2014-01-15 10:47:33 -0800 | [diff] [blame] | 11 | "qcom,gcc-msm8660" |
Georgi Djakov | a5408ec | 2015-03-18 16:08:21 +0200 | [diff] [blame] | 12 | "qcom,gcc-msm8916" |
Stephen Boyd | cc4f2fe | 2014-01-15 10:47:33 -0800 | [diff] [blame] | 13 | "qcom,gcc-msm8960" |
| 14 | "qcom,gcc-msm8974" |
Stephen Boyd | c685841 | 2014-05-16 16:07:13 -0700 | [diff] [blame] | 15 | "qcom,gcc-msm8974pro" |
| 16 | "qcom,gcc-msm8974pro-ac" |
Stephen Boyd | b1e010c | 2015-11-30 17:31:40 -0800 | [diff] [blame] | 17 | "qcom,gcc-msm8996" |
Neil Armstrong | 3e99c7ab | 2016-08-11 14:48:05 +0200 | [diff] [blame] | 18 | "qcom,gcc-mdm9615" |
Kyle Yan | 6a20fae | 2017-02-14 13:34:41 -0800 | [diff] [blame] | 19 | "qcom,gcc-sdm845" |
Deepak Katragadda | 6c846e3 | 2017-06-07 14:09:49 -0700 | [diff] [blame] | 20 | "qcom,gcc-sdm845-v2" |
Deepak Katragadda | c617c38 | 2017-02-28 11:06:06 -0800 | [diff] [blame] | 21 | "qcom,debugcc-sdm845" |
Stephen Boyd | cc4f2fe | 2014-01-15 10:47:33 -0800 | [diff] [blame] | 22 | |
| 23 | - reg : shall contain base register location and length |
| 24 | - #clock-cells : shall contain 1 |
| 25 | - #reset-cells : shall contain 1 |
| 26 | |
Rajendra Nayak | 89c7e67 | 2015-10-01 14:56:02 +0530 | [diff] [blame] | 27 | Optional properties : |
| 28 | - #power-domain-cells : shall contain 1 |
Rajendra Nayak | c8c8768 | 2016-08-17 10:48:45 +0530 | [diff] [blame] | 29 | - Qualcomm TSENS (thermal sensor device) on some devices can |
| 30 | be part of GCC and hence the TSENS properties can also be |
| 31 | part of the GCC/clock-controller node. |
| 32 | For more details on the TSENS properties please refer |
| 33 | Documentation/devicetree/bindings/thermal/qcom-tsens.txt |
Rajendra Nayak | 89c7e67 | 2015-10-01 14:56:02 +0530 | [diff] [blame] | 34 | |
Stephen Boyd | cc4f2fe | 2014-01-15 10:47:33 -0800 | [diff] [blame] | 35 | Example: |
| 36 | clock-controller@900000 { |
| 37 | compatible = "qcom,gcc-msm8960"; |
| 38 | reg = <0x900000 0x4000>; |
| 39 | #clock-cells = <1>; |
| 40 | #reset-cells = <1>; |
Rajendra Nayak | 89c7e67 | 2015-10-01 14:56:02 +0530 | [diff] [blame] | 41 | #power-domain-cells = <1>; |
Stephen Boyd | cc4f2fe | 2014-01-15 10:47:33 -0800 | [diff] [blame] | 42 | }; |
Rajendra Nayak | c8c8768 | 2016-08-17 10:48:45 +0530 | [diff] [blame] | 43 | |
| 44 | Example of GCC with TSENS properties: |
| 45 | clock-controller@900000 { |
| 46 | compatible = "qcom,gcc-apq8064"; |
| 47 | reg = <0x00900000 0x4000>; |
| 48 | nvmem-cells = <&tsens_calib>, <&tsens_backup>; |
| 49 | nvmem-cell-names = "calib", "calib_backup"; |
| 50 | #clock-cells = <1>; |
| 51 | #reset-cells = <1>; |
| 52 | #thermal-sensor-cells = <1>; |
| 53 | }; |