162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciconfig PINCTRL_WPCM450
462306a36Sopenharmony_ci	tristate "Pinctrl and GPIO driver for Nuvoton WPCM450"
562306a36Sopenharmony_ci	depends on ARCH_WPCM450 || COMPILE_TEST
662306a36Sopenharmony_ci	depends on OF
762306a36Sopenharmony_ci	select PINMUX
862306a36Sopenharmony_ci	select PINCONF
962306a36Sopenharmony_ci	select GENERIC_PINCONF
1062306a36Sopenharmony_ci	select GENERIC_PINCTRL_GROUPS
1162306a36Sopenharmony_ci	select GPIOLIB
1262306a36Sopenharmony_ci	select GPIO_GENERIC
1362306a36Sopenharmony_ci	select GPIOLIB_IRQCHIP
1462306a36Sopenharmony_ci	select MFD_SYSCON
1562306a36Sopenharmony_ci	help
1662306a36Sopenharmony_ci	  Say Y or M here to enable pin controller and GPIO support for
1762306a36Sopenharmony_ci	  the Nuvoton WPCM450 SoC. This is strongly recommended when
1862306a36Sopenharmony_ci	  building a kernel that will run on this chip.
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ci	  If this driver is compiled as a module, it will be named
2162306a36Sopenharmony_ci	  pinctrl-wpcm450.
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ciconfig PINCTRL_NPCM7XX
2462306a36Sopenharmony_ci	bool "Pinctrl and GPIO driver for Nuvoton NPCM7XX"
2562306a36Sopenharmony_ci	depends on (ARCH_NPCM7XX || COMPILE_TEST) && OF
2662306a36Sopenharmony_ci	select PINMUX
2762306a36Sopenharmony_ci	select PINCONF
2862306a36Sopenharmony_ci	select GENERIC_PINCONF
2962306a36Sopenharmony_ci	select GPIOLIB
3062306a36Sopenharmony_ci	select GPIO_GENERIC
3162306a36Sopenharmony_ci	select GPIOLIB_IRQCHIP
3262306a36Sopenharmony_ci	help
3362306a36Sopenharmony_ci	  Say Y here to enable pin controller and GPIO support
3462306a36Sopenharmony_ci	  for Nuvoton NPCM750/730/715/705 SoCs.
35