[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <cf5a0b929b9600ec3314f1370939a94ee43a5519.camel@mediatek.com>
Date: Thu, 23 Sep 2021 17:02:34 +0800
From: Chunfeng Yun <chunfeng.yun@...iatek.com>
To: Cai Huoqing <caihuoqing@...du.com>
CC: Kishon Vijay Abraham I <kishon@...com>,
Vinod Koul <vkoul@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>,
<linux-phy@...ts.infradead.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] phy: mediatek: Kconfig: Add configuration menu for
Mediatek phy drivers
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@...du.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@...iatek.com>
Thanks a lot
Powered by blists - more mailing lists