Commit b4b3bfd0 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Mike Turquette

clk: Improve clock-indices binding documentation

Improve the wording for the clock-indices binding documentation.
Also replace "empty nodes" by "empty strings", as reported before by Sergei
Shtylyov.
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Acked-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: default avatarSimon Horman <horms+renesas@verge.net.au>
Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
parent 54e73016
...@@ -44,10 +44,9 @@ For example: ...@@ -44,10 +44,9 @@ For example:
clocks by index. The names should reflect the clock output signal clocks by index. The names should reflect the clock output signal
names for the device. names for the device.
clock-indices: If the identifyng number for the clocks in the node clock-indices: If the identifying number for the clocks in the node
is not linear from zero, then the this mapping allows is not linear from zero, then this allows the mapping of
the mapping of identifiers into the clock-output-names identifiers into the clock-output-names array.
array.
For example, if we have two clocks <&oscillator 1> and <&oscillator 3>: For example, if we have two clocks <&oscillator 1> and <&oscillator 3>:
...@@ -58,7 +57,7 @@ For example, if we have two clocks <&oscillator 1> and <&oscillator 3>: ...@@ -58,7 +57,7 @@ For example, if we have two clocks <&oscillator 1> and <&oscillator 3>:
clock-output-names = "clka", "clkb"; clock-output-names = "clka", "clkb";
} }
This ensures we do not have any empty nodes in clock-output-names This ensures we do not have any empty strings in clock-output-names
==Clock consumers== ==Clock consumers==
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment