[lkml]   [2014]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v4 0/3] PM / clock_ops: add pm_clk_add_clk()
Hi Santosh, Kevin,

I've separated these patches in standalone series as requested by
Santosh ( Also, I've kept
versioning of patches from original series and therefor this
is v4 of patches.

The patch 1 was originally introduced in [1] (Apr 2014) and it allows
to fill per-device list of clock from DT.

The patch 2 is small clean up needed for patch 3.

The patch 3 was created as was discussed in v2 and first introduced in v3.
Here I marked it as RFC, because I've found some disadvantages of such
approach - see comments to the patch itself.

Finally, this series is needed to enable to enable Runtime
PM for Keystone 2, but honestly I need only patch 1.

RFC version of patches can be found at [2].

Changes in v4:
- pm_clk_add_clk() changed to get reference on clock as
requested by Dmitry Torokhov (see v3). Now the caller has to
use clk_put() on clock pointer when done.

Changes in v3:
- handling of the case when !CONFIG_PM_RUNTIME has been
moved in PM clock framework.

Changes in v2:
- minor comments applied and rebased on top of Linux 3.18-rc1.

Links on previous versions:

[1] "[PATCH/RFC 0/4] of: Register clocks for Runtime PM with PM core"

[2] "[RFC PATCH 0/4] ARM: keystone: pm: switch to use generic pm domains"

CC: Santosh Shilimkar <>
CC: Kevin Hilman <>
CC: Ulf Hansson <>
CC: Geert Uytterhoeven <>
CC: Dmitry Torokhov <>

Geert Uytterhoeven (1):
PM / clock_ops: Add pm_clk_add_clk()

Grygorii Strashko (2):
PM / clock_ops: make __pm_clk_enable more generic
PM / clock_ops: add and enable clocks always if !CONFIG_PM_RUNTIME

drivers/base/power/clock_ops.c | 89 +++++++++++++++++++++++++++---------------
include/linux/pm_clock.h | 8 ++++
2 files changed, 65 insertions(+), 32 deletions(-)


 \ /
  Last update: 2014-11-06 15:21    [W:0.077 / U:1.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site