hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/clk/versatile/Kconfig
....@@ -1,32 +1,31 @@
1
-config ICST
2
- bool
1
+# SPDX-License-Identifier: GPL-2.0-only
32
4
-config COMMON_CLK_VERSATILE
5
- bool "Clock driver for ARM Reference designs"
6
- depends on ARCH_INTEGRATOR || ARCH_REALVIEW || \
7
- ARCH_VERSATILE || ARCH_VEXPRESS || ARM64 || \
8
- COMPILE_TEST
3
+menu "Clock driver for ARM Reference designs"
4
+ depends on HAS_IOMEM
5
+
6
+config ICST
7
+ bool "Clock driver for ARM Reference designs ICST"
98 select REGMAP_MMIO
10
- ---help---
11
- Supports clocking on ARM Reference designs:
9
+ help
10
+ Supports clocking on ARM Reference designs:
1211 - Integrator/AP and Integrator/CP
1312 - RealView PB1176, EB, PB11MP and PBX
14
- - Versatile Express
1513
1614 config CLK_SP810
1715 bool "Clock driver for ARM SP810 System Controller"
18
- depends on COMMON_CLK_VERSATILE
19
- default y if ARCH_VEXPRESS
20
- ---help---
16
+ default y if (ARCH_VEXPRESS && ARM)
17
+ help
2118 Supports clock muxing (REFCLK/TIMCLK to TIMERCLKEN0-3) capabilities
2219 of the ARM SP810 System Controller cell.
2320
2421 config CLK_VEXPRESS_OSC
25
- bool "Clock driver for Versatile Express OSC clock generators"
26
- depends on COMMON_CLK_VERSATILE
22
+ tristate "Clock driver for Versatile Express OSC clock generators"
2723 depends on VEXPRESS_CONFIG
24
+ select REGMAP_MMIO
2825 default y if ARCH_VEXPRESS
29
- ---help---
26
+ help
3027 Simple regmap-based driver driving clock generators on Versatile
3128 Express platforms hidden behind its configuration infrastructure,
3229 commonly known as OSCs.
30
+
31
+endmenu