All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pinctrl: axp209: add missing Kconfig dependencies
@ 2017-12-14  9:43 Quentin Schulz
  2017-12-14 18:22 ` Randy Dunlap
       [not found] ` <20171214094335.899-1-quentin.schulz-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Quentin Schulz @ 2017-12-14  9:43 UTC (permalink / raw)
  To: linus.walleij
  Cc: linux-gpio, linux-kernel, thomas.petazzoni, linux-sunxi, rdunlap,
	Quentin Schulz

This fixes some compilation issues.

GENERIC_PINCONF and OF at least for pinconf_generic_dt_*, PINMUX at
least for pinmux_ops and GPIOLIB for at least gpio_chip.

Fixes: 23f75d7dfa92 ("pinctrl: axp209: add pinctrl features")

Reported-by: Randy Dunlab <rdunlap@infradead.org>
Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
---
 drivers/pinctrl/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index ce126955212c..1dd445116432 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -66,6 +66,10 @@ config PINCTRL_AS3722
 config PINCTRL_AXP209
 	tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support"
 	depends on MFD_AXP20X
+	depends on OF
+	select PINMUX
+	select GENERIC_PINCONF
+	select GPIOLIB
 	help
 	  AXP PMICs provides multiple GPIOs that can be muxed for different
 	  functions. This driver bundles a pinctrl driver to select the function
-- 
2.14.1


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

* Re: [PATCH] pinctrl: axp209: add missing Kconfig dependencies
  2017-12-14  9:43 [PATCH] pinctrl: axp209: add missing Kconfig dependencies Quentin Schulz
@ 2017-12-14 18:22 ` Randy Dunlap
       [not found] ` <20171214094335.899-1-quentin.schulz-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Randy Dunlap @ 2017-12-14 18:22 UTC (permalink / raw)
  To: Quentin Schulz, linus.walleij
  Cc: linux-gpio, linux-kernel, thomas.petazzoni, linux-sunxi

On 12/14/2017 01:43 AM, Quentin Schulz wrote:
> This fixes some compilation issues.
> 
> GENERIC_PINCONF and OF at least for pinconf_generic_dt_*, PINMUX at
> least for pinmux_ops and GPIOLIB for at least gpio_chip.
> 
> Fixes: 23f75d7dfa92 ("pinctrl: axp209: add pinctrl features")
> 
> Reported-by: Randy Dunlab <rdunlap@infradead.org>
> Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.

> ---
>  drivers/pinctrl/Kconfig | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
> index ce126955212c..1dd445116432 100644
> --- a/drivers/pinctrl/Kconfig
> +++ b/drivers/pinctrl/Kconfig
> @@ -66,6 +66,10 @@ config PINCTRL_AS3722
>  config PINCTRL_AXP209
>  	tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support"
>  	depends on MFD_AXP20X
> +	depends on OF
> +	select PINMUX
> +	select GENERIC_PINCONF
> +	select GPIOLIB
>  	help
>  	  AXP PMICs provides multiple GPIOs that can be muxed for different
>  	  functions. This driver bundles a pinctrl driver to select the function
> 


-- 
~Randy

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

* Re: [PATCH] pinctrl: axp209: add missing Kconfig dependencies
  2017-12-14  9:43 [PATCH] pinctrl: axp209: add missing Kconfig dependencies Quentin Schulz
@ 2017-12-20  8:14     ` Linus Walleij
       [not found] ` <20171214094335.899-1-quentin.schulz-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2017-12-20  8:14 UTC (permalink / raw)
  To: Quentin Schulz
  Cc: linux-gpio-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Thomas Petazzoni,
	linux-sunxi, Randy Dunlap

On Thu, Dec 14, 2017 at 10:43 AM, Quentin Schulz
<quentin.schulz-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> wrote:

> This fixes some compilation issues.
>
> GENERIC_PINCONF and OF at least for pinconf_generic_dt_*, PINMUX at
> least for pinmux_ops and GPIOLIB for at least gpio_chip.
>
> Fixes: 23f75d7dfa92 ("pinctrl: axp209: add pinctrl features")
>
> Reported-by: Randy Dunlab <rdunlap-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>

Fixed that name.

> Signed-off-by: Quentin Schulz <quentin.schulz-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>

Patch applied with Randy's ACK.

Yours,
Linus Walleij

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

* Re: [PATCH] pinctrl: axp209: add missing Kconfig dependencies
@ 2017-12-20  8:14     ` Linus Walleij
  0 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2017-12-20  8:14 UTC (permalink / raw)
  To: Quentin Schulz
  Cc: linux-gpio, linux-kernel, Thomas Petazzoni, linux-sunxi, Randy Dunlap

On Thu, Dec 14, 2017 at 10:43 AM, Quentin Schulz
<quentin.schulz@free-electrons.com> wrote:

> This fixes some compilation issues.
>
> GENERIC_PINCONF and OF at least for pinconf_generic_dt_*, PINMUX at
> least for pinmux_ops and GPIOLIB for at least gpio_chip.
>
> Fixes: 23f75d7dfa92 ("pinctrl: axp209: add pinctrl features")
>
> Reported-by: Randy Dunlab <rdunlap@infradead.org>

Fixed that name.

> Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>

Patch applied with Randy's ACK.

Yours,
Linus Walleij

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

end of thread, other threads:[~2017-12-20  8:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-14  9:43 [PATCH] pinctrl: axp209: add missing Kconfig dependencies Quentin Schulz
2017-12-14 18:22 ` Randy Dunlap
     [not found] ` <20171214094335.899-1-quentin.schulz-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2017-12-20  8:14   ` Linus Walleij
2017-12-20  8:14     ` Linus Walleij

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.