]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
omap2 clock: add fixed divisor clock code
authorPaul Walmsley <paul@pwsan.com>
Thu, 2 Aug 2007 18:10:22 +0000 (12:10 -0600)
committerTony Lindgren <tony@atomide.com>
Fri, 10 Aug 2007 09:36:40 +0000 (02:36 -0700)
commitae9a25bb9fb0e59d0a5d83e13fe71d03627a7925
treee7204b00ca7cf0f6104a439a8cca6105a9413665
parent868d3af23f43359b24d11d3a9db849a3dd8a3849
omap2 clock: add fixed divisor clock code

The rates of some clocks are equal to their parents' rates, divided by some
fixed integer.  This contrasts with the existing 'followparent' clocks,
which follow their parents' rates strictly; and the existing 'clksel' clocks,
which follow their parents' rates divided by a runtime-selectable divisor.
Add code to implement these clocks without resorting to specifying a
fixed rate.

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