* [PATCH] phy: mediatek: Kconfig: Add configuration menu for Mediatek phy drivers
@ 2021-09-23 2:50 Cai Huoqing
2021-09-23 9:02 ` Chunfeng Yun
0 siblings, 1 reply; 2+ messages in thread
From: Cai Huoqing @ 2021-09-23 2:50 UTC (permalink / raw)
To: caihuoqing
Cc: Chunfeng Yun, Kishon Vijay Abraham I, Vinod Koul,
Matthias Brugger, linux-arm-kernel, linux-mediatek, linux-phy,
linux-kernel
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
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] phy: mediatek: Kconfig: Add configuration menu for Mediatek phy drivers
2021-09-23 2:50 [PATCH] phy: mediatek: Kconfig: Add configuration menu for Mediatek phy drivers Cai Huoqing
@ 2021-09-23 9:02 ` Chunfeng Yun
0 siblings, 0 replies; 2+ messages in thread
From: Chunfeng Yun @ 2021-09-23 9:02 UTC (permalink / raw)
To: Cai Huoqing
Cc: Kishon Vijay Abraham I, Vinod Koul, Matthias Brugger,
linux-arm-kernel, linux-mediatek, linux-phy, linux-kernel
On Thu, 2021-09-23 at 10:50 +0800, Cai Huoqing wrote:
> 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
Reviewed-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Thanks a lot
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-23 9:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-23 2:50 [PATCH] phy: mediatek: Kconfig: Add configuration menu for Mediatek phy drivers Cai Huoqing
2021-09-23 9:02 ` Chunfeng Yun
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).