]> bbs.cooldavid.org Git - net-next-2.6.git/commit - arch/arm/mach-omap2/Makefile
OMAP2/3/4 clock: move DPLL clock functions into mach-omap2/clkt_dpll.c
authorPaul Walmsley <paul@pwsan.com>
Wed, 27 Jan 2010 03:13:03 +0000 (20:13 -0700)
committerPaul Walmsley <paul@pwsan.com>
Wed, 27 Jan 2010 03:13:03 +0000 (20:13 -0700)
commit0b96af683026ab9ca4dd52f9005a1a4fc582e914
treebe435bd2d23d1607f034185763bf5840d244bab1
parent98c4545749234393ec918b703f48eb708658a23d
OMAP2/3/4 clock: move DPLL clock functions into mach-omap2/clkt_dpll.c

Move all DPLL-related clock functions from mach-omap2/clock.c to
mach-omap2/clkt_dpll.c.  This is intended to make the clock code
easier to understand, since all of the functions needed to manage
DPLLs are now located in their own file, rather than being mixed with
other, unrelated functions.

Clock debugging is also now more finely-grained, since the DEBUG macro
can now be defined for DPLLs alone.  This should reduce unnecessary
console noise when debugging.

Also, if at some future point the mach-omap2/ directory is split
into OMAP2/3/4 variants, this clkt file can be moved to the plat-omap/
directory to be shared.

Thanks to Alexander Shishkin <virtuoso@slind.org> for his comments to
improve the patch description.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Alexander Shishkin <virtuoso@slind.org>
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/clkt_dpll.c [new file with mode: 0644]
arch/arm/mach-omap2/clock.c