Skip to content

omap2 clock: create clock24xx.[ch] in preparation for 3430 clock code

Paul Walmsley linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3omap2 clock: move SDRC autorefresh counter defines into sdrc.harch/arm/mach-omap2/clock.c arch/arm/mach-omap2/clock.h arch/arm/mach-omap2/sdrc.h+52 -430 replies
2/3omap2 clock: move 24xx clock definitions from clock.h into clock24xx.harch/arm/mach-omap2/clock.c arch/arm/mach-omap2/clock.h arch/arm/mach-omap2/clock24xx.h+2641 -26130 replies
3/3omap2 clock: move 24xx-specific clock code from clock.c into clock24xx.carch/arm/mach-omap2/Makefile arch/arm/mach-omap2/clock.c arch/arm/mach-omap2/clock.h +2 more+598 -5340 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] omap2 clock: create clock24xx.[ch] in preparation for 3430 clock code

Hello,

this short patch series separates OMAP24xx clock definitions and code from common clock code and headers. It's in preparation for OMAP3430 clock definitions and code.

All this happens in patches 2 and 3 of this series. The remaining patch 1 moves some SDRC-related defines from clock.h into sdrc.h where they belong.

The diffstat looks big, but the patches are mostly just cut and paste, with a few minor changes to expose common functions to the linker, and to satisfy checkpatch (at least somewhat).

Review and comments are appreciated, as always.

- Paul

diffstat:

 arch/arm/mach-omap2/clock.c                |  548 -----
 arch/arm/mach-omap2/clock.h                | 2661 -----------------------------
 linux-omap/arch/arm/mach-omap2/Makefile    |    3
 linux-omap/arch/arm/mach-omap2/clock.c     |    2
 linux-omap/arch/arm/mach-omap2/clock.h     |   62
 linux-omap/arch/arm/mach-omap2/clock24xx.c |  521 +++++
 linux-omap/arch/arm/mach-omap2/clock24xx.h | 2653 ++++++++++++++++++++++++++++
 linux-omap/arch/arm/mach-omap2/sdrc.h      |   31
 8 files changed, 3290 insertions(+), 3191 deletions(-)

size:
text data bss dec hex filename

2853812  149804   85992 3089608  2f24c8 vmlinux.orig
2854244  149804   85992 3090040  2f2678 vmlinux