lkml.org 
[lkml]   [2021]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] phy: mediatek: Kconfig: Add configuration menu for Mediatek phy drivers
Date
Adding a configuration menu to hold many Mediatek phy drivers
helps to make the menu display more concise.

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

diff --git a/drivers/phy/mediatek/Kconfig b/drivers/phy/mediatek/Kconfig
index 55f8e6c048ab..5da045813b5a 100644
--- a/drivers/phy/mediatek/Kconfig
+++ b/drivers/phy/mediatek/Kconfig
@@ -2,9 +2,11 @@
#
# Phy drivers for Mediatek devices
#
+menu "PHY drivers for Mediatek platforms"
+ depends on ARCH_MEDIATEK || COMPILE_TEST
+
config PHY_MTK_TPHY
tristate "MediaTek T-PHY Driver"
- depends on ARCH_MEDIATEK || COMPILE_TEST
depends on OF && OF_ADDRESS
depends on HAS_IOMEM
select GENERIC_PHY
@@ -18,7 +20,6 @@ config PHY_MTK_TPHY

config PHY_MTK_UFS
tristate "MediaTek UFS M-PHY driver"
- depends on ARCH_MEDIATEK || COMPILE_TEST
depends on OF
select GENERIC_PHY
help
@@ -29,7 +30,6 @@ config PHY_MTK_UFS

config PHY_MTK_XSPHY
tristate "MediaTek XS-PHY Driver"
- depends on ARCH_MEDIATEK || COMPILE_TEST
depends on OF && OF_ADDRESS
depends on HAS_IOMEM
select GENERIC_PHY
@@ -40,7 +40,6 @@ config PHY_MTK_XSPHY

config PHY_MTK_HDMI
tristate "MediaTek HDMI-PHY Driver"
- depends on ARCH_MEDIATEK || COMPILE_TEST
depends on COMMON_CLK
depends on OF
select GENERIC_PHY
@@ -49,9 +48,10 @@ config PHY_MTK_HDMI

config PHY_MTK_MIPI_DSI
tristate "MediaTek MIPI-DSI Driver"
- depends on ARCH_MEDIATEK || COMPILE_TEST
depends on COMMON_CLK
depends on OF
select GENERIC_PHY
help
Support MIPI DSI for Mediatek SoCs.
+
+endmenu
--
2.25.1
\
 
 \ /
  Last update: 2021-09-23 04:53    [W:0.054 / U:1.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site