aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2021-07-21 11:01:31 +0800
committerLinus Walleij <linus.walleij@linaro.org>2021-07-30 14:37:36 +0200
commit6ceb3c64063cd7b7155709f5ff67b85aa8a0e20b (patch)
tree36fed2bc49c70e87180562f6e8ad53848da51962 /drivers/pinctrl
parentpinctrl: imx8dxl: Constify imx_pinctrl_soc_info (diff)
downloadlinux-dev-6ceb3c64063cd7b7155709f5ff67b85aa8a0e20b.tar.xz
linux-dev-6ceb3c64063cd7b7155709f5ff67b85aa8a0e20b.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 Link: https://lore.kernel.org/r/20210721030134.10562-7-jiaxun.yang@flygoat.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/Kconfig5
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