From: Simon Horman <hidden> Date: 2015-09-24 05:29:59
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(+)
From: Simon Horman <hidden> Date: 2015-09-24 05:30:13
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 <redacted>
Acked-by: Stephen Boyd <redacted>
Signed-off-by: Simon Horman <redacted>
---
drivers/clk/shmobile/clk-mstp.c | 4 ++++
1 file changed, 4 insertions(+)
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)."