All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] pinctrl: intel: Kconfig: Add config menu to intel pinctrl
@ 2021-09-18  3:17 Cai Huoqing
  2021-09-18  3:58 ` Andy Shevchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Cai Huoqing @ 2021-09-18  3:17 UTC (permalink / raw)
  To: caihuoqing
  Cc: Mika Westerberg, Andy Shevchenko, Linus Walleij, linux-gpio,
	linux-kernel

Adding a config menu to hold many intel pinctrl drivers
helps to make the display more concise.

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
---
v1->v2: Revert to "select PINCTRL_INTE" for PINCTRL_TIGERLAKE config.

 drivers/pinctrl/intel/Kconfig | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/pinctrl/intel/Kconfig b/drivers/pinctrl/intel/Kconfig
index fb1495bd77c4..64f8b37fd705 100644
--- a/drivers/pinctrl/intel/Kconfig
+++ b/drivers/pinctrl/intel/Kconfig
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 # Intel pin control drivers
-
-if (X86 || COMPILE_TEST)
+menu "Intel pinctrl drivers"
+	depends on X86 || COMPILE_TEST
 
 config PINCTRL_BAYTRAIL
 	bool "Intel Baytrail GPIO pin control"
@@ -168,4 +168,5 @@ config PINCTRL_TIGERLAKE
 	  This pinctrl driver provides an interface that allows configuring
 	  of Intel Tiger Lake PCH pins and using them as GPIOs.
 
-endif
+endmenu
+
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] pinctrl: intel: Kconfig: Add config menu to intel pinctrl
  2021-09-18  3:17 [PATCH v2] pinctrl: intel: Kconfig: Add config menu to intel pinctrl Cai Huoqing
@ 2021-09-18  3:58 ` Andy Shevchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2021-09-18  3:58 UTC (permalink / raw)
  To: Cai Huoqing
  Cc: Mika Westerberg, Andy Shevchenko, Linus Walleij,
	open list:GPIO SUBSYSTEM, Linux Kernel Mailing List

On Sat, Sep 18, 2021 at 6:17 AM Cai Huoqing <caihuoqing@baidu.com> wrote:
>
> Adding a config menu to hold many intel pinctrl drivers

configuration
Intel
pin control

> helps to make the display more concise.

After above addressed,
Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>

> Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
> ---
> v1->v2: Revert to "select PINCTRL_INTE" for PINCTRL_TIGERLAKE config.
>
>  drivers/pinctrl/intel/Kconfig | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/pinctrl/intel/Kconfig b/drivers/pinctrl/intel/Kconfig
> index fb1495bd77c4..64f8b37fd705 100644
> --- a/drivers/pinctrl/intel/Kconfig
> +++ b/drivers/pinctrl/intel/Kconfig
> @@ -1,7 +1,7 @@
>  # SPDX-License-Identifier: GPL-2.0
>  # Intel pin control drivers
> -
> -if (X86 || COMPILE_TEST)
> +menu "Intel pinctrl drivers"
> +       depends on X86 || COMPILE_TEST
>
>  config PINCTRL_BAYTRAIL
>         bool "Intel Baytrail GPIO pin control"
> @@ -168,4 +168,5 @@ config PINCTRL_TIGERLAKE
>           This pinctrl driver provides an interface that allows configuring
>           of Intel Tiger Lake PCH pins and using them as GPIOs.
>
> -endif
> +endmenu
> +
> --
> 2.25.1
>


-- 
With Best Regards,
Andy Shevchenko

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-18  3:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-18  3:17 [PATCH v2] pinctrl: intel: Kconfig: Add config menu to intel pinctrl Cai Huoqing
2021-09-18  3:58 ` Andy Shevchenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.