Skip to content

Commit

Permalink
pinctrl: pistachio: Make it as an option
Browse files Browse the repository at this point in the history
So it will be avilable for generic MIPS kernel.

--

Signed-off-by: Jiaxun Yang <[email protected]>
v3: Depend on OF as well
Acked-by: Linus Walleij <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
  • Loading branch information
FlyGoat authored and tsbogend committed Aug 12, 2021
1 parent e238f10 commit f149730
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/pinctrl/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f149730

Please sign in to comment.