Skip to contentSkip to conversation

pinctrl: axp209: add missing Kconfig dependencies

PATCH In review Quentin Schulz 3 participants 3 messages Dec 14, 2017 – Dec 20, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pinctrl: axp209: add missing Kconfig dependencies

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")
---
 drivers/pinctrl/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)
drivers/pinctrl/Kconfig +4 -0
index ce126955212c..1dd445116432 100644
@@ -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
Signature · 1 line
2.14.1
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · 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")

Thanks.

Quoted 20 lines
---
 drivers/pinctrl/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)
drivers/pinctrl/Kconfig +4 -0
index ce126955212c..1dd445116432 100644
@@ -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
Signature · 1 line
~Randy
#2 lore raw
In reply to Quentin Schulz
Quoted 8 lines · 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")

Fixed that name.

Quoted 1 line

Patch applied with Randy's ACK.

Yours,
Linus Walleij