linux-imx/drivers/clk/versatile/Kconfig
Jean Delvare d4e15d4821 clk: versatile: hide clock drivers from non-ARM users
Commit 419b3ab698 ("clk: versatile: remove dependency on ARCH_*")
made the whole menu of ARM reference clock drivers visible on all
architectures. I can't see how this is an improvement for non-ARM
users. Unless build-testing, there is no point on presenting
ARM-only clock drivers on other architectures.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Peter Collingbourne <pcc@google.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20210901180953.5bd2a994@endymion
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2021-10-14 18:00:35 -07:00

947 B

SPDX-License-Identifier: GPL-2.0-only

menu "Clock driver for ARM Reference designs" depends on HAS_IOMEM depends on ARM || ARM64 || COMPILE_TEST

config CLK_ICST bool "Clock driver for ARM Reference designs ICST" select REGMAP_MMIO help Supports clocking on ARM Reference designs: - Integrator/AP and Integrator/CP - RealView PB1176, EB, PB11MP and PBX

config CLK_SP810 bool "Clock driver for ARM SP810 System Controller" default y if (ARCH_VEXPRESS && ARM) help Supports clock muxing (REFCLK/TIMCLK to TIMERCLKEN0-3) capabilities of the ARM SP810 System Controller cell.

config CLK_VEXPRESS_OSC tristate "Clock driver for Versatile Express OSC clock generators" depends on VEXPRESS_CONFIG select REGMAP_MMIO default y if ARCH_VEXPRESS help Simple regmap-based driver driving clock generators on Versatile Express platforms hidden behind its configuration infrastructure, commonly known as OSCs.

endmenu