Skip to content

OMAP2+: clock: add clockfw autoidle for iclks, OMAP2xxx

Rajendra Nayak linux-arm-kernel linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 11 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 11 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/11] OMAP2+: clock: add clockfw autoidle for iclks, OMAP2xxx
Quoted 2 lines

-----Original Message-----
From: linux-arm-kernel-bounces at lists.infradead.org

[mailto:linux-arm-kernel-bounces at lists.infradead.org] On Behalf

Quoted 4 lines

Of Paul Walmsley
Sent: Wednesday, February 16, 2011 12:23 PM
To: linux-omap at vger.kernel.org; linux-arm-kernel at lists.infradead.org
Subject: [PATCH 00/11] OMAP2+: clock: add clockfw autoidle for iclks,

OMAP2xxx

Quoted 11 lines

Hello,

This patch series adds clock framework-controlled autoidle support for the OMAP2xxx DPLL, APLLs, and OMAP2/3 interface clocks. The old direct register writes in the PM code to enable clock autoidle have been removed.

This series also ensures that all clock autoidle is disabled during boot and only re-enabled if CONFIG_PM is enabled.

Quoted 6 lines

The series applies on the 'clk_autoidle_a_2.6.39' branch of
git://git.pwsan.com/linux-2.6.

Boot-tested on N800, and dynamic idle-tested on OMAP3430 Beagleboard. Compile-tested with omap1_defconfig, omap2plus_defconfig, a 5912 OSK-only config, an N8x0-only config, an OMAP3-only config, and an

OMAP4-only

Quoted 1 line

config.

Boot-tested on 3430sdp/4430sdp, with CONFIG_PM and with !CONFIG_PM. suspend-offmode tested on 3430sdp and suspend-retmode on 4430sdp (with some out-of-tree patches)
Dynamic idle testing on 3430sdp showed me some very jerky debug console the
moment a 'echo 1 > /debug/pm_debug/sleep_while_idle' is done. This however seems to be the case even on 2.6.38-rc4 and not related to the
current patch series. Will debug further, but seems to some 3430sdp specific
issue, since you did not see it on Beagleboard and seems it is not seen on OMAP3
zoom's either.
Just out of curiosity, what dynamic-idle state where you able to achieve on
Beagle? And what was the debug console timeout that you configured?

Regards,
Rajendra

Quoted 9 lines

- Paul

---

clk_autoidle_b_2.6.39
text data bss dec hex filename
5530703 330544 5594520 11455767 aecd17

vmlinux.omap2plus_defconfig.orig

Quoted 1 line

5531167 330544 5594520 11456231 aecee7

vmlinux.omap2plus_defconfig.patched

Quoted 6 lines

Paul Walmsley (11):
OMAP2+: clock: disable autoidle on all clocks during clock init
OMAP2: clock: add DPLL autoidle support
OMAP2xxx: clock: add clockfw autoidle support for APLLs OMAP2+: clock: comment that osc_ck/osc_sys_ck should use clockfw

autoidle control

Quoted 3 lines

OMAP2+: clock: add interface clock type code with autoidle support
OMAP2420: clock: add sdrc_ick
OMAP2420: clock: use autoidle clkops for all autoidle-controllable

interface clocks

Quoted 2 lines

OMAP2430/3xxx: clock: add modem clock autoidle support
OMAP2430: clock: use autoidle clkops for all autoidle-controllable

interface clocks

Quoted 1 line

OMAP3: clock: use autoidle clkops for all autoidle-controllable

interface clocks

Quoted 1 line

OMAP2/3: PM: remove manual CM_AUTOIDLE bit setting in

mach-omap2/pm*xx.c

Quoted 9 lines

 arch/arm/mach-omap2/Makefile          |    7 +
 arch/arm/mach-omap2/clkt2xxx_apll.c   |   24 +++++
 arch/arm/mach-omap2/clkt2xxx_dpll.c   |   63 +++++++++++++
 arch/arm/mach-omap2/clkt2xxx_osc.c    |   14 +++
 arch/arm/mach-omap2/clkt_iclk.c       |   82 +++++++++++++++++
 arch/arm/mach-omap2/clock.h           |   11 ++
 arch/arm/mach-omap2/clock2420_data.c  |  130

+++++++++++++++++-----------

Quoted 1 line
 arch/arm/mach-omap2/clock2430_data.c  |  130

++++++++++++++++------------

Quoted 5 lines
 arch/arm/mach-omap2/clock34xx.c       |   29 ++++++
 arch/arm/mach-omap2/clock34xx.h       |    5 +
 arch/arm/mach-omap2/clock3517.c       |    4 +
 arch/arm/mach-omap2/clock3xxx.c       |    3 -
 arch/arm/mach-omap2/clock3xxx_data.c  |  155

+++++++++++++++++----------------

Quoted 15 lines
 arch/arm/mach-omap2/clock44xx_data.c  |    3 +
 arch/arm/mach-omap2/cm-regbits-24xx.h |    3 +
 arch/arm/mach-omap2/cm2xxx_3xxx.c     |   69 +++++++++++++++
 arch/arm/mach-omap2/cm2xxx_3xxx.h     |    8 ++
 arch/arm/mach-omap2/pm24xx.c          |   69 +--------------
 arch/arm/mach-omap2/pm34xx.c          |  105 ----------------------
 19 files changed, 557 insertions(+), 357 deletions(-)
 create mode 100644 arch/arm/mach-omap2/clkt2xxx_dpll.c
 create mode 100644 arch/arm/mach-omap2/clkt_iclk.c

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel