All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clk: mvebu: Require corediv clock for Armada 38x
@ 2016-02-10 20:41 Kevin Smith
  2016-02-10 21:28 ` Thomas Petazzoni
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Kevin Smith @ 2016-02-10 20:41 UTC (permalink / raw)
  To: linux-clk
  Cc: Kevin Smith, Michael Turquette, Stephen Boyd, Gregory CLEMENT,
	Thomas Petazzoni

The corediv clock driver is required for the pxa3xx_nand driver,
but is not included in the ARMADA_38X_CLK config.  Add
MVEBU_CLK_COREDIV as a dependency of ARMADA_38X_CLK.

Without the corediv driver, nand initialization fails with the
message:

pxa3xx-nand f10d0000.flash: failed to get nand clock
pxa3xx-nand f10d0000.flash: alloc nand resource failed

With corediv enabled, flash is successfully detected.

Signed-off-by: Kevin Smith <kevin.smith@elecsyscorp.com>
Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Gregory CLEMENT <gregory.clement@free-electrons.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 drivers/clk/mvebu/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/mvebu/Kconfig b/drivers/clk/mvebu/Kconfig
index 2769625..1107056 100644
--- a/drivers/clk/mvebu/Kconfig
+++ b/drivers/clk/mvebu/Kconfig
@@ -20,6 +20,7 @@ config ARMADA_375_CLK
 config ARMADA_38X_CLK
 	bool
 	select MVEBU_CLK_COMMON
+	select MVEBU_CLK_COREDIV
 
 config ARMADA_39X_CLK
 	bool
-- 
2.4.6

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

end of thread, other threads:[~2016-02-25 23:06 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-10 20:41 [PATCH] clk: mvebu: Require corediv clock for Armada 38x Kevin Smith
2016-02-10 21:28 ` Thomas Petazzoni
2016-02-10 23:38   ` Kevin Smith
2016-02-10 23:40 ` [PATCH v2 1/2] clk: mvebu: Remove corediv clock from Armada XP Kevin Smith
2016-02-10 23:40   ` [PATCH v2 2/2] clk: mvebu: Move corediv config to mvebu config Kevin Smith
2016-02-11  8:16     ` Thomas Petazzoni
2016-02-11 16:01       ` Kevin Smith
2016-02-11 16:04         ` Thomas Petazzoni
2016-02-11 16:10           ` Kevin Smith
2016-02-11 16:53 ` [PATCH v3 1/2] clk: mvebu: Remove corediv clock from Armada XP Kevin Smith
2016-02-11 16:54   ` [PATCH v3 2/2] clk: mvebu: Move corediv config to mvebu config Kevin Smith
2016-02-12 16:28     ` Gregory CLEMENT
2016-02-18  1:16     ` Michael Turquette
2016-02-25 23:06     ` Stephen Boyd
2016-02-12 16:28   ` [PATCH v3 1/2] clk: mvebu: Remove corediv clock from Armada XP Gregory CLEMENT
2016-02-18  1:16   ` Michael Turquette
2016-02-18  8:11     ` Thomas Petazzoni
2016-02-18 17:54       ` Gregory CLEMENT
2016-02-25 23:06   ` Stephen Boyd

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.