blob: d2a61329e12531dfdc27e660ced2de8dcedc03c0 (
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
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
|
# SPDX-License-Identifier: GPL-2.0-only
config HAVE_CLK
bool
help
The <linux/clk.h> calls support software clock gating and
thus are a key power management tool on many systems.
config HAVE_LEGACY_CLK
select HAVE_CLK
bool
help
Select this option when the clock API in <linux/clk.h> is implemented
by platform/architecture code. This method is deprecated. Modern
code should select COMMON_CLK instead and not define a custom
'struct clk'.
config CLKDEV_LOOKUP
bool
config COMMON_CLK
bool "Common Clock Framework"
depends on !HAVE_LEGACY_CLK
select HAVE_CLK
select CLKDEV_LOOKUP
help
The common clock framework is a single definition of struct
clk, useful across many platforms, as well as an
implementation of the clock API in include/linux/clk.h.
Architectures utilizing the common struct clk should select
this option.
config COMMON_CLK_OF_PROVIDER
bool
depends on OFTREE
help
Clock driver provides OF-Tree based clock lookup.
config CLK_SOCFPGA
bool
select COMMON_CLK_OF_PROVIDER
default y if ARCH_SOCFPGA && OFDEVICE
if COMMON_CLK
config COMMON_CLK_STM32F
bool "STM32F4 and STM32F7 clock driver" if COMPILE_TEST
depends on ARCH_STM32
help
Support for stm32f4 and stm32f7 SoC families clocks
config COMMON_CLK_STM32MP135
def_bool ARCH_STM32MP13
help
Support for stm32mp135 SoC family clocks
config COMMON_CLK_STM32MP157
def_bool ARCH_STM32MP157
help
Support for stm32mp157 SoC family clocks
config COMMON_CLK_SCMI
tristate "Clock driver controlled via SCMI interface"
depends on ARM_SCMI_PROTOCOL || COMPILE_TEST
help
This driver provides support for clocks that are controlled
by firmware that implements the SCMI interface.
This driver uses SCMI Message Protocol to interact with the
firmware providing all the clock controls.
config TI_SCI_CLK
tristate "TI System Control Interface clock drivers"
depends on TI_SCI_PROTOCOL
default ARCH_K3
help
This adds the clock driver support over TI System Control Interface.
If you wish to use clock resources from the PMMC firmware, say Y.
Otherwise, say N.
config COMMON_CLK_GPIO
bool
default y
depends on COMMON_CLK_OF_PROVIDER
source "drivers/clk/sifive/Kconfig"
endif
|