lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20210923025005.136-1-caihuoqing@baidu.com>
Date:   Thu, 23 Sep 2021 10:50:04 +0800
From:   Cai Huoqing <caihuoqing@...du.com>
To:     <caihuoqing@...du.com>
CC:     Kishon Vijay Abraham I <kishon@...com>,
        Vinod Koul <vkoul@...nel.org>, <linux-phy@...ts.infradead.org>,
        <linux-kernel@...r.kernel.org>
Subject: [PATCH] phy: amlogic: Kconfig: Add configuration menu for Amlogic phy drivers

Adding a configuration menu to hold many Amlogic phy drivers
helps to make the menu display more concise.

Signed-off-by: Cai Huoqing <caihuoqing@...du.com>
---
 drivers/phy/amlogic/Kconfig | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/drivers/phy/amlogic/Kconfig b/drivers/phy/amlogic/Kconfig
index db5d0cd757e3..f16802831d56 100644
--- a/drivers/phy/amlogic/Kconfig
+++ b/drivers/phy/amlogic/Kconfig
@@ -2,10 +2,12 @@
 #
 # Phy drivers for Amlogic platforms
 #
+menu "PHY drivers for Amlogic platforms"
+	depends on OF && (ARCH_MESON || COMPILE_TEST)
+
 config PHY_MESON8B_USB2
 	tristate "Meson8, Meson8b, Meson8m2 and GXBB USB2 PHY driver"
 	default ARCH_MESON
-	depends on OF && (ARCH_MESON || COMPILE_TEST)
 	depends on USB_SUPPORT
 	select USB_COMMON
 	select GENERIC_PHY
@@ -18,7 +20,6 @@ config PHY_MESON8B_USB2
 config PHY_MESON_GXL_USB2
 	tristate "Meson GXL and GXM USB2 PHY drivers"
 	default ARCH_MESON
-	depends on OF && (ARCH_MESON || COMPILE_TEST)
 	depends on USB_SUPPORT
 	select GENERIC_PHY
 	select REGMAP_MMIO
@@ -30,7 +31,6 @@ config PHY_MESON_GXL_USB2
 config PHY_MESON_G12A_USB2
 	tristate "Meson G12A USB2 PHY driver"
 	default ARCH_MESON
-	depends on OF && (ARCH_MESON || COMPILE_TEST)
 	select GENERIC_PHY
 	select REGMAP_MMIO
 	help
@@ -41,7 +41,6 @@ config PHY_MESON_G12A_USB2
 config PHY_MESON_G12A_USB3_PCIE
 	tristate "Meson G12A USB3+PCIE Combo PHY driver"
 	default ARCH_MESON
-	depends on OF && (ARCH_MESON || COMPILE_TEST)
 	select GENERIC_PHY
 	select REGMAP_MMIO
 	help
@@ -52,7 +51,6 @@ config PHY_MESON_G12A_USB3_PCIE
 config PHY_MESON_AXG_PCIE
 	tristate "Meson AXG PCIE PHY driver"
 	default ARCH_MESON
-	depends on OF && (ARCH_MESON || COMPILE_TEST)
 	select GENERIC_PHY
 	select REGMAP_MMIO
 	help
@@ -63,7 +61,6 @@ config PHY_MESON_AXG_PCIE
 config PHY_MESON_AXG_MIPI_PCIE_ANALOG
 	tristate "Meson AXG MIPI + PCIE analog PHY driver"
 	default ARCH_MESON
-	depends on OF && (ARCH_MESON || COMPILE_TEST)
 	select GENERIC_PHY
 	select REGMAP_MMIO
 	select GENERIC_PHY_MIPI_DPHY
@@ -75,7 +72,6 @@ config PHY_MESON_AXG_MIPI_PCIE_ANALOG
 config PHY_MESON_AXG_MIPI_DPHY
 	tristate "Meson AXG MIPI DPHY driver"
 	default ARCH_MESON
-	depends on OF && (ARCH_MESON || COMPILE_TEST)
 	select GENERIC_PHY
 	select REGMAP_MMIO
 	select GENERIC_PHY_MIPI_DPHY
@@ -83,3 +79,5 @@ config PHY_MESON_AXG_MIPI_DPHY
 	  Enable this to support the Meson MIPI DPHY found in Meson AXG
 	  SoCs.
 	  If unsure, say N.
+
+endmenu
-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