power: pm_ctrl: Allow fine-grained power state locking

This commit enables fine-grained power state locking.
Now, each power state could be independently enabled or disabled.

Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no>
This commit is contained in:
Piotr Zięcik 2019-01-11 10:53:57 +01:00 committed by Carles Cufí
commit b6bf56c3fc
7 changed files with 80 additions and 88 deletions

View file

@ -9,8 +9,8 @@ config PM_CONTROL_STATE_LOCK
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.
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"