Commit 81134fb5 authored by Rob Herring's avatar Rob Herring
Browse files

clk: versatile: Rework kconfig structure



CONFIG_COMMON_CLK_VERSATILE doesn't really do anything other than hiding
Arm Ltd reference platform clock drivers. It is both selected by the
platforms that need it and has a 'depends on' for those platforms. Let's
drop the selects and convert CONFIG_COMMON_CLK_VERSATILE into a
menuconfig entry. With this make CONFIG_ICST visible.

Move the 'select REGMAP_MMIO' to the drivers that require it (SP810 did
not).

This also has the side effect of enabling CONFIG_ICST for COMPILE_TEST
as it was not visible before.

Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: default avatarSudeep Holla <sudeep.holla@arm.com>
Reviewed-by: default avatarStephen Boyd <sboyd@kernel.org>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 039599c9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3,7 +3,6 @@ menuconfig ARCH_INTEGRATOR
	bool "ARM Ltd. Integrator family"
	depends on ARCH_MULTI_V4T || ARCH_MULTI_V5 || ARCH_MULTI_V6
	select ARM_AMBA
	select COMMON_CLK_VERSATILE
	select HAVE_TCM
	select ICST
	select MFD_SYSCON
+0 −1
Original line number Diff line number Diff line
@@ -6,7 +6,6 @@ menuconfig ARCH_REALVIEW
	select ARM_GIC
	select ARM_TIMER_SP804
	select CLK_SP810
	select COMMON_CLK_VERSATILE
	select GPIO_PL061 if GPIOLIB
	select HAVE_ARM_SCU if SMP
	select HAVE_ARM_TWD if SMP
+0 −1
Original line number Diff line number Diff line
@@ -6,7 +6,6 @@ config ARCH_VERSATILE
	select ARM_TIMER_SP804
	select ARM_VIC
	select CLKSRC_VERSATILE
	select COMMON_CLK_VERSATILE
	select CPU_ARM926T
	select ICST
	select MFD_SYSCON
+0 −1
Original line number Diff line number Diff line
@@ -7,7 +7,6 @@ menuconfig ARCH_VEXPRESS
	select ARM_GIC
	select ARM_GLOBAL_TIMER
	select ARM_TIMER_SP804
	select COMMON_CLK_VERSATILE
	select GPIOLIB
	select HAVE_ARM_SCU if SMP
	select HAVE_ARM_TWD if SMP
+0 −1
Original line number Diff line number Diff line
@@ -274,7 +274,6 @@ config ARCH_UNIPHIER

config ARCH_VEXPRESS
	bool "ARMv8 software model (Versatile Express)"
	select COMMON_CLK_VERSATILE
	select GPIOLIB
	select PM
	select PM_GENERIC_DOMAINS
Loading