xref: /openbmc/linux/drivers/pinctrl/nuvoton/Kconfig (revision a1d1e0e3)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2*a1d1e0e3SJonathan Neuschäfer
3*a1d1e0e3SJonathan Neuschäferconfig PINCTRL_WPCM450
4*a1d1e0e3SJonathan Neuschäfer	tristate "Pinctrl and GPIO driver for Nuvoton WPCM450"
5*a1d1e0e3SJonathan Neuschäfer	depends on ARCH_WPCM450 || COMPILE_TEST
6*a1d1e0e3SJonathan Neuschäfer	select PINMUX
7*a1d1e0e3SJonathan Neuschäfer	select PINCONF
8*a1d1e0e3SJonathan Neuschäfer	select GENERIC_PINCONF
9*a1d1e0e3SJonathan Neuschäfer	select GPIOLIB
10*a1d1e0e3SJonathan Neuschäfer	select GPIO_GENERIC
11*a1d1e0e3SJonathan Neuschäfer	select GPIOLIB_IRQCHIP
12*a1d1e0e3SJonathan Neuschäfer	help
13*a1d1e0e3SJonathan Neuschäfer	  Say Y or M here to enable pin controller and GPIO support for
14*a1d1e0e3SJonathan Neuschäfer	  the Nuvoton WPCM450 SoC. This is strongly recommended when
15*a1d1e0e3SJonathan Neuschäfer	  building a kernel that will run on this chip.
16*a1d1e0e3SJonathan Neuschäfer
17*a1d1e0e3SJonathan Neuschäfer	  If this driver is compiled as a module, it will be named
18*a1d1e0e3SJonathan Neuschäfer	  pinctrl-wpcm450.
19*a1d1e0e3SJonathan Neuschäfer
203b588e43STomer Maimonconfig PINCTRL_NPCM7XX
213b588e43STomer Maimon	bool "Pinctrl and GPIO driver for Nuvoton NPCM7XX"
223b588e43STomer Maimon	depends on (ARCH_NPCM7XX || COMPILE_TEST) && OF
233b588e43STomer Maimon	select PINMUX
243b588e43STomer Maimon	select PINCONF
253b588e43STomer Maimon	select GENERIC_PINCONF
263b588e43STomer Maimon	select GPIOLIB
273b588e43STomer Maimon	select GPIO_GENERIC
283b588e43STomer Maimon	select GPIOLIB_IRQCHIP
293b588e43STomer Maimon	help
303b588e43STomer Maimon	  Say Y here to enable pin controller and GPIO support
313b588e43STomer Maimon	  for Nuvoton NPCM750/730/715/705 SoCs.
32