Commit acf4884a authored by Tomer Maimon's avatar Tomer Maimon Committed by Linus Walleij
Browse files

pinctrl: nuvoton: add NPCM8XX pinctrl and GPIO driver



Add pinctrl and GPIO controller driver support to Arbel BMC NPCM8XX SoC.

Arbel BMC NPCM8XX pinctrl driver based on Poleg NPCM7XX, except the
pin mux mapping difference the NPCM8XX GPIO supports adjust debounce
period time.

Signed-off-by: default avatarTomer Maimon <tmaimon77@gmail.com>
Link: https://lore.kernel.org/r/20230828140849.21724-3-tmaimon77@gmail.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 38b99959
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -32,3 +32,17 @@ config PINCTRL_NPCM7XX
	help
	  Say Y here to enable pin controller and GPIO support
	  for Nuvoton NPCM750/730/715/705 SoCs.

config PINCTRL_NPCM8XX
	tristate "Pinctrl and GPIO driver for Nuvoton NPCM8XX"
	depends on ARCH_NPCM || COMPILE_TEST
	select PINMUX
	select PINCONF
	select GENERIC_PINCONF
	select GPIOLIB
	select GPIO_GENERIC
	select GPIOLIB_IRQCHIP
	help
	  Say Y or M here to enable pin controller and GPIO support for
	  the Nuvoton NPCM8XX SoC. This is strongly recommended when
	  building a kernel that will run on this chip.
+1 −0
Original line number Diff line number Diff line
@@ -3,3 +3,4 @@

obj-$(CONFIG_PINCTRL_WPCM450)	+= pinctrl-wpcm450.o
obj-$(CONFIG_PINCTRL_NPCM7XX)	+= pinctrl-npcm7xx.o
obj-$(CONFIG_PINCTRL_NPCM8XX)	+= pinctrl-npcm8xx.o
+2491 −0

File added.

Preview size limit exceeded, changes collapsed.