docs: pm: Add examples to device runtime pm

Add specific device runtime power management samples to device runtime
pm section.

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

View file

@ -226,3 +226,12 @@ asynchronous API:
/* "put" device (decreases usage count, schedule suspend if no more users) */
return pm_device_runtime_put_async(dev, K_NO_WAIT);
}
Examples
********
Some helpful examples showing device runtime power management features:
* :zephyr_file:`tests/subsys/pm/device_runtime_api/`
* :zephyr_file:`tests/subsys/pm/device_power_domains/`
* :zephyr_file:`tests/subsys/pm/power_domain/`