1# SPDX-License-Identifier: GPL-2.0-only
2
3config PINCTRL_WPCM450
4	tristate "Pinctrl and GPIO driver for Nuvoton WPCM450"
5	depends on ARCH_WPCM450 || COMPILE_TEST
6	depends on OF
7	select PINMUX
8	select PINCONF
9	select GENERIC_PINCONF
10	select GENERIC_PINCTRL_GROUPS
11	select GPIOLIB
12	select GPIO_GENERIC
13	select GPIOLIB_IRQCHIP
14	select MFD_SYSCON
15	help
16	  Say Y or M here to enable pin controller and GPIO support for
17	  the Nuvoton WPCM450 SoC. This is strongly recommended when
18	  building a kernel that will run on this chip.
19
20	  If this driver is compiled as a module, it will be named
21	  pinctrl-wpcm450.
22
23config PINCTRL_NPCM7XX
24	bool "Pinctrl and GPIO driver for Nuvoton NPCM7XX"
25	depends on (ARCH_NPCM7XX || COMPILE_TEST) && OF
26	select PINMUX
27	select PINCONF
28	select GENERIC_PINCONF
29	select GPIOLIB
30	select GPIO_GENERIC
31	select GPIOLIB_IRQCHIP
32	help
33	  Say Y here to enable pin controller and GPIO support
34	  for Nuvoton NPCM750/730/715/705 SoCs.
35