]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
clk: dts: document pxa clock binding
authorRobert Jarzmik <robert.jarzmik@free.fr>
Wed, 30 Jul 2014 20:51:00 +0000 (22:51 +0200)
committerMike Turquette <mturquette@linaro.org>
Tue, 30 Sep 2014 19:31:31 +0000 (12:31 -0700)
Document the device-tree binding of Marvell PXA based SoCs.
PXA clocks are mostly fixed rate and fixed ratio clocks derived from an
external oscillator, and gated by a register set (CKEN or CKEN*).

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Documentation/devicetree/bindings/clock/pxa-clock.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/clock/pxa-clock.txt b/Documentation/devicetree/bindings/clock/pxa-clock.txt
new file mode 100644 (file)
index 0000000..4b4a902
--- /dev/null
@@ -0,0 +1,16 @@
+* Clock bindings for Marvell PXA chips
+
+Required properties:
+- compatible: Should be "marvell,pxa-clocks"
+- #clock-cells: Should be <1>
+
+The clock consumer should specify the desired clock by having the clock
+ID in its "clocks" phandle cell (see include/.../pxa-clock.h).
+
+Examples:
+
+pxa2xx_clks: pxa2xx_clks@41300004 {
+        compatible = "marvell,pxa-clocks";
+        #clock-cells = <1>;
+        status = "okay";
+};