1#
2# Copyright (c) 2024 Nordic Semiconductor ASA
3#
4# SPDX-License-Identifier: Apache-2.0
5#
6
7menu "Local domain DVFS library"
8
9module = LOCAL_DOMAIN_DVFS_LIB
10module-str = Local domain DVFS library
11source "subsys/logging/Kconfig.template.log_config"
12
13config NRFS_LOCAL_DOMAIN_DVFS_TEST
14	bool "Local domain DVFS test"
15	help
16	  Disable hw registers interaction for testing.
17
18config NRFS_LOCAL_DOMAIN_DVFS_SCALE_DOWN_AFTER_INIT
19	bool "Local domain scale down after init"
20	help
21	  Request lowest oppoint after DVFS initialization.
22
23config NRFS_LOCAL_DOMAIN_DOWNSCALE_SAFETY_TIMEOUT_US
24	int "Voltage downscale procedure safety timeout in us"
25	range 1 10000000
26	default 1000000 if (NRFS_LOCAL_DOMAIN_DVFS_TEST || LOG)
27	default 1500
28
29config NRFS_LOCAL_DOMAIN_DVFS_HANDLER_TASK_STACK_SIZE
30	int "Stack size used for DVFS handling task"
31	range 256 2048
32	default 1024 if LOG
33	default 512
34
35config NRFS_LOCAL_DOMAIN_DVFS_HANDLER_TASK_PRIORITY
36	int "Priority of DVFS handling task"
37	range -16 NUM_PREEMPT_PRIORITIES
38	default 0
39
40endmenu
41