Skip to content

Commit ee32196

Browse files
committed
[nrf fromlist] modules: nrfs: dvfs: Added configurable task delay
Added config option to delay start of DVFS handles task. Upstream PR: TBD Signed-off-by: Lukasz Stepnicki <[email protected]>
1 parent 3d2f1c7 commit ee32196

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

modules/hal_nordic/nrfs/dvfs/Kconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,9 @@ config NRFS_LOCAL_DOMAIN_DVFS_HANDLER_TASK_PRIORITY
3737
range -16 NUM_PREEMPT_PRIORITIES
3838
default 0
3939

40+
config NRFS_LOCAL_DOMAIN_DVFS_HANDLER_TASK_DELAY_MS
41+
int "Delay in [ms] before DVFS handling task will be started"
42+
range 0 100000
43+
default 0
44+
4045
endmenu

modules/hal_nordic/nrfs/dvfs/ld_dvfs_handler.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ K_THREAD_DEFINE(dvfs_service_handler_task_id,
266266
NULL,
267267
CONFIG_NRFS_LOCAL_DOMAIN_DVFS_HANDLER_TASK_PRIORITY,
268268
0,
269-
0);
269+
CONFIG_NRFS_LOCAL_DOMAIN_DVFS_HANDLER_TASK_DELAY_MS);
270270

271271
int32_t dvfs_service_handler_change_freq_setting(enum dvfs_frequency_setting freq_setting)
272272
{

0 commit comments

Comments
 (0)