All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP4: hwmod data: gpmc main clk
@ 2012-10-15  5:47 ` Afzal Mohammed
  0 siblings, 0 replies; 6+ messages in thread
From: Afzal Mohammed @ 2012-10-15  5:47 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: Russell King, Benoit Cousson, Paul Walmsley, linux-omap,
	linux-arm-kernel, Afzal Mohammed

gpmc has been converted to a driver. It requests clock with
con-id "fck", if not available, probe fails. Clock for gpmc
device with con-id "fck" is created (aliased) along with
hwmod device, and for that to happen, main_clk needs to be
specified in hwmod entry, add it for OMAP4.

Note that the corresponding clock is dummy.

Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Afzal Mohammed <afzal@ti.com>
---
 arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
index 652d028..ce04002 100644
--- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
@@ -1363,6 +1363,7 @@ static struct omap_hwmod omap44xx_gpmc_hwmod = {
 	.flags		= HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET,
 	.mpu_irqs	= omap44xx_gpmc_irqs,
 	.sdma_reqs	= omap44xx_gpmc_sdma_reqs,
+	.main_clk	= "gpmc_ck",
 	.prcm = {
 		.omap4 = {
 			.clkctrl_offs = OMAP4_CM_L3_2_GPMC_CLKCTRL_OFFSET,
-- 
1.7.12


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

end of thread, other threads:[~2012-10-16 18:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-15  5:47 [PATCH] ARM: OMAP4: hwmod data: gpmc main clk Afzal Mohammed
2012-10-15  5:47 ` Afzal Mohammed
2012-10-15 10:00 ` Benoit Cousson
2012-10-15 10:00   ` Benoit Cousson
2012-10-16 18:12   ` Tony Lindgren
2012-10-16 18:12     ` Tony Lindgren

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.