Kconfig (bc8c945e0ad2ff6d725af9b10085c6ee5d35a563) Kconfig (d058fd9e8984cd9f18564f7fec38e07ce671c8b8)
1# SPDX-License-Identifier: GPL-2.0
2
1# SPDX-License-Identifier: GPL-2.0
2
3config HAVE_CLK
4 bool
5 help
6 The <linux/clk.h> calls support software clock gating and
7 thus are a key power management tool on many systems.
8
9config CLKDEV_LOOKUP
10 bool
11 select HAVE_CLK
12
13config HAVE_CLK_PREPARE
14 bool
15
3config CLKDEV_LOOKUP
4 bool
5 select HAVE_CLK
6
7config HAVE_CLK_PREPARE
8 bool
9
16config HAVE_LEGACY_CLK # TODO: Remove once all legacy users are migrated
10config COMMON_CLK
17 bool
11 bool
18 select HAVE_CLK
19 help
20 Select this option when the clock API in <linux/clk.h> is implemented
21 by platform/architecture code. This method is deprecated. Modern
22 code should select COMMON_CLK instead and not define a custom
23 'struct clk'.
24
25menuconfig COMMON_CLK
26 bool "Common Clock Framework"
27 depends on !HAVE_LEGACY_CLK
28 select HAVE_CLK_PREPARE
29 select CLKDEV_LOOKUP
30 select SRCU
31 select RATIONAL
32 ---help---
33 The common clock framework is a single definition of struct
34 clk, useful across many platforms, as well as an
35 implementation of the clock API in include/linux/clk.h.
36 Architectures utilizing the common struct clk should select
37 this option.
38
12 select HAVE_CLK_PREPARE
13 select CLKDEV_LOOKUP
14 select SRCU
15 select RATIONAL
16 ---help---
17 The common clock framework is a single definition of struct
18 clk, useful across many platforms, as well as an
19 implementation of the clock API in include/linux/clk.h.
20 Architectures utilizing the common struct clk should select
21 this option.
22
39if COMMON_CLK
23menu "Common Clock Framework"
24 depends on COMMON_CLK
40
41config COMMON_CLK_WM831X
42 tristate "Clock driver for WM831x/2x PMICs"
43 depends on MFD_WM831X
44 ---help---
45 Supports the clocking subsystem of the WM831x/2x series of
46 PMICs from Wolfson Microelectronics.
47

--- 322 unchanged lines hidden (view full) ---

370source "drivers/clk/samsung/Kconfig"
371source "drivers/clk/sifive/Kconfig"
372source "drivers/clk/sprd/Kconfig"
373source "drivers/clk/sunxi/Kconfig"
374source "drivers/clk/sunxi-ng/Kconfig"
375source "drivers/clk/tegra/Kconfig"
376source "drivers/clk/ti/Kconfig"
377source "drivers/clk/uniphier/Kconfig"
25
26config COMMON_CLK_WM831X
27 tristate "Clock driver for WM831x/2x PMICs"
28 depends on MFD_WM831X
29 ---help---
30 Supports the clocking subsystem of the WM831x/2x series of
31 PMICs from Wolfson Microelectronics.
32

--- 322 unchanged lines hidden (view full) ---

355source "drivers/clk/samsung/Kconfig"
356source "drivers/clk/sifive/Kconfig"
357source "drivers/clk/sprd/Kconfig"
358source "drivers/clk/sunxi/Kconfig"
359source "drivers/clk/sunxi-ng/Kconfig"
360source "drivers/clk/tegra/Kconfig"
361source "drivers/clk/ti/Kconfig"
362source "drivers/clk/uniphier/Kconfig"
363source "drivers/clk/x86/Kconfig"
378source "drivers/clk/zynqmp/Kconfig"
379
364source "drivers/clk/zynqmp/Kconfig"
365
380endif
366endmenu