linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v1] clk: si5351: Rename internal plls to avoid name collisions
@ 2017-07-25 21:21 Sergej Sawazki
  2017-10-12 22:51 ` Stephen Boyd
  2017-12-22  2:11 ` Stephen Boyd
  0 siblings, 2 replies; 4+ messages in thread
From: Sergej Sawazki @ 2017-07-25 21:21 UTC (permalink / raw)
  To: sboyd, mturquette
  Cc: linux-clk, Sergej Sawazki, Sebastian Hesselbarth, Rabeeh Khoury

This drivers probe fails due to a clock name collision if a clock named
'plla' or 'pllb' is already registered when registering this drivers
internal plls.

Fix it by renaming internal plls to avoid name collisions.

Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Rabeeh Khoury <rabeeh@solid-run.com>
Signed-off-by: Sergej Sawazki <sergej@taudac.com>
---
Issue observed on a RaspberryPi with kernel version 4.9.24-v7+, the clock tree
contains clocks named 'plla' and 'pllb'.

 drivers/clk/clk-si5351.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/clk-si5351.c b/drivers/clk/clk-si5351.c
index 6cca425..2866dcd 100644
--- a/drivers/clk/clk-si5351.c
+++ b/drivers/clk/clk-si5351.c
@@ -72,7 +72,7 @@ static const char * const si5351_input_names[] = {
 	"xtal", "clkin"
 };
 static const char * const si5351_pll_names[] = {
-	"plla", "pllb", "vxco"
+	"si5351_plla", "si5351_pllb", "si5351_vxco"
 };
 static const char * const si5351_msynth_names[] = {
 	"ms0", "ms1", "ms2", "ms3", "ms4", "ms5", "ms6", "ms7"
-- 
2.7.4

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

end of thread, other threads:[~2017-12-22  2:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-25 21:21 [RFC PATCH v1] clk: si5351: Rename internal plls to avoid name collisions Sergej Sawazki
2017-10-12 22:51 ` Stephen Boyd
2017-10-14  9:12   ` Sergej Sawazki
2017-12-22  2:11 ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).