ARM: OMAP2xxx: clock: add APLL rate recalculation functions
authorPaul Walmsley <paul@pwsan.com>
Sat, 15 Sep 2012 05:18:20 +0000 (23:18 -0600)
committerPaul Walmsley <paul@pwsan.com>
Tue, 13 Nov 2012 02:10:18 +0000 (19:10 -0700)
commit7a2bd1cc3926327c0393deb52e8300af75b1c9e1
tree0e075412a394f2de3270104e2689f39cfda18a5c
parented1ebc4948fdfe4c68865e5543b4a68e5a55973b
ARM: OMAP2xxx: clock: add APLL rate recalculation functions

OMAP2420 and OMAP2430 chips each have two on-chip APLLs.  When locked,
one APLL generates a 96 MHz rate; the other, a 54 MHz rate.
Previously we treated these clocks as fixed-rate clocks at the locked
rates, but this isn't quite right.  The locked rate should be returned
when the APLL is locked, and a zero rate should be returned when the
APLL is stopped.  This patch adds the infrastructure that will be used
by the CCF changes.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Mike Turquette <mturquette@ti.com>
Cc: Rajendra Nayak <rnayak@ti.com>
arch/arm/mach-omap2/clkt2xxx_apll.c
arch/arm/mach-omap2/clock2xxx.h
This page took 0.039672 seconds and 5 git commands to generate.