public inbox for linux-clk@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: clk: Make example a bit clearer
@ 2019-08-15  7:46 Uwe Kleine-König
  2019-08-15  8:37 ` Alexander Dahl
  0 siblings, 1 reply; 4+ messages in thread
From: Uwe Kleine-König @ 2019-08-15  7:46 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd
  Cc: Alexander Dahl, kernel, linux-clk, Uwe Kleine-König

From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Previously the example used <&pll 2> in two places which made it harder
than necessary to understand why this clock gets the parent of
<&clkcon 0>.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 Documentation/devicetree/bindings/clock/clock-bindings.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/clock/clock-bindings.txt b/Documentation/devicetree/bindings/clock/clock-bindings.txt
index b646bbcf7f92..30aa63a2eecb 100644
--- a/Documentation/devicetree/bindings/clock/clock-bindings.txt
+++ b/Documentation/devicetree/bindings/clock/clock-bindings.txt
@@ -154,11 +154,11 @@ set to 0, or can be omitted if it is not followed by any non-zero entry.
         clock-names = "baud", "register";
 
         assigned-clocks = <&clkcon 0>, <&pll 2>;
-        assigned-clock-parents = <&pll 2>;
+        assigned-clock-parents = <&pll 1>;
         assigned-clock-rates = <0>, <460800>;
     };
 
-In this example the <&pll 2> clock is set as parent of clock <&clkcon 0> and
+In this example the <&pll 1> clock is set as parent of clock <&clkcon 0> and
 the <&pll 2> clock is assigned a frequency value of 460800 Hz.
 
 Configuring a clock's parent and rate through the device node that consumes
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-08-16  8:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-15  7:46 [PATCH] dt-bindings: clk: Make example a bit clearer Uwe Kleine-König
2019-08-15  8:37 ` Alexander Dahl
2019-08-15  9:50   ` Uwe Kleine-König
2019-08-16  8:53     ` Alexander Dahl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox