devicetree: bindings: Document qcom,gcc
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 15 Jan 2014 18:47:33 +0000 (10:47 -0800)
committerMike Turquette <mturquette@linaro.org>
Thu, 16 Jan 2014 20:01:06 +0000 (12:01 -0800)
Document the global clock controller found on Qualcomm devices.

Cc: <devicetree@vger.kernel.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Documentation/devicetree/bindings/clock/qcom,gcc.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc.txt b/Documentation/devicetree/bindings/clock/qcom,gcc.txt
new file mode 100644 (file)
index 0000000..767401f
--- /dev/null
@@ -0,0 +1,21 @@
+Qualcomm Global Clock & Reset Controller Binding
+------------------------------------------------
+
+Required properties :
+- compatible : shall contain only one of the following:
+
+                       "qcom,gcc-msm8660"
+                       "qcom,gcc-msm8960"
+                       "qcom,gcc-msm8974"
+
+- reg : shall contain base register location and length
+- #clock-cells : shall contain 1
+- #reset-cells : shall contain 1
+
+Example:
+       clock-controller@900000 {
+               compatible = "qcom,gcc-msm8960";
+               reg = <0x900000 0x4000>;
+               #clock-cells = <1>;
+               #reset-cells = <1>;
+       };