davinci: major rework of clock, PLL, PSC infrastructure
commitc5b736d093217890245a33e9a98fe92d6f3529bf
authorKevin Hilman <khilman@deeprootsystems.com>
Sat, 21 Mar 2009 00:29:01 +0000 (20 17:29 -0700)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 23 Apr 2009 16:31:00 +0000 (23 09:31 -0700)
tree387755844593ae99cdc38b4556d775a100cde7da
parente653034e66ec406f37427f588115badc6fc6af64
davinci: major rework of clock, PLL, PSC infrastructure

This is a significant rework of the low-level clock, PLL and Power
Sleep Controller (PSC) implementation for the DaVinci family.  The
primary goal is to have better modeling if the hardware clocks and
features with the aim of DVFS functionality.

Highlights:
- model PLLs and all PLL-derived clocks
- model parent/child relationships of PLLs and clocks
- convert to new clkdev layer
- view clock frequency and refcount via /proc/davinci_clocks

Special thanks to significant contributions and testing by David
Brownell.

Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/Kconfig
arch/arm/mach-davinci/Kconfig
arch/arm/mach-davinci/board-evm.c
arch/arm/mach-davinci/clock.c
arch/arm/mach-davinci/clock.h
arch/arm/mach-davinci/include/mach/clkdev.h [new file with mode: 0644]
arch/arm/mach-davinci/include/mach/clock.h
arch/arm/mach-davinci/include/mach/psc.h
arch/arm/mach-davinci/io.c
arch/arm/mach-davinci/psc.c