Skip to contentSkip to conversation

clk: versatile: remove dependency on ARCH_*

PATCH RESEND Applied Lee Jones 3 participants 4 messages May 20, 2021 – Jun 2, 2021

Subsystems (2)
lore
Share & tools
lore

Lee Jones

author
#0 lore raw

PATCH RESEND 1/1 clk: versatile: remove dependency on ARCH_*

From: Peter Collingbourne <[email protected]>

It is now possible to build a modular kernel for vexpress by not setting CONFIG_ARCH_VEXPRESS=y and instead setting =m on the drivers that it normally implies. This is with the exception of CLK_VEXPRESS_OSC which is currently hidden behind a dependency on one of several ARCH_* variables. Remove that dependency so that CLK_VEXPRESS_OSC may be enabled without it.

---
 drivers/clk/versatile/Kconfig | 2 --
 1 file changed, 2 deletions(-)
drivers/clk/versatile/Kconfig +0 -2
index 91f0ff54237d2..792315d893db3 100644
@@ -1,8 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0-only
 
 menu "Clock driver for ARM Reference designs"
-	depends on ARCH_INTEGRATOR || ARCH_REALVIEW || \
-		ARCH_VERSATILE || ARCH_VEXPRESS || COMPILE_TEST
 
 config ICST
 	bool "Clock driver for ARM Reference designs ICST"
Signature · 1 line
2.31.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Lee Jones

From: Peter Collingbourne <[email protected]>

It is now possible to build a modular kernel for vexpress by not setting CONFIG_ARCH_VEXPRESS=y and instead setting =m on the drivers that it normally implies. This is with the exception of CLK_VEXPRESS_OSC which is currently hidden behind a dependency on one of several ARCH_* variables. Remove that dependency so that CLK_VEXPRESS_OSC may be enabled without it.

Quoted 3 lines

Yours,
Linus Walleij

author
#2 lore raw
Quoted 11 lines · Linus Walleij
Quoted 9 lines · Lee Jones

From: Peter Collingbourne <[email protected]>

It is now possible to build a modular kernel for vexpress by not setting CONFIG_ARCH_VEXPRESS=y and instead setting =m on the drivers that it normally implies. This is with the exception of CLK_VEXPRESS_OSC which is currently hidden behind a dependency on one of several ARCH_* variables. Remove that dependency so that CLK_VEXPRESS_OSC may be enabled without it.

Quoted 5 lines
Quoted 3 lines

Still not in -next.

Who will take this please?

Signature · 4 lines
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
maintainer Applied
#3 lore raw
In reply to Lee Jones

Quoting Lee Jones (2021-05-20 09:17:02)

Quoted 9 lines

From: Peter Collingbourne <[email protected]>

It is now possible to build a modular kernel for vexpress by not setting CONFIG_ARCH_VEXPRESS=y and instead setting =m on the drivers that it normally implies. This is with the exception of CLK_VEXPRESS_OSC which is currently hidden behind a dependency on one of several ARCH_* variables. Remove that dependency so that CLK_VEXPRESS_OSC may be enabled without it.

Quoted 4 lines

---

Applied to clk-next