* [PATCH] phy: rockchip: Kconfig: Add configuration menu for Rockchip phy drivers
@ 2021-09-23 2:50 Cai Huoqing
0 siblings, 0 replies; only message in thread
From: Cai Huoqing @ 2021-09-23 2:50 UTC (permalink / raw)
To: caihuoqing
Cc: Kishon Vijay Abraham I, Vinod Koul, Heiko Stuebner, linux-phy,
linux-arm-kernel, linux-rockchip, linux-kernel
Adding a configuration menu to hold many Rockchip phy drivers
helps to make the menu display more concise.
Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
---
drivers/phy/rockchip/Kconfig | 24 ++++++++++++++----------
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/drivers/phy/rockchip/Kconfig b/drivers/phy/rockchip/Kconfig
index e812adad7242..8b6dd594f43e 100644
--- a/drivers/phy/rockchip/Kconfig
+++ b/drivers/phy/rockchip/Kconfig
@@ -2,16 +2,18 @@
#
# Phy drivers for Rockchip platforms
#
+menu "PHY drivers for Rockchip platforms"
+ depends on ARCH_ROCKCHIP || COMPILE_TEST
+
config PHY_ROCKCHIP_DP
tristate "Rockchip Display Port PHY Driver"
- depends on ARCH_ROCKCHIP && OF
+ depends on OF
select GENERIC_PHY
help
Enable this to support the Rockchip Display Port PHY.
config PHY_ROCKCHIP_DPHY_RX0
tristate "Rockchip MIPI Synopsys DPHY RX0 driver"
- depends on ARCH_ROCKCHIP || COMPILE_TEST
select GENERIC_PHY_MIPI_DPHY
select GENERIC_PHY
help
@@ -23,14 +25,14 @@ config PHY_ROCKCHIP_DPHY_RX0
config PHY_ROCKCHIP_EMMC
tristate "Rockchip EMMC PHY Driver"
- depends on ARCH_ROCKCHIP && OF
+ depends on OF
select GENERIC_PHY
help
Enable this to support the Rockchip EMMC PHY.
config PHY_ROCKCHIP_INNO_HDMI
tristate "Rockchip INNO HDMI PHY Driver"
- depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
+ depends on OF
depends on COMMON_CLK
depends on HAS_IOMEM
select GENERIC_PHY
@@ -39,7 +41,7 @@ config PHY_ROCKCHIP_INNO_HDMI
config PHY_ROCKCHIP_INNO_USB2
tristate "Rockchip INNO USB2PHY Driver"
- depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
+ depends on OF
depends on COMMON_CLK
depends on EXTCON
depends on USB_SUPPORT
@@ -50,7 +52,7 @@ config PHY_ROCKCHIP_INNO_USB2
config PHY_ROCKCHIP_INNO_CSIDPHY
tristate "Rockchip Innosilicon MIPI CSI PHY driver"
- depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
+ depends on OF
select GENERIC_PHY
select GENERIC_PHY_MIPI_DPHY
help
@@ -59,7 +61,7 @@ config PHY_ROCKCHIP_INNO_CSIDPHY
config PHY_ROCKCHIP_INNO_DSIDPHY
tristate "Rockchip Innosilicon MIPI/LVDS/TTL PHY driver"
- depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
+ depends on OF
select GENERIC_PHY
select GENERIC_PHY_MIPI_DPHY
help
@@ -68,7 +70,7 @@ config PHY_ROCKCHIP_INNO_DSIDPHY
config PHY_ROCKCHIP_PCIE
tristate "Rockchip PCIe PHY Driver"
- depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST
+ depends on OF
depends on HAS_IOMEM
select GENERIC_PHY
select MFD_SYSCON
@@ -77,7 +79,7 @@ config PHY_ROCKCHIP_PCIE
config PHY_ROCKCHIP_TYPEC
tristate "Rockchip TYPEC PHY Driver"
- depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
+ depends on OF
select EXTCON
select GENERIC_PHY
select RESET_CONTROLLER
@@ -86,7 +88,9 @@ config PHY_ROCKCHIP_TYPEC
config PHY_ROCKCHIP_USB
tristate "Rockchip USB2 PHY Driver"
- depends on ARCH_ROCKCHIP && OF
+ depends on OF
select GENERIC_PHY
help
Enable this to support the Rockchip USB 2.0 PHY.
+
+endmenu
--
2.25.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-23 3:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-23 2:50 [PATCH] phy: rockchip: Kconfig: Add configuration menu for Rockchip phy drivers Cai Huoqing
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).