aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-05-08 02:43:26 -0400
committerStephen Boyd <sboyd@codeaurora.org>2015-05-13 15:32:51 -0400
commitdbc3976d9123a00925e3c9893b3f40f58f82636c (patch)
tree59872fe511c0382683dd8e60cf63c06700f6f4d1
parent45b03d3e88c2068644e377cf08fc480208700b85 (diff)
clk: bindings: Fix assigned-clock-rates description
The binding uses assigned-clock-parents when it should use assigned-clock-rates. Furthermore, the part that describes how they relate to the assigned-clocks property is not clear about what is related. Correct and clarify this part of the binding. Reported-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
-rw-r--r--Documentation/devicetree/bindings/clock/clock-bindings.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/clock/clock-bindings.txt b/Documentation/devicetree/bindings/clock/clock-bindings.txt
index 06fc6d541c89..2ec489eebe72 100644
--- a/Documentation/devicetree/bindings/clock/clock-bindings.txt
+++ b/Documentation/devicetree/bindings/clock/clock-bindings.txt
@@ -138,9 +138,10 @@ Some platforms may require initial configuration of default parent clocks
138and clock frequencies. Such a configuration can be specified in a device tree 138and clock frequencies. Such a configuration can be specified in a device tree
139node through assigned-clocks, assigned-clock-parents and assigned-clock-rates 139node through assigned-clocks, assigned-clock-parents and assigned-clock-rates
140properties. The assigned-clock-parents property should contain a list of parent 140properties. The assigned-clock-parents property should contain a list of parent
141clocks in form of phandle and clock specifier pairs, the assigned-clock-parents 141clocks in the form of a phandle and clock specifier pair and the
142property the list of assigned clock frequency values - corresponding to clocks 142assigned-clock-rates property should contain a list of frequencies in Hz. Both
143listed in the assigned-clocks property. 143these properties should correspond to the clocks listed in the assigned-clocks
144property.
144 145
145To skip setting parent or rate of a clock its corresponding entry should be 146To skip setting parent or rate of a clock its corresponding entry should be
146set to 0, or can be omitted if it is not followed by any non-zero entry. 147set to 0, or can be omitted if it is not followed by any non-zero entry.