clk: ux500: Add device tree bindings for ABx500 clocks
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 20 Jan 2017 13:25:39 +0000 (14:25 +0100)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 27 Jan 2017 00:10:01 +0000 (16:10 -0800)
This adds device tree bindings for the ABx500 clocks on the
ST-Ericsson platforms.

Cc: devicetree@vger.kernel.org
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Documentation/devicetree/bindings/clock/stericsson,abx500.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/clock/stericsson,abx500.txt b/Documentation/devicetree/bindings/clock/stericsson,abx500.txt
new file mode 100644 (file)
index 0000000..dbaa886
--- /dev/null
@@ -0,0 +1,20 @@
+Clock bindings for ST-Ericsson ABx500 clocks
+
+Required properties :
+- compatible : shall contain the following:
+  "stericsson,ab8500-clk"
+- #clock-cells should be <1>
+
+The ABx500 clocks need to be placed as a subnode of an AB8500
+device node, see mfd/ab8500.txt
+
+All available clocks are defined as preprocessor macros in
+dt-bindings/clock/ste-ab8500.h header and can be used in device
+tree sources.
+
+Example:
+
+clock-controller {
+       compatible = "stericsson,ab8500-clk";
+       #clock-cells = <1>;
+};