All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clk: hisilicon: Kconfig: Add configuration menu for Hisilicon clock driver
@ 2021-09-18  6:55 Cai Huoqing
  0 siblings, 0 replies; only message in thread
From: Cai Huoqing @ 2021-09-18  6:55 UTC (permalink / raw)
  To: caihuoqing; +Cc: Michael Turquette, Stephen Boyd, linux-clk, linux-kernel

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-18  6:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-18  6:55 [PATCH] clk: hisilicon: Kconfig: Add configuration menu for Hisilicon clock driver Cai Huoqing

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.