public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/23] OMAP clock: bug fixes, cleanup, optimization
@ 2009-01-05  2:34 Paul Walmsley
  2009-01-05  2:34 ` [PATCH v2 01/23] OMAP2/3 clock: use standard set_rate fn in omap2_clk_arch_init() Paul Walmsley
                   ` (23 more replies)
  0 siblings, 24 replies; 28+ messages in thread
From: Paul Walmsley @ 2009-01-05  2:34 UTC (permalink / raw)
  To: linux-omap

Hello,

This is version 2 of the clock updates series sent earlier.  Changes
in v2:

1. Missing structure documentation for struct clk_child added

2. .clk_register function pointer added to struct clk_functions;
   OMAP2/3 clock code now does clock->clockdomain association there


Revised summary below.  Happy new year, everyone.

- Paul

------------------

Hello,

this 23-patch series updates the OMAP1/2/3 clock code.  Highlights:

- Rate recalculation functions are now no longer responsible for
  rate propagation - now handled by plat-omap/clock.c (patches 2, 3,
  4)

- Parent-to-child traversals of the clock tree are now much faster -
  these occur during rate propagation and clock notifiers (patch 5)

- Many superfluous clock flags have been dropped (patches 6, 7, 8, 9)

- struct clk has been streamlined by removing unused members and
  rearranging the structure to reduce padding (patches 10, 11)

- MPU barriers have been either removed or converted to OCP barriers
  (patches 12, 13, 14)

- clk_get_usecount() has been dropped (patch 15)

- OMAP clock code can now specify an OMAP chip family-specific 
  clk_enable() function - used on OMAP2/3 (patch 16)

- omap2_clk_enable() has been overhauled: two bugs were fixed and
  the function body itself is now understandable (patches 17, 18, 19,
  20, 21)

- Unnecessary custom clocks in smartreflex.c have been removed
  (patch 23)

- Miscellaneous bug fixes (patches 1, 22)


Compile-tested on OMAP1.  Boot-tested on N800 and 3430SDP GP ES2.1.

---

size:
   text    data     bss     dec     hex filename
3596322  192368  109912 3898602  3b7cea vmlinux.3430sdp.orig
3595941  193016  109912 3898869  3b7df5 vmlinux.3430sdp.patched

3167222  152232   86176 3405630  33f73e vmlinux.n800.orig
3167501  152792   86176 3406469  33fa85 vmlinux.n800.patched

2682806  120120   96940 2899866  2c3f9a vmlinux.osk5912.orig
2683397  120528   96940 2900865  2c4381 vmlinux.osk5912.patched

diffstat:
 arch/arm/mach-omap1/clock.c             |   87 +++++++----
 arch/arm/mach-omap1/clock.h             |   64 ++++----
 arch/arm/mach-omap2/clock.c             |  167 +++++++++++---------
 arch/arm/mach-omap2/clock.h             |    9 +
 arch/arm/mach-omap2/clock24xx.c         |  128 ++++++++++------
 arch/arm/mach-omap2/clock24xx.h         |   89 ++++-------
 arch/arm/mach-omap2/clock34xx.c         |   52 +++---
 arch/arm/mach-omap2/clock34xx.h         |  228 ++++++++++------------------
 arch/arm/mach-omap2/pm-debug.c          |    2 
 arch/arm/mach-omap2/pm24xx.c            |    2 
 arch/arm/mach-omap2/smartreflex.c       |   89 ++---------
 arch/arm/plat-omap/clock.c              |  256 +++++++++++++++++++++++++------
 arch/arm/plat-omap/include/mach/clock.h |   78 ++++++---
 13 files changed, 693 insertions(+), 558 deletions(-)

manifest:
Paul Walmsley (20):
      OMAP3 SmartReflex: get rid of custom clocks
      OMAP2/3 clock: don't tinker with hardirqs when they are supposed to be disabled
      OMAP2/3 clock: omap2_clk_enable(): fix logic
      OMAP2/3 clock: omap2_clk_enable(): fix usecount decrement bug
      OMAP2/3 clock: omap2_clk_enable(): fix bugs in clockdomain handling
      OMAP2/3 clock: omap2_clk_enable(): refactor usecount check
      OMAP2/3 clock: every clock must have a clkdm
      OMAP clock: add OMAP chip family-specific clk_register() option
      OMAP clock: drop clk_get_usecount()
      OMAP2/3 clock: convert remaining MPU barriers into OCP barriers
      OMAP2xxx clock: consolidate DELAYED_APP clock commits; fix barrier
      OMAP2/3 clock: don't use a barrier after clk_disable()
      OMAP2 clock: drop CONFIG_PARTICIPANT clock flag
      OMAP clock: drop RATE_FIXED
      OMAP clock: drop the RATE_PROPAGATES flag
      OMAP clock: track child clocks
      OMAP clock: support "dry run" rate and parent changes
      OMAP2/3 clock: drop recalc function pointers from fixed rate clocks
      OMAP clock: move rate recalc, propagation code up to plat-omap/clock.c
      OMAP2/3 clock: use standard set_rate fn in omap2_clk_arch_init()

