Merge tag 'u-boot-rockchip-20190823' of https://gitlab.denx.de/u-boot/custodians...
[platform/kernel/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         help
52           Enable this option if you want to (re-)use the Linux kernel's Common
53           Clock Framework [CCF] code in U-Boot's SPL.
54
55 config SPL_CLK_COMPOSITE_CCF
56         bool "SPL Common Clock Framework [CCF] composite clk support "
57         depends on SPL_CLK_CCF
58         help
59           Enable this option if you want to (re-)use the Linux kernel's Common
60           Clock Framework [CCF] composite code in U-Boot's SPL.
61
62 config CLK_CCF
63         bool "Common Clock Framework [CCF] support "
64         help
65           Enable this option if you want to (re-)use the Linux kernel's Common
66           Clock Framework [CCF] code in U-Boot's clock driver.
67
68 config CLK_COMPOSITE_CCF
69         bool "Common Clock Framework [CCF] composite clk support "
70         depends on CLK_CCF
71         help
72           Enable this option if you want to (re-)use the Linux kernel's Common
73           Clock Framework [CCF] composite code in U-Boot's clock driver.
74
75 config CLK_STM32F
76         bool "Enable clock driver support for STM32F family"
77         depends on CLK && (STM32F7 || STM32F4)
78         default y
79         help
80           This clock driver adds support for RCC clock management
81           for STM32F4 and STM32F7 SoCs.
82
83 config CLK_TI_SCI
84         bool "TI System Control Interface (TI SCI) clock driver"
85         depends on CLK && TI_SCI_PROTOCOL && OF_CONTROL
86         help
87           This enables the clock driver support over TI System Control Interface
88           available on some new TI's SoCs. If you wish to use clock resources
89           managed by the TI System Controller, say Y here. Otherwise, say N.
90
91 config CLK_HSDK
92         bool "Enable cgu clock driver for HSDK"
93         depends on CLK
94         help
95           Enable this to support the cgu clocks on Synopsys ARC HSDK
96
97 config CLK_VEXPRESS_OSC
98         bool "Enable driver for Arm Versatile Express OSC clock generators"
99         depends on CLK && VEXPRESS_CONFIG
100         help
101           This clock driver adds support for clock generators present on
102           Arm Versatile Express platforms.
103
104 config CLK_ZYNQ
105         bool "Enable clock driver support for Zynq"
106         depends on CLK && ARCH_ZYNQ
107         default y
108         help
109           This clock driver adds support for clock realted settings for
110           Zynq platform.
111
112 config CLK_ZYNQMP
113         bool "Enable clock driver support for ZynqMP"
114         depends on ARCH_ZYNQMP
115         help
116           This clock driver adds support for clock realted settings for
117           ZynqMP platform.
118
119 config CLK_STM32MP1
120         bool "Enable RCC clock driver for STM32MP1"
121         depends on ARCH_STM32MP && CLK
122         default y
123         help
124           Enable the STM32 clock (RCC) driver. Enable support for
125           manipulating STM32MP1's on-SoC clocks.
126
127 source "drivers/clk/analogbits/Kconfig"
128 source "drivers/clk/at91/Kconfig"
129 source "drivers/clk/exynos/Kconfig"
130 source "drivers/clk/imx/Kconfig"
131 source "drivers/clk/meson/Kconfig"
132 source "drivers/clk/mvebu/Kconfig"
133 source "drivers/clk/owl/Kconfig"
134 source "drivers/clk/renesas/Kconfig"
135 source "drivers/clk/sunxi/Kconfig"
136 source "drivers/clk/sifive/Kconfig"
137 source "drivers/clk/tegra/Kconfig"
138 source "drivers/clk/uniphier/Kconfig"
139
140 config ICS8N3QV01
141         bool "Enable ICS8N3QV01 VCXO driver"
142         depends on CLK
143         help
144           Support for the ICS8N3QV01 Quad-Frequency VCXO (Voltage-Controlled
145           Crystal Oscillator). The output frequency can be programmed via an
146           I2C interface.
147
148 config CLK_MPC83XX
149         bool "Enable MPC83xx clock driver"
150         depends on CLK
151         help
152           Support for the clock driver of the MPC83xx series of SoCs.
153
154 config SANDBOX_CLK_CCF
155         bool "Sandbox Common Clock Framework [CCF] support "
156         depends on SANDBOX
157         select CLK_CCF
158         help
159           Enable this option if you want to test the Linux kernel's Common
160           Clock Framework [CCF] code in U-Boot's Sandbox clock driver.
161
162 endmenu