Skip to content

clock/dpll autoidle support

Rajendra Nayak linux-arm-kernel linux-omap 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 0 repliesNew
  2. v10 of 7 patches 0 repliesSuperseded

Changes in v2 from the cover letter

-1- Added support for clkout_x2 autogating
-2- Populated dpll_usb_clkdcoldo_ck's missing
clksel register

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7omap: clock: Check for enable/disable ops supportarch/arm/mach-omap2/clock.c+9 -50 replies
2/7omap3: dpll: Populate clkops for dpll1_ckarch/arm/mach-omap2/clock3xxx_data.c+1 -10 replies
3/7omap: clock: Add allow_idle/deny_idle support in clkopsarch/arm/plat-omap/clock.c arch/arm/plat-omap/include/plat/clock.h+32 -02 replies
3/7omap: clock: Add allow_idle/deny_idle support in clkops+0 -01 reply
4/7omap: dpll: Add allow_idle/deny_idle support for all DPLL'sarch/arm/mach-omap2/clock.c arch/arm/mach-omap2/clock.h arch/arm/mach-omap2/clock3xxx_data.c +1 more+10 -31 reply
4/7omap: dpll: Add allow_idle/deny_idle support for all DPLL's+0 -01 reply
5/7omap: dpll: Enable all OMAP3/4 dpll autoidle late at bootarch/arm/mach-omap2/pm34xx.c arch/arm/mach-omap2/pm44xx.c+8 -141 reply
5/7omap: dpll: Enable all OMAP3/4 dpll autoidle late at boot+0 -02 replies
6/7omap4: dpll: Add dpll api to control GATE_CTRLarch/arm/mach-omap2/clock.h arch/arm/mach-omap2/dpll3xxx.c arch/arm/plat-omap/include/plat/clock.h+61 -01 reply
7/7omap4: dpll: Enable auto gate control for all MX postdividersarch/arm/mach-omap2/clock.c arch/arm/mach-omap2/clock.h arch/arm/mach-omap2/clock44xx_data.c+36 -221 reply
7/7omap4: dpll: Enable auto gate control for all MX postdividers+0 -00 replies

Reviews trailers per patch

None of the 11 patches has a Reviewed-by or Acked-by.

PatchRajendra Nayak
1/7
2/7
3/7
3/7
4/7
4/7
5/7T-b
5/7T-b
6/7
7/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/7] clock/dpll autoidle support

OMAP has various clock nodes and dpll's
which support hardware level autoidle.
Enabling hardware level autoidle provides
better power savings without much software
intervention.

This series does the following to help enable
hardware level autoidling using clock framework
for some of these nodes on OMAP3 and OMAP4

-1- Adds support for providing function pointers for enabling/disabling autoidle in clkops
-2- Populates these in clkops for all OMAP3/4 dplls -3- Enables all dpll autoidle late in boot on OMAP3 and OMAP4 -4- Adds support for mx postdivider autoidle (present only on OMAP4) and enables it late in OMAP4 boot

Some of the patches in this series were earlier posted and discussed as part of another series here
http://marc.info/?l=linux-omap&m=129681356402594&w=2
They are now posted as a seperate series as discussed here
http://marc.info/?l=linux-omap&m=129713867702170&w=2

The patches are boot tested on OMAP3430sdp and
OMAP4430sdp.

The following changes since commit 100b33c8bd8a3235fd0b7948338d6cbb3db3c63d:
Linus Torvalds (1):

        Linux 2.6.38-rc4

are available in the git repository at:

git://gitorious.org/omap-pm/linux.git dpll-autoidle-v2

Changes in v2:
-1- Added support for clkout_x2 autogating
-2- Populated dpll_usb_clkdcoldo_ck's missing
clksel register

Rajendra Nayak (7):
omap: clock: Check for enable/disable ops support
omap3: dpll: Populate clkops for dpll1_ck
omap: clock: Add allow_idle/deny_idle support in clkops
omap: dpll: Add allow_idle/deny_idle support for all DPLL's
omap: dpll: Enable all OMAP3/4 dpll autoidle late at boot
omap4: dpll: Add dpll api to control GATE_CTRL
omap4: dpll: Enable auto gate control for all MX postdividers

 arch/arm/mach-omap2/clock.c             |   25 +++++++++++---
 arch/arm/mach-omap2/clock.h             |    5 +++
 arch/arm/mach-omap2/clock3xxx_data.c    |    4 +-
 arch/arm/mach-omap2/clock44xx_data.c    |   54 +++++++++++++++++------------
 arch/arm/mach-omap2/dpll3xxx.c          |   57 +++++++++++++++++++++++++++++++
 arch/arm/mach-omap2/pm34xx.c            |   18 ++-------
 arch/arm/mach-omap2/pm44xx.c            |    4 ++
 arch/arm/plat-omap/clock.c              |   26 ++++++++++++++
 arch/arm/plat-omap/include/plat/clock.h |    7 ++++
 9 files changed, 156 insertions(+), 44 deletions(-)