Merge tag 'mmc-10-29-2019' of https://gitlab.denx.de/u-boot/custodians/u-boot-mmc
[oweals/u-boot.git] / drivers / clk / Kconfig
1 menu "Clock"
2
3 config CLK
4         bool "Enable clock driver support"
5         depends on DM
6         help
7           This allows drivers to be provided for clock generators, including
8           oscillators and PLLs. Devices can use a common clock API to request
9           a particular clock rate and check on available clocks. Clocks can
10           feed into other clocks in a tree structure, with multiplexers to
11           choose the source for each clock.
12
13 config SPL_CLK
14         bool "Enable clock support in SPL"
15         depends on CLK && SPL && SPL_DM
16         help
17           The clock subsystem adds a small amount of overhead to the image.
18           If this is acceptable and you have a need to use clock drivers in
19           SPL, enable this option. It might provide a cleaner interface to
20           setting up clocks within SPL, and allows the same drivers to be
21           used as U-Boot proper.
22
23 config TPL_CLK
24         bool "Enable clock support in TPL"
25         depends on CLK && TPL_DM
26         help
27           The clock subsystem adds a small amount of overhead to the image.
28           If this is acceptable and you have a need to use clock drivers in
29           SPL, enable this option. It might provide a cleaner interface to
30           setting up clocks within TPL, and allows the same drivers to be
31           used as U-Boot proper.
32
33 config CLK_BCM6345
34         bool "Clock controller driver for BCM6345"
35         depends on CLK && ARCH_BMIPS
36         default y
37         help
38           This clock driver adds support for enabling and disabling peripheral
39           clocks on BCM6345 SoCs. HW has no rate changing capabilities.
40
41 config CLK_BOSTON
42         def_bool y if TARGET_BOSTON
43         depends on CLK
44         select REGMAP
45         select SYSCON
46         help
47           Enable this to support the clocks
48
49 config SPL_CLK_CCF
50         bool "SPL Common Clock Framework [CCF] support "
51         depends on SPL
52         help
53           Enable this option if you want to (re-)use the Linux kernel's Common
54           Clock Framework [CCF] code in U-Boot's SPL.
55
56 config SPL_CLK_COMPOSITE_CCF
57         bool "SPL Common Clock Framework [CCF] composite clk support "
58         depends on SPL_CLK_CCF
59         help
60           Enable this option if you want to (re-)use the Linux kernel's Common
61           Clock Framework [CCF] composite code in U-Boot's SPL.
62
63 config CLK_CCF
64         bool "Common Clock Framework [CCF] support "
65         help
66           Enable this option if you want to (re-)use the Linux kernel's Common
67           Clock Framework [CCF] code in U-Boot's clock driver.
68
69 config CLK_COMPOSITE_CCF
70         bool "Common Clock Framework [CCF] composite clk support "
71         depends on CLK_CCF
72         help
73           Enable this option if you want to (re-)use the Linux kernel's Common
74           Clock Framework [CCF] composite code in U-Boot's clock driver.
75
76 config CLK_STM32F
77         bool "Enable clock driver support for STM32F family"
78         depends on CLK && (STM32F7 || STM32F4)
79         default y
80         help
81           This clock driver adds support for RCC clock management
82           for STM32F4 and STM32F7 SoCs.
83
84 config CLK_TI_SCI
85         bool "TI System Control Interface (TI SCI) clock driver"
86         depends on CLK && TI_SCI_PROTOCOL && OF_CONTROL
87         help
88           This enables the clock driver support over TI System Control Interface
89           available on some new TI's SoCs. If you wish to use clock resources
90           managed by the TI System Controller, say Y here. Otherwise, say N.
91
92 config CLK_HSDK
93         bool "Enable cgu clock driver for HSDK"
94         depends on CLK
95         help
96           Enable this to support the cgu clocks on Synopsys ARC HSDK
97
98 config CLK_VERSAL
99         bool "Enable clock driver support for Versal"
100         depends on ARCH_VERSAL
101         select ZYNQMP_FIRMWARE
102         help
103           This clock driver adds support for clock realted settings for
104           Versal platform.
105
106 config CLK_VEXPRESS_OSC
107         bool "Enable driver for Arm Versatile Express OSC clock generators"
108         depends on CLK && VEXPRESS_CONFIG
109         help
110           This clock driver adds support for clock generators present on
111           Arm Versatile Express platforms.
112
113 config CLK_ZYNQ
114         bool "Enable clock driver support for Zynq"
115         depends on CLK && ARCH_ZYNQ
116         default y
117         help
118           This clock driver adds support for clock realted settings for
119           Zynq platform.
120
121 config CLK_ZYNQMP
122         bool "Enable clock driver support for ZynqMP"
123         depends on ARCH_ZYNQMP
124         select ZYNQMP_FIRMWARE
125         help
126           This clock driver adds support for clock realted settings for
127           ZynqMP platform.
128
129 config CLK_STM32MP1
130         bool "Enable RCC clock driver for STM32MP1"
131         depends on ARCH_STM32MP && CLK
132         default y
133         help
134           Enable the STM32 clock (RCC) driver. Enable support for
135           manipulating STM32MP1's on-SoC clocks.
136
137 config CLK_CDCE9XX
138         bool "Enable CDCD9XX clock driver"
139         depends on CLK
140         help
141            Enable the clock synthesizer driver for CDCE913/925/937/949
142            series of chips.
143
144 source "drivers/clk/analogbits/Kconfig"
145 source "drivers/clk/at91/Kconfig"
146 source "drivers/clk/exynos/Kconfig"
147 source "drivers/clk/imx/Kconfig"
148 source "drivers/clk/meson/Kconfig"
149 source "drivers/clk/mvebu/Kconfig"
150 source "drivers/clk/owl/Kconfig"
151 source "drivers/clk/renesas/Kconfig"
152 source "drivers/clk/sunxi/Kconfig"
153 source "drivers/clk/sifive/Kconfig"
154 source "drivers/clk/tegra/Kconfig"
155 source "drivers/clk/uniphier/Kconfig"
156
157 config ICS8N3QV01
158         bool "Enable ICS8N3QV01 VCXO driver"
159         depends on CLK
160         help
161           Support for the ICS8N3QV01 Quad-Frequency VCXO (Voltage-Controlled
162           Crystal Oscillator). The output frequency can be programmed via an
163           I2C interface.
164
165 config CLK_MPC83XX
166         bool "Enable MPC83xx clock driver"
167         depends on CLK
168         help
169           Support for the clock driver of the MPC83xx series of SoCs.
170
171 config SANDBOX_CLK_CCF
172         bool "Sandbox Common Clock Framework [CCF] support "
173         depends on SANDBOX
174         select CLK_CCF
175         help
176           Enable this option if you want to test the Linux kernel's Common
177           Clock Framework [CCF] code in U-Boot's Sandbox clock driver.
178
179 endmenu