d459bfe01f
This patch creates an interface to the clockdomain 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. The patch also adds clockdomain usecount tracking. This is intended to be called whenever the first clock in a clockdomain is enabled, or when the last enabled clock in a clockdomain is disabled. If the clockdomain is in software-supervised mode, the code will force-wakeup or force-sleep the clockdomain. If the clockdomain is in hardware-supervised mode, the first clock enable will add sleep and wakeup dependencies on a user-selectable set of parent domains (usually MPU & IVA2), and the disable will remove them. Each clockdomain will be defined in later patches as static structures. The clockdomain structures are linked into a list at boot by clkdm_register(), similar to the OMAP clock code. The patch adds a Kconfig option, CONFIG_OMAP_DEBUG_CLOCKDOMAIN, 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> |
||
---|---|---|
.. | ||
aic23.h | ||
blizzard.h | ||
board-2430sdp.h | ||
board-ams-delta.h | ||
board-apollon.h | ||
board-fsample.h | ||
board-h2.h | ||
board-h3.h | ||
board-h4.h | ||
board-innovator.h | ||
board-nokia.h | ||
board-osk.h | ||
board-palmte.h | ||
board-palmtt.h | ||
board-palmz71.h | ||
board-perseus2.h | ||
board-sx1.h | ||
board-voiceblue.h | ||
board.h | ||
clock.h | ||
clockdomain.h | ||
common.h | ||
control.h | ||
cpu.h | ||
debug-macro.S | ||
dma.h | ||
dmtimer.h | ||
dsp_common.h | ||
eac.h | ||
entry-macro.S | ||
fpga.h | ||
gpio-switch.h | ||
gpio.h | ||
gpioexpander.h | ||
gpmc.h | ||
hardware.h | ||
hwa742.h | ||
io.h | ||
irda.h | ||
irqs.h | ||
keypad.h | ||
lcd_mipid.h | ||
led.h | ||
mailbox.h | ||
mcbsp.h | ||
mcspi.h | ||
memory.h | ||
menelaus.h | ||
mmc.h | ||
mtd-xip.h | ||
mux.h | ||
nand.h | ||
omap16xx.h | ||
omap24xx.h | ||
omap34xx.h | ||
omap730.h | ||
omap1510.h | ||
omap-alsa.h | ||
omapfb.h | ||
onenand.h | ||
param.h | ||
pm.h | ||
powerdomain.h | ||
prcm.h | ||
sdrc.h | ||
serial.h | ||
sram.h | ||
system.h | ||
tc.h | ||
timex.h | ||
uncompress.h | ||
usb.h | ||
vmalloc.h |