]> git.baikalelectronics.ru Git - kernel.git/commit
davinci: Add support for multiple PSCs
authorMark A. Greer <mgreer@mvista.com>
Wed, 15 Apr 2009 19:39:33 +0000 (12:39 -0700)
committerKevin Hilman <khilman@deeprootsystems.com>
Tue, 26 May 2009 15:16:46 +0000 (08:16 -0700)
commitde403941f08392e50bc4bbe0e53dbddecc83888a
tree40b26ea71d32547e50913dbdc4a2adec5fc8e809
parentdd191806b164790113fff92d4a62f0d610f2b743
davinci: Add support for multiple PSCs

The current code to support the DaVinci Power and Sleep Controller (PSC)
assumes that there is only one controller.  This assumption is no longer
valid so expand the support to allow greater than one PSC.

To accomplish this, put the base addresses for the PSCs in the SoC
infrastructure so it can be referenced by the PSC code.  This also
requires adding an extra parameter to davinci_psc_config() to specify
the PSC that is to be enabled/disabled.

Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/clock.c
arch/arm/mach-davinci/clock.h
arch/arm/mach-davinci/dm355.c
arch/arm/mach-davinci/dm644x.c
arch/arm/mach-davinci/dm646x.c
arch/arm/mach-davinci/include/mach/common.h
arch/arm/mach-davinci/include/mach/psc.h
arch/arm/mach-davinci/psc.c