]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
add base OMAP2/3 powerdomain code
authorPaul Walmsley <paul@pwsan.com>
Sat, 19 Apr 2008 01:26:29 +0000 (19:26 -0600)
committerTony Lindgren <tony@atomide.com>
Thu, 24 Apr 2008 00:00:14 +0000 (17:00 -0700)
commit8800ed17cdcae5514a9527bb2f17423f534cb562
tree143942e584bd57a66dec16b0466f30b561f78356
parentb7a66cfbc45b494a2ef89c8c2b77c11dd54b11f1
add base OMAP2/3 powerdomain code

This patch creates an interface to the powerdomain registers in the
PRM/CM modules on OMAP2/3.  This interface is intended to be used by
PM code, e.g., pm.c; not by device drivers directly.

Each powerdomain will be defined in later patches as static
structures.  Also defined are dependencies between powerdomains,
used for adding and removing PM_WKDEP and CM_SLEEPDEP bits.  The
powerdomain structures are linked into a list at boot by
pwrdm_register(), similar to the OMAP clock code.

The patch adds a Kconfig option, CONFIG_OMAP_DEBUG_POWERDOMAIN, which
when enabled will emit verbose debug messages via pr_debug().

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/powerdomain.c [new file with mode: 0644]
arch/arm/plat-omap/Kconfig
include/asm-arm/arch-omap/powerdomain.h [new file with mode: 0644]