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

board default: enable Power Management per default for radio core #19021

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions subsys/mpsl/pm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ config MPSL_USE_ZEPHYR_PM
depends on SOC_SERIES_NRF54HX
depends on MPSL
depends on PM
default y
help
This option configures MPSL to use Zephyr's Power Management.
3 changes: 2 additions & 1 deletion subsys/mpsl/pm/mpsl_pm_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ LOG_MODULE_REGISTER(mpsl_pm_utils, CONFIG_MPSL_LOG_LEVEL);
* margins and allow optimal power savings.
*/
#define TIME_TO_REGISTER_EVENT_IN_ZEPHYR_US 1000
#define PM_MAX_LATENCY_HCI_COMMANDS_US 499999
/* depends on min-residency-us of idle RAM not retained*/
#define PM_MAX_LATENCY_HCI_COMMANDS_US (1000 - 1)

static void m_work_handler(struct k_work *work);
static K_WORK_DELAYABLE_DEFINE(pm_work, m_work_handler);
Expand Down
2 changes: 1 addition & 1 deletion tests/subsys/mpsl/pm/pm_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include <mpsl/mpsl_pm_utils.h>

#define PM_MAX_LATENCY_HCI_COMMANDS_US 499999
#define PM_MAX_LATENCY_HCI_COMMANDS_US (1000 - 1)

#define TIME_TO_REGISTER_EVENT_IN_ZEPHYR_US 1000

Expand Down
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ manifest:
# https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/modules.html
- name: zephyr
repo-path: sdk-zephyr
revision: 8bc628d8945cb7bb01f57c92c00b5f1550ed576c
revision: pull/2290/head
import:
# In addition to the zephyr repository itself, NCS also
# imports the contents of zephyr/west.yml at the above
Expand Down
Loading