linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] Renesas ARM based SoC clocksource updates for v3.13
@ 2013-10-08  9:01 Simon Horman
  2013-10-08  9:01 ` [PATCH] clocksource: em_sti: convert to clk_prepare/unprepare Simon Horman
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Horman @ 2013-10-08  9:01 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Daniel,

please consider the following Renesas ARM based SoC clocksource updates
for v3.13.


The following changes since commit 272b98c6455f00884f0350f775c5342358ebb73f:

  Linux 3.12-rc1 (2013-09-16 16:17:51 -0400)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-clocksource-for-v3.13

for you to fetch changes up to c93031270dfb9b60dba1fc63073406e31acfc7b4:

  clocksource: em_sti: convert to clk_prepare/unprepare (2013-10-08 09:37:24 +0900)

----------------------------------------------------------------
Renesas ARM based SoC clocksource updates for v3.13

* Convert em_sti to clk_prepare/unprepare

----------------------------------------------------------------
Shinya Kuribayashi (1):
      clocksource: em_sti: convert to clk_prepare/unprepare

 drivers/clocksource/em_sti.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

* [PATCH] clocksource: em_sti: convert to clk_prepare/unprepare
  2013-10-08  9:01 [GIT PULL] Renesas ARM based SoC clocksource updates for v3.13 Simon Horman
@ 2013-10-08  9:01 ` Simon Horman
  2013-10-08 11:24   ` Daniel Lezcano
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Horman @ 2013-10-08  9:01 UTC (permalink / raw)
  To: linux-arm-kernel

From: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com>

Add calls to clk_prepare and unprepare so that EMMA Mobile EV2 can
migrate to the common clock framework.

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 drivers/clocksource/em_sti.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clocksource/em_sti.c b/drivers/clocksource/em_sti.c
index b9c81b7..a71907c 100644
--- a/drivers/clocksource/em_sti.c
+++ b/drivers/clocksource/em_sti.c
@@ -78,7 +78,7 @@ static int em_sti_enable(struct em_sti_priv *p)
 	int ret;
 
 	/* enable clock */
-	ret = clk_enable(p->clk);
+	ret = clk_prepare_enable(p->clk);
 	if (ret) {
 		dev_err(&p->pdev->dev, "cannot enable clock\n");
 		return ret;
@@ -107,7 +107,7 @@ static void em_sti_disable(struct em_sti_priv *p)
 	em_sti_write(p, STI_INTENCLR, 3);
 
 	/* stop clock */
-	clk_disable(p->clk);
+	clk_disable_unprepare(p->clk);
 }
 
 static cycle_t em_sti_count(struct em_sti_priv *p)
-- 
1.8.4

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

* [PATCH] clocksource: em_sti: convert to clk_prepare/unprepare
  2013-10-08  9:01 ` [PATCH] clocksource: em_sti: convert to clk_prepare/unprepare Simon Horman
@ 2013-10-08 11:24   ` Daniel Lezcano
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Lezcano @ 2013-10-08 11:24 UTC (permalink / raw)
  To: linux-arm-kernel

On 10/08/2013 11:01 AM, Simon Horman wrote:
> From: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
>
> Add calls to clk_prepare and unprepare so that EMMA Mobile EV2 can
> migrate to the common clock framework.
>
> Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> Acked-by: Magnus Damm <damm@opensource.se>
> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> ---

Applied to my tree for 3.13

Thanks !

   -- Daniel

-- 
  <http://www.linaro.org/> Linaro.org ? Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

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

end of thread, other threads:[~2013-10-08 11:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-08  9:01 [GIT PULL] Renesas ARM based SoC clocksource updates for v3.13 Simon Horman
2013-10-08  9:01 ` [PATCH] clocksource: em_sti: convert to clk_prepare/unprepare Simon Horman
2013-10-08 11:24   ` Daniel Lezcano

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).