linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] Renesas ARM Based SoC Clk Updates for v3.18
@ 2014-09-01  2:03 Simon Horman
  2014-09-01  2:03 ` [PATCH] clk: shmobile: Add r8a7794 support Simon Horman
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Simon Horman @ 2014-09-01  2:03 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Olof, Hi Kevin, Hi Arnd,

Please consider these Renesas ARM based SoC clk updates for v3.18.


I am taking this change through my tree with Mike's Ack
as it seems to be a smooth way to handle things.


The following changes since commit 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9:

  Linux 3.17-rc1 (2014-08-16 10:40:26 -0600)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-clk-for-v3.18

for you to fetch changes up to 8de078f189da45453d2ed2a04288e329cc169731:

  clk: shmobile: Add r8a7794 support (2014-08-27 08:40:54 +0900)

----------------------------------------------------------------
Renesas ARM Based SoC Clk Updates for v3.18

* Add r8a7794 support

----------------------------------------------------------------
Hisashi Nakamura (1):
      clk: shmobile: Add r8a7794 support

 drivers/clk/shmobile/Makefile | 1 +
 1 file changed, 1 insertion(+)

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

* [PATCH] clk: shmobile: Add r8a7794 support
  2014-09-01  2:03 [GIT PULL] Renesas ARM Based SoC Clk Updates for v3.18 Simon Horman
@ 2014-09-01  2:03 ` Simon Horman
  2014-09-05 16:14 ` [GIT PULL] Renesas ARM Based SoC Clk Updates for v3.18 Arnd Bergmann
  2015-09-24  5:29 ` [GIT PULL] Renesas ARM Based SoC Clk Updates for v4.4 Simon Horman
  2 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2014-09-01  2:03 UTC (permalink / raw)
  To: linux-arm-kernel

From: Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>

Signed-off-by: Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 drivers/clk/shmobile/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/shmobile/Makefile b/drivers/clk/shmobile/Makefile
index e002923..531d4f6 100644
--- a/drivers/clk/shmobile/Makefile
+++ b/drivers/clk/shmobile/Makefile
@@ -4,6 +4,7 @@ obj-$(CONFIG_ARCH_R8A7740)		+= clk-r8a7740.o
 obj-$(CONFIG_ARCH_R8A7779)		+= clk-r8a7779.o
 obj-$(CONFIG_ARCH_R8A7790)		+= clk-rcar-gen2.o
 obj-$(CONFIG_ARCH_R8A7791)		+= clk-rcar-gen2.o
+obj-$(CONFIG_ARCH_R8A7794)		+= clk-rcar-gen2.o
 obj-$(CONFIG_ARCH_SHMOBILE_MULTI)	+= clk-div6.o
 obj-$(CONFIG_ARCH_SHMOBILE_MULTI)	+= clk-mstp.o
 # for emply built-in.o
-- 
2.0.1


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

* Re: [GIT PULL] Renesas ARM Based SoC Clk Updates for v3.18
  2014-09-01  2:03 [GIT PULL] Renesas ARM Based SoC Clk Updates for v3.18 Simon Horman
  2014-09-01  2:03 ` [PATCH] clk: shmobile: Add r8a7794 support Simon Horman
@ 2014-09-05 16:14 ` Arnd Bergmann
  2015-09-24  5:29 ` [GIT PULL] Renesas ARM Based SoC Clk Updates for v4.4 Simon Horman
  2 siblings, 0 replies; 6+ messages in thread
From: Arnd Bergmann @ 2014-09-05 16:14 UTC (permalink / raw)
  To: linux-arm-kernel

On Monday 01 September 2014, Simon Horman wrote:
> Hi Olof, Hi Kevin, Hi Arnd,
> 
> Please consider these Renesas ARM based SoC clk updates for v3.18.
> 
> 
> I am taking this change through my tree with Mike's Ack
> as it seems to be a smooth way to handle things.
> 

Ok, merged into next/soc now.

	Arnd

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

* [GIT PULL] Renesas ARM Based SoC Clk Updates for v4.4
  2014-09-01  2:03 [GIT PULL] Renesas ARM Based SoC Clk Updates for v3.18 Simon Horman
  2014-09-01  2:03 ` [PATCH] clk: shmobile: Add r8a7794 support Simon Horman
  2014-09-05 16:14 ` [GIT PULL] Renesas ARM Based SoC Clk Updates for v3.18 Arnd Bergmann
@ 2015-09-24  5:29 ` Simon Horman
  2015-09-24  5:30   ` [PATCH] clk: shmobile: mstp: Consider "zb_clk" suitable for power management Simon Horman
  2015-10-06 14:47   ` [GIT PULL] Renesas ARM Based SoC Clk Updates for v4.4 Arnd Bergmann
  2 siblings, 2 replies; 6+ messages in thread
From: Simon Horman @ 2015-09-24  5:29 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Olof, Hi Kevin, Hi Arnd,

Please consider these Renesas ARM based SoC clk updates for v4.4.

The patch was acked by Stephen earlier this month
https://lkml.org/lkml/2015/9/17/822


