Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1736473 > unrolled thread

[PATCH] soc: mediatek: place Kconfig for all SoC driver under menu

Started by<sean.wang@mediatek.com>
First post2017-09-21 10:50 +0200
Last post2017-09-26 09:30 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] soc: mediatek: place Kconfig for all SoC driver under menu <sean.wang@mediatek.com> - 2017-09-21 10:50 +0200
    Re: [PATCH] soc: mediatek: place Kconfig for all SoC driver under  menu Jean Delvare <jdelvare@suse.de> - 2017-09-26 08:00 +0200
      Re: [PATCH] soc: mediatek: place Kconfig for all SoC driver under  menu Sean Wang <sean.wang@mediatek.com> - 2017-09-26 09:30 +0200

#1736473 — [PATCH] soc: mediatek: place Kconfig for all SoC driver under menu

From<sean.wang@mediatek.com>
Date2017-09-21 10:50 +0200
Subject[PATCH] soc: mediatek: place Kconfig for all SoC driver under menu
Message-ID<us5lg-6XJ-13@gated-at.bofh.it>
From: Sean Wang <sean.wang@mediatek.com>

Add cleanup for placing all Kconfig for all MediaTek SoC drivers under
the independent menu as other SoCs vendor usually did.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
---
 drivers/soc/mediatek/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/soc/mediatek/Kconfig b/drivers/soc/mediatek/Kconfig
index 609bb34..a2fcd7f 100644
--- a/drivers/soc/mediatek/Kconfig
+++ b/drivers/soc/mediatek/Kconfig
@@ -1,6 +1,8 @@
 #
 # MediaTek SoC drivers
 #
+menu "MediaTek SoC drivers"
+
 config MTK_INFRACFG
 	bool "MediaTek INFRACFG Support"
 	depends on ARCH_MEDIATEK || COMPILE_TEST
@@ -30,3 +32,5 @@ config MTK_SCPSYS
 	help
 	  Say yes here to add support for the MediaTek SCPSYS power domain
 	  driver.
+
+endmenu
-- 
2.7.4

[toc] | [next] | [standalone]


#1739523 — Re: [PATCH] soc: mediatek: place Kconfig for all SoC driver under menu

FromJean Delvare <jdelvare@suse.de>
Date2017-09-26 08:00 +0200
SubjectRe: [PATCH] soc: mediatek: place Kconfig for all SoC driver under menu
Message-ID<utR4t-x1-7@gated-at.bofh.it>
In reply to#1736473
On Thu, 21 Sep 2017 16:46:35 +0800, sean.wang@mediatek.com wrote:
> From: Sean Wang <sean.wang@mediatek.com>
> 
> Add cleanup for placing all Kconfig for all MediaTek SoC drivers under
> the independent menu as other SoCs vendor usually did.
> 
> Signed-off-by: Sean Wang <sean.wang@mediatek.com>
> ---
>  drivers/soc/mediatek/Kconfig | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/soc/mediatek/Kconfig b/drivers/soc/mediatek/Kconfig
> index 609bb34..a2fcd7f 100644
> --- a/drivers/soc/mediatek/Kconfig
> +++ b/drivers/soc/mediatek/Kconfig
> @@ -1,6 +1,8 @@
>  #
>  # MediaTek SoC drivers
>  #
> +menu "MediaTek SoC drivers"

Could it depend on ARCH_MEDIATEK || COMPILE_TEST? So that it isn't
presented if it is going to be empty.

> +
>  config MTK_INFRACFG
>  	bool "MediaTek INFRACFG Support"
>  	depends on ARCH_MEDIATEK || COMPILE_TEST
> @@ -30,3 +32,5 @@ config MTK_SCPSYS
>  	help
>  	  Say yes here to add support for the MediaTek SCPSYS power domain
>  	  driver.
> +
> +endmenu


-- 
Jean Delvare
SUSE L3 Support

[toc] | [prev] | [next] | [standalone]


#1739613 — Re: [PATCH] soc: mediatek: place Kconfig for all SoC driver under menu

FromSean Wang <sean.wang@mediatek.com>
Date2017-09-26 09:30 +0200
SubjectRe: [PATCH] soc: mediatek: place Kconfig for all SoC driver under menu
Message-ID<utStA-1zD-19@gated-at.bofh.it>
In reply to#1739523
On Tue, 2017-09-26 at 07:55 +0200, Jean Delvare wrote:
> On Thu, 21 Sep 2017 16:46:35 +0800, sean.wang@mediatek.com wrote:
> > From: Sean Wang <sean.wang@mediatek.com>
> > 
> > Add cleanup for placing all Kconfig for all MediaTek SoC drivers under
> > the independent menu as other SoCs vendor usually did.
> > 
> > Signed-off-by: Sean Wang <sean.wang@mediatek.com>
> > ---
> >  drivers/soc/mediatek/Kconfig | 4 ++++
> >  1 file changed, 4 insertions(+)
> > 
> > diff --git a/drivers/soc/mediatek/Kconfig b/drivers/soc/mediatek/Kconfig
> > index 609bb34..a2fcd7f 100644
> > --- a/drivers/soc/mediatek/Kconfig
> > +++ b/drivers/soc/mediatek/Kconfig
> > @@ -1,6 +1,8 @@
> >  #
> >  # MediaTek SoC drivers
> >  #
> > +menu "MediaTek SoC drivers"
> 
> Could it depend on ARCH_MEDIATEK || COMPILE_TEST? So that it isn't
> presented if it is going to be empty.
> 

Okay, I'll add a dependency for the menu. And all "depends on
ARCH_MEDIATEK" for items insides the menu can also be removed.

such as

 menu "MediaTek SoC drivers"
+       depends on ARCH_MEDIATEK || COMPILE_TEST

 config MTK_INFRACFG
        bool "MediaTek INFRACFG Support"
-       depends on ARCH_MEDIATEK || COMPILE_TEST
        select REGMAP
        help
          Say yes here to add support for the MediaTek INFRACFG
controller. The
@@ -14,7 +14,6 @@ config MTK_INFRACFG

 config MTK_PMIC_WRAP
        tristate "MediaTek PMIC Wrapper Support"
-       depends on ARCH_MEDIATEK
        select RESET_CONTROLLER
        select REGMAP
        help
@@ -24,7 +23,6 @@ config MTK_PMIC_WRAP

 config MTK_SCPSYS
        bool "MediaTek SCPSYS Support"
-       depends on ARCH_MEDIATEK || COMPILE_TEST
        default ARCH_MEDIATEK

> > +
> >  config MTK_INFRACFG
> >  	bool "MediaTek INFRACFG Support"
> >  	depends on ARCH_MEDIATEK || COMPILE_TEST
> > @@ -30,3 +32,5 @@ config MTK_SCPSYS
> >  	help
> >  	  Say yes here to add support for the MediaTek SCPSYS power domain
> >  	  driver.
> > +
> > +endmenu
> 
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web