blob: c16f30b99dec516571fb37d5a73e6ed7700f5d59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
menuconfig RT_USING_CLK
bool "Using Common Clock Framework (CLK)"
depends on RT_USING_DM
select RT_USING_ADT_REF
default y
help
Enable the common clock framework so SoC clock providers can register
themselves and consumers can obtain `struct rt_clk` handles to manage
gate, mux and divider trees. This is required by most complex drivers
(MMC, Ethernet, display) because they explicitly prepare and enable their
input clocks before accessing hardware. The framework relies on the DM
bus and device tree clock references, so disable it only on the smallest
MCUs where every peripheral runs off the same fixed clock and no driver
ever calls into the clock API.
config RT_CLK_SCMI
bool "Clock driver controlled via SCMI interface"
depends on RT_USING_CLK
depends on RT_FIRMWARE_ARM_SCMI
default n
if RT_USING_CLK
osource "$(SOC_DM_CLK_DIR)/Kconfig"
endif
|