From: Cai Huoqing <caihuoqing@baidu.com>
To: <caihuoqing@baidu.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>,
Vinod Koul <vkoul@kernel.org>, <linux-phy@lists.infradead.org>,
<linux-kernel@vger.kernel.org>
Subject: [PATCH] phy: socionext: Kconfig: Add configuration menu for Socionext phy drivers
Date: Thu, 23 Sep 2021 10:51:06 +0800 [thread overview]
Message-ID: <20210923025106.560-1-caihuoqing@baidu.com> (raw)
Adding a configuration menu to hold many Socionext phy drivers
helps to make the menu display more concise.
Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
---
drivers/phy/socionext/Kconfig | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/drivers/phy/socionext/Kconfig b/drivers/phy/socionext/Kconfig
index a3970e0f89da..44241cdca97a 100644
--- a/drivers/phy/socionext/Kconfig
+++ b/drivers/phy/socionext/Kconfig
@@ -2,11 +2,12 @@
#
# PHY drivers for Socionext platforms.
#
+menu "PHY drivers for Socionext platforms"
+ depends on ARCH_UNIPHIER || COMPILE_TEST
+ depends on OF && HAS_IOMEM
config PHY_UNIPHIER_USB2
tristate "UniPhier USB2 PHY driver"
- depends on ARCH_UNIPHIER || COMPILE_TEST
- depends on OF && HAS_IOMEM
select GENERIC_PHY
select MFD_SYSCON
help
@@ -18,8 +19,6 @@ config PHY_UNIPHIER_USB2
config PHY_UNIPHIER_USB3
tristate "UniPhier USB3 PHY driver"
- depends on ARCH_UNIPHIER || COMPILE_TEST
- depends on OF && HAS_IOMEM
select GENERIC_PHY
help
Enable this to support USB PHY implemented in USB3 controller
@@ -27,8 +26,6 @@ config PHY_UNIPHIER_USB3
config PHY_UNIPHIER_PCIE
tristate "Uniphier PHY driver for PCIe controller"
- depends on ARCH_UNIPHIER || COMPILE_TEST
- depends on OF && HAS_IOMEM
default PCIE_UNIPHIER
select GENERIC_PHY
help
@@ -37,10 +34,10 @@ config PHY_UNIPHIER_PCIE
config PHY_UNIPHIER_AHCI
tristate "UniPhier AHCI PHY driver"
- depends on ARCH_UNIPHIER || COMPILE_TEST
- depends on OF && HAS_IOMEM
default SATA_AHCI_PLATFORM
select GENERIC_PHY
help
Enable this to support PHY implemented in AHCI controller
on UniPhier SoCs. This driver supports PXs2 and PXs3 SoCs.
+
+endmenu
--
2.25.1
reply other threads:[~2021-09-23 2:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210923025106.560-1-caihuoqing@baidu.com \
--to=caihuoqing@baidu.com \
--cc=kishon@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).