Message ID | 20210627045631.2882-7-jiaxun.yang@flygoat.com |
---|---|
State | Superseded |
Headers | show |
Series | MIPS: Migrate pistachio to generic kernel | expand |
On Sun, Jun 27, 2021 at 6:57 AM Jiaxun Yang <jiaxun.yang@flygoat.com> wrote: > So it will be avilable for generic MIPS kernel. > > Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Is this solved, or should I apply this patch? Yours, Linus Walleij
在 2021/7/24 上午12:13, Linus Walleij 写道: > On Sun, Jun 27, 2021 at 6:57 AM Jiaxun Yang <jiaxun.yang@flygoat.com> wrote: > >> So it will be avilable for generic MIPS kernel. >> >> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> > Is this solved, or should I apply this patch? I guess so, btw I think it should go via MIPS tree to avoid troubles. Thanks. - Jiaxun > > Yours, > Linus Walleij
On Sun, Jul 25, 2021 at 4:49 AM Jiaxun Yang <jiaxun.yang@flygoat.com> wrote: > 在 2021/7/24 上午12:13, Linus Walleij 写道: > > On Sun, Jun 27, 2021 at 6:57 AM Jiaxun Yang <jiaxun.yang@flygoat.com> wrote: > > > >> So it will be avilable for generic MIPS kernel. > >> > >> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> > > Is this solved, or should I apply this patch? > > I guess so, btw I think it should go via MIPS tree to avoid troubles. OK feel free to merge this in the MIPS tree then: Acked-by: Linus Walleij <linus.walleij@linaro.org> Yours, Linus Walleij
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index c2c7e7963ed0..a189f1b3da5c 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 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
So it will be avilable for generic MIPS kernel. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> --- drivers/pinctrl/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)