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_DOWNSCALE_FINISH_DELAY_TIMEOUT_US 30 int "Additional delay to let secdom finish dowscale procedure in us" 31 range 1 10000000 32 default 1000 33 help 34 This value depends on the secdom core performance and shouldn't be touched by the user. 35 36config NRFS_LOCAL_DOMAIN_DVFS_HANDLER_TASK_STACK_SIZE 37 int "Stack size used for DVFS handling task" 38 range 256 2048 39 default 1024 if LOG 40 default 512 41 42config NRFS_LOCAL_DOMAIN_DVFS_HANDLER_TASK_PRIORITY 43 int "Priority of DVFS handling task" 44 range -16 NUM_PREEMPT_PRIORITIES 45 default 0 46 47endmenu 48