Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

pinctrl: nuvoton: add NPCM7xx pinctrl and GPIO driver



Add Nuvoton BMC NPCM750/730/715/705 Pinmux and
GPIO controller driver.

Signed-off-by: default avatarTomer Maimon <tmaimon77@gmail.com>
[Add back select GPIO_GENERIC]
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent d0e4e8f0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -346,6 +346,7 @@ source "drivers/pinctrl/freescale/Kconfig"
source "drivers/pinctrl/intel/Kconfig"
source "drivers/pinctrl/mvebu/Kconfig"
source "drivers/pinctrl/nomadik/Kconfig"
source "drivers/pinctrl/nuvoton/Kconfig"
source "drivers/pinctrl/pxa/Kconfig"
source "drivers/pinctrl/qcom/Kconfig"
source "drivers/pinctrl/samsung/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -51,6 +51,7 @@ obj-y += freescale/
obj-$(CONFIG_X86)		+= intel/
obj-y				+= mvebu/
obj-y				+= nomadik/
obj-$(CONFIG_ARCH_NPCM7XX)	+= nuvoton/
obj-$(CONFIG_PINCTRL_PXA)	+= pxa/
obj-$(CONFIG_ARCH_QCOM)		+= qcom/
obj-$(CONFIG_PINCTRL_SAMSUNG)	+= samsung/
+12 −0
Original line number Diff line number Diff line
config PINCTRL_NPCM7XX
	bool "Pinctrl and GPIO driver for Nuvoton NPCM7XX"
	depends on (ARCH_NPCM7XX || COMPILE_TEST) && OF
	select PINMUX
	select PINCONF
	select GENERIC_PINCONF
	select GPIOLIB
	select GPIO_GENERIC
	select GPIOLIB_IRQCHIP
	help
	  Say Y here to enable pin controller and GPIO support
	  for Nuvoton NPCM750/730/715/705 SoCs.
+4 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
# Nuvoton pinctrl support

obj-$(CONFIG_PINCTRL_NPCM7XX)	+= pinctrl-npcm7xx.o
+2072 −0

File added.

Preview size limit exceeded, changes collapsed.