linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] pinctrl: pinctrl-microchip-sgpio: Add OF config dependency
@ 2020-11-25 12:20 Lars Povlsen
  2020-11-25 16:57 ` Randy Dunlap
  2020-12-01 23:12 ` Linus Walleij
  0 siblings, 2 replies; 3+ messages in thread
From: Lars Povlsen @ 2020-11-25 12:20 UTC (permalink / raw)
  To: Linus Walleij, Randy Dunlap
  Cc: Lars Povlsen, Microchip Linux Driver Support, linux-gpio,
	linux-arm-kernel, linux-kernel, Alexandre Belloni

The pinctrl-microchip-sgpio driver needs OF support, so add that to
Kconfig.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Lars Povlsen <lars.povlsen@microchip.com>
---
 drivers/pinctrl/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index 9b8ed7516355..94e49da49f5c 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -376,11 +376,13 @@ config PINCTRL_OCELOT
 
 config PINCTRL_MICROCHIP_SGPIO
 	bool "Pinctrl driver for Microsemi/Microchip Serial GPIO"
+	depends on OF
 	depends on HAS_IOMEM
 	select GPIOLIB
 	select GENERIC_PINCONF
 	select GENERIC_PINCTRL_GROUPS
 	select GENERIC_PINMUX_FUNCTIONS
+	select OF_GPIO
 	help
 	  Support for the serial GPIO interface used on Microsemi and
 	  Microchip SoC's. By using a serial interface, the SIO
-- 
2.25.1


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

end of thread, other threads:[~2020-12-01 23:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-25 12:20 [PATCH -next] pinctrl: pinctrl-microchip-sgpio: Add OF config dependency Lars Povlsen
2020-11-25 16:57 ` Randy Dunlap
2020-12-01 23:12 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).