power: Add API's to enable/disable System PM states

Add API's to enable/disable System PM states so that an
an application can enable/disable system from entering
certain Low Power states.

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
This commit is contained in:
Ramakrishna Pallala 2018-11-05 15:36:04 +05:30 committed by Anas Nashif
commit 212b2180c9
5 changed files with 118 additions and 0 deletions

View file

@ -4,6 +4,14 @@ menu "OS Power Management"
source "subsys/power/policy/Kconfig"
config PM_CONTROL_STATE_LOCK
bool "Enable PM state locking capability"
help
Enable OS Power Management state locking capability
if any application wants to temporarily disable certain
System Low Power states while doing any critical work
or needs quick response from hardware resources.
config PM_CONTROL_OS_DEBUG
bool "Enable OS Power Management debug hooks"
help