diff options
author | 2021-07-23 10:25:40 +0800 | |
---|---|---|
committer | 2021-08-12 16:01:49 +0200 | |
commit | f14973038d814c3ad032209794693dceca5eb7cf (patch) | |
tree | 871cdad5e74623dd45ba9ba204cca8d8cc8cc5c9 | |
parent | phy: pistachio-usb: Depend on MIPS || COMPILE_TEST (diff) | |
download | wireguard-linux-f14973038d814c3ad032209794693dceca5eb7cf.tar.xz wireguard-linux-f14973038d814c3ad032209794693dceca5eb7cf.zip |
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
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
-rw-r--r-- | drivers/pinctrl/Kconfig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index f38f12801f18..eb981713b40d 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -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 |