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

pinctrl: pistachio: Make it as an option

So it will be avilable for generic MIPS kernel.

--

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
v3: Depend on OF as well
Link: https://lore.kernel.org/r/20210721030134.10562-7-jiaxun.yang@flygoat.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Jiaxun Yang and committed by
Linus Walleij
6ceb3c64 2fefcf24

+4 -1
+4 -1
drivers/pinctrl/Kconfig
··· 248 248 - 16 bits: sx1509q, sx1506q 249 249 250 250 config PINCTRL_PISTACHIO 251 - def_bool y if MACH_PISTACHIO 251 + bool "IMG Pistachio SoC pinctrl driver" 252 + depends on OF && (MIPS || COMPILE_TEST) 252 253 depends on GPIOLIB 253 254 select PINMUX 254 255 select GENERIC_PINCONF 255 256 select GPIOLIB_IRQCHIP 256 257 select OF_GPIO 258 + help 259 + This support pinctrl and gpio driver for IMG Pistachio SoC. 257 260 258 261 config PINCTRL_ST 259 262 bool