Commit 6ceb3c64 authored by Jiaxun Yang's avatar Jiaxun Yang Committed by Linus Walleij
Browse files

pinctrl: pistachio: Make it as an option



So it will be avilable for generic MIPS kernel.

--

Signed-off-by: default avatarJiaxun 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: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 2fefcf24
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -248,12 +248,15 @@ config PINCTRL_SX150X
	  - 16 bits: sx1509q, sx1506q

config PINCTRL_PISTACHIO
	def_bool y if MACH_PISTACHIO
	bool "IMG Pistachio SoC pinctrl driver"
	depends on OF && (MIPS || COMPILE_TEST)
	depends on GPIOLIB
	select PINMUX
	select GENERIC_PINCONF
	select GPIOLIB_IRQCHIP
	select OF_GPIO
    help
	  This support pinctrl and gpio driver for IMG Pistachio SoC.

config PINCTRL_ST
	bool