xref: /openbmc/linux/drivers/pinctrl/nuvoton/Kconfig (revision 44e445ed)
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
6*44e445edSZheng Bin	depends on OF
7a1d1e0e3SJonathan Neuschäfer	select PINMUX
8a1d1e0e3SJonathan Neuschäfer	select PINCONF
9a1d1e0e3SJonathan Neuschäfer	select GENERIC_PINCONF
100bb85088SJonathan Neuschäfer	select GENERIC_PINCTRL_GROUPS
11a1d1e0e3SJonathan Neuschäfer	select GPIOLIB
12a1d1e0e3SJonathan Neuschäfer	select GPIO_GENERIC
13a1d1e0e3SJonathan Neuschäfer	select GPIOLIB_IRQCHIP
14a1d1e0e3SJonathan Neuschäfer	help
15a1d1e0e3SJonathan Neuschäfer	  Say Y or M here to enable pin controller and GPIO support for
16a1d1e0e3SJonathan Neuschäfer	  the Nuvoton WPCM450 SoC. This is strongly recommended when
17a1d1e0e3SJonathan Neuschäfer	  building a kernel that will run on this chip.
18a1d1e0e3SJonathan Neuschäfer
19a1d1e0e3SJonathan Neuschäfer	  If this driver is compiled as a module, it will be named
20a1d1e0e3SJonathan Neuschäfer	  pinctrl-wpcm450.
21a1d1e0e3SJonathan Neuschäfer
223b588e43STomer Maimonconfig PINCTRL_NPCM7XX
233b588e43STomer Maimon	bool "Pinctrl and GPIO driver for Nuvoton NPCM7XX"
243b588e43STomer Maimon	depends on (ARCH_NPCM7XX || COMPILE_TEST) && OF
253b588e43STomer Maimon	select PINMUX
263b588e43STomer Maimon	select PINCONF
273b588e43STomer Maimon	select GENERIC_PINCONF
283b588e43STomer Maimon	select GPIOLIB
293b588e43STomer Maimon	select GPIO_GENERIC
303b588e43STomer Maimon	select GPIOLIB_IRQCHIP
313b588e43STomer Maimon	help
323b588e43STomer Maimon	  Say Y here to enable pin controller and GPIO support
333b588e43STomer Maimon	  for Nuvoton NPCM750/730/715/705 SoCs.
34