Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pinctrl: pinctrl-microchip-sgpio: Add OF config dependency

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>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20201125122014.11237-1-lars.povlsen@microchip.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Lars Povlsen and committed by
Linus Walleij
552a9cc0 7e5ea974

+2
+2
drivers/pinctrl/Kconfig
··· 376 376 377 377 config PINCTRL_MICROCHIP_SGPIO 378 378 bool "Pinctrl driver for Microsemi/Microchip Serial GPIO" 379 + depends on OF 379 380 depends on HAS_IOMEM 380 381 select GPIOLIB 381 382 select GENERIC_PINCONF 382 383 select GENERIC_PINCTRL_GROUPS 383 384 select GENERIC_PINMUX_FUNCTIONS 385 + select OF_GPIO 384 386 help 385 387 Support for the serial GPIO interface used on Microsemi and 386 388 Microchip SoC's. By using a serial interface, the SIO