All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clk: pxa: pxa3xx: add missing os timer clock
@ 2015-02-14 14:54 Robert Jarzmik
  2015-02-23 19:42 ` Robert Jarzmik
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Jarzmik @ 2015-02-14 14:54 UTC (permalink / raw)
  To: Mike Turquette, Stephen Boyd; +Cc: linux-kernel, Robert Jarzmik

The pxa3xx scheduler relies on the pxa-timer, which requires a clock for
its rate. As the clock handling will be taken over by the clock
framework, add this missing clock.

The miss was discovered by attempting to run a zylonite platform in a
device-tree configuration, with the future patch to shift clocks
handling to clock framework applied.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
---
 drivers/clk/pxa/clk-pxa3xx.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/clk/pxa/clk-pxa3xx.c b/drivers/clk/pxa/clk-pxa3xx.c
index 39f891b..4b93a1e 100644
--- a/drivers/clk/pxa/clk-pxa3xx.c
+++ b/drivers/clk/pxa/clk-pxa3xx.c
@@ -336,6 +336,9 @@ static void __init pxa3xx_base_clocks_init(void)
 	clk_register_clk_pxa3xx_smemc();
 	clk_register_gate(NULL, "CLK_POUT", "osc_13mhz", 0,
 			  (void __iomem *)&OSCC, 11, 0, NULL);
+	clkdev_pxa_register(CLK_OSTIMER, "OSTIMER0", NULL,
+			    clk_register_fixed_factor(NULL, "os-timer0",
+						      "osc_13mhz", 0, 1, 4));
 }
 
 int __init pxa3xx_clocks_init(void)
-- 
2.1.0


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

* Re: [PATCH] clk: pxa: pxa3xx: add missing os timer clock
  2015-02-14 14:54 [PATCH] clk: pxa: pxa3xx: add missing os timer clock Robert Jarzmik
@ 2015-02-23 19:42 ` Robert Jarzmik
  2015-04-10 20:36   ` Michael Turquette
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Jarzmik @ 2015-02-23 19:42 UTC (permalink / raw)
  To: Mike Turquette, Stephen Boyd; +Cc: linux-kernel

Robert Jarzmik <robert.jarzmik@free.fr> writes:

> The pxa3xx scheduler relies on the pxa-timer, which requires a clock for
> its rate. As the clock handling will be taken over by the clock
> framework, add this missing clock.
>
> The miss was discovered by attempting to run a zylonite platform in a
> device-tree configuration, with the future patch to shift clocks
> handling to clock framework applied.
>
> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Hi Mike and Stephen,

Would you take that in your -rc staging now the merge window is closed ?

Cheers.

--
Robert

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

* Re: [PATCH] clk: pxa: pxa3xx: add missing os timer clock
  2015-02-23 19:42 ` Robert Jarzmik
@ 2015-04-10 20:36   ` Michael Turquette
  2015-04-11 19:18     ` Robert Jarzmik
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Turquette @ 2015-04-10 20:36 UTC (permalink / raw)
  To: Robert Jarzmik, Stephen Boyd; +Cc: linux-kernel

Quoting Robert Jarzmik (2015-02-23 11:42:53)
> Robert Jarzmik <robert.jarzmik@free.fr> writes:
> 
> > The pxa3xx scheduler relies on the pxa-timer, which requires a clock for
> > its rate. As the clock handling will be taken over by the clock
> > framework, add this missing clock.
> >
> > The miss was discovered by attempting to run a zylonite platform in a
> > device-tree configuration, with the future patch to shift clocks
> > handling to clock framework applied.
> >
> > Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
> Hi Mike and Stephen,
> 
> Would you take that in your -rc staging now the merge window is closed ?

Applied.

Regards,
Mike

> 
> Cheers.
> 
> --
> Robert

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

* Re: [PATCH] clk: pxa: pxa3xx: add missing os timer clock
  2015-04-10 20:36   ` Michael Turquette
@ 2015-04-11 19:18     ` Robert Jarzmik
  0 siblings, 0 replies; 4+ messages in thread
From: Robert Jarzmik @ 2015-04-11 19:18 UTC (permalink / raw)
  To: Michael Turquette; +Cc: Stephen Boyd, linux-kernel

Michael Turquette <mturquette@linaro.org> writes:

> Quoting Robert Jarzmik (2015-02-23 11:42:53)
>> Would you take that in your -rc staging now the merge window is closed ?
>
> Applied.
Thank Mike.

Cheers.

-- 
Robert

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

end of thread, other threads:[~2015-04-11 19:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-14 14:54 [PATCH] clk: pxa: pxa3xx: add missing os timer clock Robert Jarzmik
2015-02-23 19:42 ` Robert Jarzmik
2015-04-10 20:36   ` Michael Turquette
2015-04-11 19:18     ` Robert Jarzmik

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.