]> git.baikalelectronics.ru Git - kernel.git/commit
clk: versatile: Rework kconfig structure
authorRob Herring <robh@kernel.org>
Wed, 29 Apr 2020 20:58:13 +0000 (15:58 -0500)
committerRob Herring <robh@kernel.org>
Tue, 5 May 2020 16:43:14 +0000 (11:43 -0500)
commit2a35e01ef5298f79114c347edc5e4b1bacce6dec
tree58a2c541d68f1935c34fe661f2c64da03a3fcbbd
parent78e0901212674583ec2cbe1b7df6d6ebfe614983
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: Sudeep Holla <sudeep.holla@arm.com>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
arch/arm/mach-integrator/Kconfig
arch/arm/mach-realview/Kconfig
arch/arm/mach-versatile/Kconfig
arch/arm/mach-vexpress/Kconfig
arch/arm64/Kconfig.platforms
drivers/clk/Makefile
drivers/clk/versatile/Kconfig