Messages in this thread Patch in this message | | | From | Cai Huoqing <> | Subject | [PATCH] clk: hisilicon: Kconfig: Add configuration menu for Hisilicon clock driver | Date | Sat, 18 Sep 2021 14:55:09 +0800 |
| |
Adding a configuration menu to hold many Hisilicon clock drivers helps to make the menu display more concise.
Signed-off-by: Cai Huoqing <caihuoqing@baidu.com> --- drivers/clk/hisilicon/Kconfig | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-)
diff --git a/drivers/clk/hisilicon/Kconfig b/drivers/clk/hisilicon/Kconfig index c1ec75aa4ccd..6f7742dc52c2 100644 --- a/drivers/clk/hisilicon/Kconfig +++ b/drivers/clk/hisilicon/Kconfig @@ -1,7 +1,9 @@ # SPDX-License-Identifier: GPL-2.0-only +menu "Clock driver support for Hisilicon" + depends on ARCH_HISI || COMPILE_TEST + config COMMON_CLK_HI3516CV300 tristate "HI3516CV300 Clock Driver" - depends on ARCH_HISI || COMPILE_TEST select RESET_HISI default ARCH_HISI help @@ -9,7 +11,6 @@ config COMMON_CLK_HI3516CV300 config COMMON_CLK_HI3519 tristate "Hi3519 Clock Driver" - depends on ARCH_HISI || COMPILE_TEST select RESET_HISI default ARCH_HISI help @@ -17,7 +18,6 @@ config COMMON_CLK_HI3519 config COMMON_CLK_HI3559A bool "Hi3559A Clock Driver" - depends on ARCH_HISI || COMPILE_TEST select RESET_HISI default ARCH_HISI help @@ -25,21 +25,18 @@ config COMMON_CLK_HI3559A config COMMON_CLK_HI3660 bool "Hi3660 Clock Driver" - depends on ARCH_HISI || COMPILE_TEST default ARCH_HISI help Build the clock driver for hi3660. config COMMON_CLK_HI3670 bool "Hi3670 Clock Driver" - depends on ARCH_HISI || COMPILE_TEST default ARCH_HISI help Build the clock driver for hi3670. config COMMON_CLK_HI3798CV200 tristate "Hi3798CV200 Clock Driver" - depends on ARCH_HISI || COMPILE_TEST select RESET_HISI default ARCH_HISI help @@ -47,21 +44,19 @@ config COMMON_CLK_HI3798CV200 config COMMON_CLK_HI6220 bool "Hi6220 Clock Driver" - depends on ARCH_HISI || COMPILE_TEST default ARCH_HISI help Build the Hisilicon Hi6220 clock driver based on the common clock framework. config RESET_HISI bool "HiSilicon Reset Controller Driver" - depends on ARCH_HISI || COMPILE_TEST select RESET_CONTROLLER help Build reset controller driver for HiSilicon device chipsets. config STUB_CLK_HI6220 bool "Hi6220 Stub Clock Driver" if EXPERT - depends on (COMMON_CLK_HI6220 || COMPILE_TEST) + depends on COMMON_CLK_HI6220 depends on MAILBOX default COMMON_CLK_HI6220 help @@ -69,8 +64,10 @@ config STUB_CLK_HI6220 config STUB_CLK_HI3660 bool "Hi3660 Stub Clock Driver" if EXPERT - depends on (COMMON_CLK_HI3660 || COMPILE_TEST) + depends on COMMON_CLK_HI3660 depends on MAILBOX default COMMON_CLK_HI3660 help Build the Hisilicon Hi3660 stub clock driver. + +endmenu -- 2.25.1
| |