The following changes since commit 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f:

  Linux 4.3-rc1 (2015-09-12 16:35:56 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-clk-for-v4.4

for you to fetch changes up to e233d74c30f48108b7affb4e76bfc8f3c76b68ce:

  clk: shmobile: mstp: Consider "zb_clk" suitable for power management (2015-09-18 09:11:37 +0900)

----------------------------------------------------------------
Renesas ARM Based SoC Clk Updates for v4.4

* Consider "zb_clk" suitable for power management

  This part of a multi-stage effort by Geert Uytterhoeven to add:

  "Clock Domain support to the Clock Pulse Generator (CPG) Module Stop
   (MSTP) Clocks driver using the generic PM Domain, to be used on shmobile
   SoCs without device power domains (R-Car Gen1 and Gen2, RZ).  This allows
   to power-manage the module clocks of SoC devices that are part of the
   CPG/MSTP Clock Domain using Runtime PM, or for system suspend/resume,
   similar to SoCs with device power domains (SH-Mobile and R-Mobile)."

----------------------------------------------------------------
Geert Uytterhoeven (1):
      clk: shmobile: mstp: Consider "zb_clk" suitable for power management

 drivers/clk/shmobile/clk-mstp.c | 4 ++++
 1 file changed, 4 insertions(+)

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

* [PATCH] clk: shmobile: mstp: Consider "zb_clk" suitable for power management
  2015-09-24  5:29 ` [GIT PULL] Renesas ARM Based SoC Clk Updates for v4.4 Simon Horman
@ 2015-09-24  5:30   ` Simon Horman
  2015-10-06 14:47   ` [GIT PULL] Renesas ARM Based SoC Clk Updates for v4.4 Arnd Bergmann
  1 sibling, 0 replies; 6+ messages in thread
From: Simon Horman @ 2015-09-24  5:30 UTC (permalink / raw)
  To: linux-arm-kernel

From: Geert Uytterhoeven <geert+renesas@glider.be>

Currently the CPG/MSTP Clock Domain code looks for MSTP clocks to power
manage a device.

Unfortunately, on R-Mobile APE6 (r8a73a4) and SH-Mobile AG5 (sh73a0),
the Bus State Controller (BSC) is not power-managed by an MSTP clock,
but by a plain CPG clock (zb_clk).  Add a special case to handle this,
so the clock is properly managed, and devices connected to the BSC work
as expected.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 drivers/clk/shmobile/clk-mstp.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/clk/shmobile/clk-mstp.c b/drivers/clk/shmobile/clk-mstp.c
index b1df7b2f1e97..a0a56e99882a 100644
--- a/drivers/clk/shmobile/clk-mstp.c
+++ b/drivers/clk/shmobile/clk-mstp.c
@@ -259,6 +259,10 @@ int cpg_mstp_attach_dev(struct generic_pm_domain *domain, struct device *dev)
 					    "renesas,cpg-mstp-clocks"))
 			goto found;
 
+		/* BSC on r8a73a4/sh73a0 uses zb_clk instead of an mstp clock */
+		if (!strcmp(clkspec.np->name, "zb_clk"))
+			goto found;
+
 		of_node_put(clkspec.np);
 		i++;
 	}
-- 
2.1.4


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

* Re: [GIT PULL] Renesas ARM Based SoC Clk Updates for v4.4
  2015-09-24  5:29 ` [GIT PULL] Renesas ARM Based SoC Clk Updates for v4.4 Simon Horman
  2015-09-24  5:30   ` [PATCH] clk: shmobile: mstp: Consider "zb_clk" suitable for power management Simon Horman
@ 2015-10-06 14:47   ` Arnd Bergmann
  1 sibling, 0 replies; 6+ messages in thread
From: Arnd Bergmann @ 2015-10-06 14:47 UTC (permalink / raw)
  To: linux-arm-kernel

On Thursday 24 September 2015 14:29:59 Simon Horman wrote:
> Renesas ARM Based SoC Clk Updates for v4.4
> 
> * Consider "zb_clk" suitable for power management
> 
>   This part of a multi-stage effort by Geert Uytterhoeven to add:
> 
>   "Clock Domain support to the Clock Pulse Generator (CPG) Module Stop
>    (MSTP) Clocks driver using the generic PM Domain, to be used on shmobile
>    SoCs without device power domains (R-Car Gen1 and Gen2, RZ).  This allows
>    to power-manage the module clocks of SoC devices that are part of the
>    CPG/MSTP Clock Domain using Runtime PM, or for system suspend/resume,
>    similar to SoCs with device power domains (SH-Mobile and R-Mobile)."
> 

Pulled into next/drivers, thanks!

	Arnd

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

end of thread, other threads:[~2015-10-06 14:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-01  2:03 [GIT PULL] Renesas ARM Based SoC Clk Updates for v3.18 Simon Horman
2014-09-01  2:03 ` [PATCH] clk: shmobile: Add r8a7794 support Simon Horman
2014-09-05 16:14 ` [GIT PULL] Renesas ARM Based SoC Clk Updates for v3.18 Arnd Bergmann
2015-09-24  5:29 ` [GIT PULL] Renesas ARM Based SoC Clk Updates for v4.4 Simon Horman
2015-09-24  5:30   ` [PATCH] clk: shmobile: mstp: Consider "zb_clk" suitable for power management Simon Horman
2015-10-06 14:47   ` [GIT PULL] Renesas ARM Based SoC Clk Updates for v4.4 Arnd Bergmann

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