1# SPDX-License-Identifier: GPL-2.0
2#
3# Sunplus Pin control driver configuration
4#
5
6config PINCTRL_SPPCTL
7	tristate "Sunplus SP7021 PinMux and GPIO driver"
8	depends on SOC_SP7021
9	depends on OF && HAS_IOMEM
10	select GENERIC_PINCTRL_GROUPS
11	select GENERIC_PINMUX_FUNCTIONS
12	select GENERIC_PINCONF
13	select PINCONF
14	select PINMUX
15	select GPIOLIB
16	select OF_GPIO
17	help
18	  Say Y here to support Sunplus SP7021 pinmux controller.
19	  This driver requires the pinctrl framework.
20	  GPIO is provided by the same driver.
21	  To compile this driver as a module, choose M here.
22	  The module will be called sppinctrl.
23