4 * DSP-BIOS Bridge driver support functions for TI OMAP processors.
6 * Power Manager shared definitions (used on both GPP and DSP sides).
8 * Copyright (C) 2008 Texas Instruments, Inc.
10 * This package is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
14 * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
15 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
16 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
22 #include <dspbridge/mbx_sh.h>
24 /* valid sleep command codes that can be sent by GPP via mailbox: */
25 #define PWR_DEEPSLEEP MBX_PM_DSPIDLE
26 #define PWR_EMERGENCYDEEPSLEEP MBX_PM_EMERGENCYSLEEP
27 #define PWR_SLEEPUNTILRESTART MBX_PM_SLEEPUNTILRESTART
28 #define PWR_WAKEUP MBX_PM_DSPWAKEUP
29 #define PWR_AUTOENABLE MBX_PM_PWRENABLE
30 #define PWR_AUTODISABLE MBX_PM_PWRDISABLE
31 #define PWR_RETENTION MBX_PM_DSPRETN