1# Copyright (c) 2024 Nordic Semiconductor ASA 2# SPDX-License-Identifier: Apache-2.0 3 4if PM 5choice PM_POLICY 6 prompt "Idle State Power Management Policy" 7 default PM_POLICY_DEFAULT 8 help 9 Select the idle state power management policy. 10 11config PM_POLICY_DEFAULT 12 bool "Default PM policy" 13 help 14 This option selects the default PM policy. Default policy is based 15 on CPU residency times and other constraints imposed by the drivers or 16 application. 17 18config PM_POLICY_CUSTOM 19 bool "Custom PM Policy" 20 help 21 This options allows applications to override the default policy with 22 a custom implementation. 23 24endchoice 25 26config PM_POLICY_DEVICE_CONSTRAINTS 27 bool "Power state constraints per device" 28 help 29 This option allows devices to have a list of power states 30 that when the system transition to them, cause power loss in the device. 31 This used to set and release power state constraints when 32 it is needed by the device. 33 34endif # PM 35 36config PM_POLICY_LATENCY_STANDALONE 37 bool "Allow gathering latency requirements in standalone mode" 38 depends on !PM 39 help 40 This option allows using the pm_policy_latency* APIs to gather latency 41 requirements on systems that do not support PM (e.g. systems whithout 42 CPU idle states). Because the API has a subscription mechanism, it can 43 be useful to perform system-level adjustments based on latency 44 requirements gathered from multiple system components. 45