Russell King (3):
      OMAP clock: rearrange clock.h structure order
      OMAP2/3 clock: remove clk->owner
      OMAP clock: remove VIRTUAL_CLOCK



^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2009-01-07 15:46 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-05  2:34 [PATCH v2 00/23] OMAP clock: bug fixes, cleanup, optimization Paul Walmsley
2009-01-05  2:34 ` [PATCH v2 01/23] OMAP2/3 clock: use standard set_rate fn in omap2_clk_arch_init() Paul Walmsley
2009-01-05  2:34 ` [PATCH v2 02/23] OMAP clock: move rate recalc, propagation code up to plat-omap/clock.c Paul Walmsley
2009-01-05  2:34 ` [PATCH v2 04/23] OMAP clock: support "dry run" rate and parent changes Paul Walmsley
2009-01-05  2:34 ` [PATCH v2 03/23] OMAP2/3 clock: drop recalc function pointers from fixed rate clocks Paul Walmsley
2009-01-05  2:34 ` [PATCH v2 05/23] OMAP clock: track child clocks Paul Walmsley
2009-01-05  2:34 ` [PATCH v2 06/23] OMAP clock: drop the RATE_PROPAGATES flag Paul Walmsley
2009-01-05  2:34 ` [PATCH v2 07/23] OMAP clock: drop RATE_FIXED Paul Walmsley
2009-01-05  2:34 ` [PATCH v2 08/23] OMAP clock: remove VIRTUAL_CLOCK Paul Walmsley
2009-01-06  2:03   ` Kevin Hilman
2009-01-06  2:34     ` Paul Walmsley
2009-01-05  2:34 ` [PATCH v2 09/23] OMAP2 clock: drop CONFIG_PARTICIPANT clock flag Paul Walmsley
2009-01-05  2:34 ` [PATCH v2 10/23] OMAP2/3 clock: remove clk->owner Paul Walmsley
2009-01-05  2:34 ` [PATCH v2 11/23] OMAP clock: rearrange clock.h structure order Paul Walmsley
2009-01-05  2:34 ` [PATCH v2 12/23] OMAP2/3 clock: don't use a barrier after clk_disable() Paul Walmsley
2009-01-05  2:34 ` [PATCH v2 13/23] OMAP2xxx clock: consolidate DELAYED_APP clock commits; fix barrier Paul Walmsley
2009-01-05  2:34 ` [PATCH v2 14/23] OMAP2/3 clock: convert remaining MPU barriers into OCP barriers Paul Walmsley
2009-01-05  2:34 ` [PATCH v2 15/23] OMAP clock: drop clk_get_usecount() Paul Walmsley
2009-01-05  2:34 ` [PATCH v2 16/23] OMAP clock: add OMAP chip family-specific clk_register() option Paul Walmsley
2009-01-05  2:34 ` [PATCH v2 17/23] OMAP2/3 clock: every clock must have a clkdm Paul Walmsley
2009-01-05  2:34 ` [PATCH v2 19/23] OMAP2/3 clock: omap2_clk_enable(): fix bugs in clockdomain handling Paul Walmsley
2009-01-05  2:34 ` [PATCH v2 18/23] OMAP2/3 clock: omap2_clk_enable(): refactor usecount check Paul Walmsley
2009-01-05  2:35 ` [PATCH v2 20/23] OMAP2/3 clock: omap2_clk_enable(): fix usecount decrement bug Paul Walmsley
     [not found]   ` <2ee9e08d0901060342q36a5ebd2i448d87ba55bb034d@mail.gmail.com>
2009-01-06 11:43     ` Fwd: " Anuj Aggarwal
2009-01-05  2:35 ` [PATCH v2 21/23] OMAP2/3 clock: omap2_clk_enable(): fix logic Paul Walmsley
2009-01-05  2:35 ` [PATCH v2 22/23] OMAP2/3 clock: don't tinker with hardirqs when they are supposed to be disabled Paul Walmsley
2009-01-05  2:35 ` [PATCH v2 23/23] OMAP3 SmartReflex: get rid of custom clocks Paul Walmsley
2009-01-07 15:46 ` [PATCH v2 00/23] OMAP clock: bug fixes, cleanup, optimization Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox