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