docs: pm: Add examples to device pm

Add specific device power management samples to device pm section.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
Flavio Ceolin 2024-04-20 22:35:00 -07:00 committed by Alberto Escolar
commit eff0e4f6b1

View file

@ -302,3 +302,13 @@ later calling :c:func:`pm_device_wakeup_enable`.
devices that should not be suspended. devices that should not be suspended.
It is responsibility of driver or the application to do any additional It is responsibility of driver or the application to do any additional
configuration required by the device to support it. configuration required by the device to support it.
Examples
********
Some helpful examples showing device power management features:
* :zephyr_file:`samples/subsys/pm/device_pm/`
* :zephyr_file:`tests/subsys/pm/power_mgmt/`
* :zephyr_file:`tests/subsys/pm/device_wakeup_api/`
* :zephyr_file:`tests/subsys/pm/device_driver_init/`