Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

caf: power_manager: Imply Device Runtime Power Management for nRF54H #21119

Merged
merged 2 commits into from
Mar 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion subsys/caf/modules/Kconfig.power_manager
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ menu "Power manager"

config CAF_POWER_MANAGER
bool "Enable power management"
select PM_DEVICE
select CAF_PM_EVENTS
select CAF_POWER_MANAGER_EVENTS
imply POWEROFF if !SOC_SERIES_NRF54HX
imply PM if SOC_SERIES_NRF54HX
imply PM_DEVICE
imply PM_DEVICE_RUNTIME if SOC_SERIES_NRF54HX
help
Enable power management, which will put the device to low-power mode
if it is idle.
Expand Down
1 change: 0 additions & 1 deletion subsys/caf/modules/power_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include <zephyr/kernel.h>
#include <zephyr/types.h>

#include <zephyr/device.h>
#if CONFIG_CAF_POWER_MANAGER_CLEAR_RESET_REASON
#include <hal/nrf_power.h>
#include <helpers/nrfx_reset_reason.h>
Expand Down