forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKconfig
More file actions
90 lines (76 loc) · 2.64 KB
/
Kconfig
File metadata and controls
90 lines (76 loc) · 2.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# Copyright 2024 NXP
# SPDX-License-Identifier: Apache-2.0
#
# Clock controller drivers
#
menuconfig CLOCK_MANAGEMENT
bool "Clock management drivers"
help
Enable support for clock management drivers. These drivers provide
clock configuration to the system via a series of setpoints, which
allow drivers to configure clocks based on their desired power
state
if CLOCK_MANAGEMENT
module = CLOCK_MANAGEMENT
module-str = clock management
source "subsys/logging/Kconfig.template.log_config"
config CLOCK_MANAGEMENT_SET_RATE
bool "Support runtime rate setting"
select CLOCK_MANAGEMENT_RUNTIME
help
Allow clock consumers to request a given clock frequency via the
clock management framework. The framework will then configure the
clock tree so that the consumer is supplied with the closest
possible frequency to its request. Note that enabling this feature
will result in increased flash utilization
config CLOCK_MANAGEMENT_RUNTIME
bool "Support runtime clock rate requests"
help
Support runtime clock rate requests. When enabled, clock producers
will track the clock requests from each consumer, and reject
conflicting requests. This Kconfig also enables registering
for clock rate change notifications
config CLOCK_MANAGEMENT_CLK_NAME
bool "Store names of each clock"
help
Store names of each clock node. Uses additional ROM space. If
clock framework debug logging is enabled, traces will be printed
as the clock tree is reconfigured.
config CLOCK_MANAGEMENT_FIXED_SOURCE
bool "Fixed clock source driver"
default y
depends on DT_HAS_FIXED_CLOCK_ENABLED
help
Fixed clock source driver, for non configurable clock sources
config CLOCK_MANAGEMENT_SOURCE
bool "Clock source driver"
default y
depends on DT_HAS_CLOCK_SOURCE_ENABLED
help
Clock source driver, for fixed clock sources that may be gated/ungated
config CLOCK_MANAGEMENT_FIXED_FACTOR
bool "Fixed factor clock"
default y
depends on DT_HAS_FIXED_FACTOR_CLOCK_ENABLED
help
A fixed factor clock that increases or decreases a parent clock by a
fixed rate.
config CLOCK_MANAGEMENT_GATE
bool "Clock gate"
default y
depends on DT_HAS_CLOCK_GATE_ENABLED
help
A generic clock gate that can pass or inhibit a clock signal.
config CLOCK_MANAGEMENT_MUX
bool "Clock mux driver"
default y
depends on DT_HAS_CLOCK_MUX_ENABLED
help
A generic mux driver where a simple bitfield will unconditionally
select a clock parent.
source "drivers/clock_management/adi_max32/Kconfig"
source "drivers/clock_management/nxp_syscon/Kconfig"
module = CLOCK_MANAGEMENT
module-str = clock-management
source "subsys/logging/Kconfig.template.log_config"
endif # CLOCK_MANAGEMENT