Skip to content

OMAP2xxx clock/CPUFreq: fix compilation errors; clean up

Paul Walmsley linux-omap 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 5 repliesIn review
  2. v14 patches 7 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4OMAP2xxx clock: clk2xxx.c doesn't compile if CPUFREQ is enabledarch/arm/mach-omap2/clock2xxx.c+4 -10 replies
2/4OMAP2xxx OPP: clean up comments in OPP dataarch/arm/mach-omap2/opp2420_data.c arch/arm/mach-omap2/opp2430_data.c+35 -330 replies
3/4OMAP2 clock: dynamically allocate CPUFreq frequency tablearch/arm/mach-omap2/clock2xxx.c+37 -80 replies
4/4OMAP clock/CPUFreq: avoid leaking the CPUFreq frequency tablearch/arm/mach-omap2/clock2xxx.c arch/arm/plat-omap/clock.c arch/arm/plat-omap/cpu-omap.c +1 more+20 -02 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/4] OMAP2xxx clock/CPUFreq: fix compilation errors; clean up

Hello,

This series fixes several compilation errors for OMAP2xxx chips when CONFIG_CPU_FREQ is set. These were reported and partially fixed by Felipe Balbi <[email protected]>.

Considerable work is still needed to fully support dynamic frequency changes on OMAP2xxx-series chips. Readers interested in such a project are encouraged to review the Maemo Diablo RX-34 and RX-44 kernel source at:

http://repository.maemo.org/pool/diablo/free/k/kernel-source-diablo/

Boot-tested on N800 with n8x0_defconfig with CONFIG_CPU_FREQ; compile-tested for 2430SDP.

This second version also incorporates some comments from Felipe.

- Paul

---

Felipe Balbi (1):
OMAP2xxx clock: clk2xxx.c doesn't compile if CPUFREQ is enabled

Paul Walmsley (3):
OMAP2xxx OPP: clean up comments in OPP data
OMAP2 clock: dynamically allocate CPUFreq frequency table OMAP clock/CPUFreq: avoid leaking the CPUFreq frequency table

 arch/arm/mach-omap2/clock2xxx.c         |   57 ++++++++++++++++++++++++++-----
 arch/arm/mach-omap2/opp2420_data.c      |   38 +++++++++++----------
 arch/arm/mach-omap2/opp2430_data.c      |   30 ++++++++--------
 arch/arm/plat-omap/clock.c              |   10 +++++
 arch/arm/plat-omap/cpu-omap.c           |    1 +
 arch/arm/plat-omap/include/plat/clock.h |    2 +
 6 files changed, 96 insertions(+), 42 deletions(-)