diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-10-06 16:46:41 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2015-10-06 16:46:41 +0200 |
commit | a67e5c32aac9d55c0aafa2d9c012a03db69ab1ed (patch) | |
tree | b5d8e04f71ef2ca47e1f7cacf704a6a41afd733f /drivers | |
parent | 049e6dde7e57f0054fdc49102e7ef4830c698b46 (diff) | |
parent | e233d74c30f48108b7affb4e76bfc8f3c76b68ce (diff) |
Merge tag 'renesas-clk-for-v4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/drivers
Merge "Renesas ARM Based SoC Clk Updates for v4.4" from Simon Horman:
* 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)."
* tag 'renesas-clk-for-v4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
clk: shmobile: mstp: Consider "zb_clk" suitable for power management
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/clk/shmobile/clk-mstp.c | 4 |
1 files changed, 4 insertions, 0 deletions
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++; } |