summaryrefslogtreecommitdiff
path: root/doc/device-tree-bindings/clock/fixed-factor-clock.txt
diff options
context:
space:
mode:
authorAnup Patel <Anup.Patel@wdc.com>2019-02-25 08:14:55 +0000
committerAndes <uboot@andestech.com>2019-02-27 09:12:33 +0800
commitb630d57d0ab45639eea02f2671c2aa0d023c89ac (patch)
tree62edb2090d371ae6a998d4654443223dee0273d1 /doc/device-tree-bindings/clock/fixed-factor-clock.txt
parentc40b6df87fc0193a7184ada9f53aaf57cdec0cdf (diff)
clk: Add fixed-factor clock driver
This patch adds fixed-factor clock driver which derives clock rate by dividing (div) and multiplying (mult) fixed factors to a parent clock. Signed-off-by: Atish Patra <atish.patra@wdc.com> Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/device-tree-bindings/clock/fixed-factor-clock.txt')
-rw-r--r--doc/device-tree-bindings/clock/fixed-factor-clock.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/clock/fixed-factor-clock.txt b/doc/device-tree-bindings/clock/fixed-factor-clock.txt
new file mode 100644
index 0000000000..1bae8527eb
--- /dev/null
+++ b/doc/device-tree-bindings/clock/fixed-factor-clock.txt
@@ -0,0 +1,24 @@
+Binding for simple fixed factor rate clock sources.
+
+This binding uses the common clock binding[1].
+
+[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
+
+Required properties:
+- compatible : shall be "fixed-factor-clock".
+- #clock-cells : from common clock binding; shall be set to 0.
+- clock-div: fixed divider.
+- clock-mult: fixed multiplier.
+- clocks: parent clock.
+
+Optional properties:
+- clock-output-names : From common clock binding.
+
+Example:
+ clock {
+ compatible = "fixed-factor-clock";
+ clocks = <&parentclk>;
+ #clock-cells = <0>;
+ clock-div = <2>;
+ clock-mult = <1>;
+ };