From: Paul Walmsley Date: Sat, 15 Sep 2012 05:18:20 +0000 (-0600) Subject: ARM: OMAP2xxx: clock: add APLL rate recalculation functions X-Git-Tag: omap-for-v3.8/clock-signed^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a2bd1cc3926327c0393deb52e8300af75b1c9e1;p=pandora-kernel.git 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 Signed-off-by: Mike Turquette Cc: Rajendra Nayak --- Reading git-diff-tree failed