omap2 clock: Standardize DPLL rate recalculation with struct dpll_data
authorPaul Walmsley <paul@pwsan.com>
Mon, 27 Aug 2007 08:39:21 +0000 (02:39 -0600)
committerTony Lindgren <tony@atomide.com>
Fri, 31 Aug 2007 18:14:44 +0000 (11:14 -0700)
commitb0c1a8d8196f64e817b170faf1cda6d0c52724a0
tree0fea9de6571513d289f7c03a49264e15ed662708
parentee2f50524b5b5b2f5f6098561aaf7eb70f387597
omap2 clock: Standardize DPLL rate recalculation with struct dpll_data

Introduce a new data structure, struct dpll_data, that contains DPLL
multiplier, divider, and autoidle information.  Update existing DPLL code
to use struct dpll_data.  The goal here is to set up something that will be
usable for OMAP3430 clock tree.  Note that this does not affect the SRAM DPLL
assembly code - the DPLL register addresses are still hard-coded there.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock.c
arch/arm/mach-omap2/clock.h
include/asm-arm/arch-omap/clock.h