# SPDX-License-Identifier: GPL-2.0
#
# Sunplus Pin control driver configuration
#
config PINCTRL_SPPCTL
tristate "Sunplus SP7021 PinMux and GPIO driver"
depends on SOC_SP7021
depends on OF && HAS_IOMEM
select GENERIC_PINCTRL_GROUPS
select GENERIC_PINMUX_FUNCTIONS
select GENERIC_PINCONF
select PINCONF
select PINMUX
select GPIOLIB
select OF_GPIO
help
Say Y here to support Sunplus SP7021 pinmux controller.
This driver requires the pinctrl framework.
GPIO is provided by the same driver.
To compile this driver as a module, choose M here.
The module will be called sppinctrl.