Skip to content

Commit 7fe9043

Browse files
bjarki-andreasenkartben
authored andcommitted
doc: services: pm: device_runtime: document DEFAULT_ENABLE option
Document the new CONFIG_PM_DEVICE_RUNTIME_DEFAULT_ENABLE option. Signed-off-by: Bjarki Arge Andreasen <[email protected]>
1 parent 34c51c5 commit 7fe9043

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/services/pm/device_runtime.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ in response to :c:func:`pm_device_runtime_get` and :c:func:`pm_device_runtime_pu
3232
calls on the child device.
3333

3434
For the previous to automatically control the power domain state, device runtime PM must be enabled
35-
on the power domain device (either through the ``zephyr,pm-device-runtime-auto`` devicetree property
36-
or :c:func:`pm_device_runtime_enable`).
35+
on the power domain device. To enable device runtime PM globally, enable
36+
:kconfig:option:`CONFIG_PM_DEVICE_RUNTIME_DEFAULT_ENABLE`. To enable device runtime PM only for
37+
select devices, set the ``zephyr,pm-device-runtime-auto`` devicetree property, or use
38+
:c:func:`pm_device_runtime_enable` for the select devices.
3739

3840
.. graphviz::
3941
:caption: Device states and transitions

0 commit comments

Comments
 (0)