162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Sunplus Pin control driver configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig PINCTRL_SPPCTL
762306a36Sopenharmony_ci	tristate "Sunplus SP7021 PinMux and GPIO driver"
862306a36Sopenharmony_ci	depends on SOC_SP7021
962306a36Sopenharmony_ci	depends on OF && HAS_IOMEM
1062306a36Sopenharmony_ci	select GENERIC_PINCTRL_GROUPS
1162306a36Sopenharmony_ci	select GENERIC_PINMUX_FUNCTIONS
1262306a36Sopenharmony_ci	select GENERIC_PINCONF
1362306a36Sopenharmony_ci	select PINCONF
1462306a36Sopenharmony_ci	select PINMUX
1562306a36Sopenharmony_ci	select GPIOLIB
1662306a36Sopenharmony_ci	select OF_GPIO
1762306a36Sopenharmony_ci	help
1862306a36Sopenharmony_ci	  Say Y here to support Sunplus SP7021 pinmux controller.
1962306a36Sopenharmony_ci	  This driver requires the pinctrl framework.
2062306a36Sopenharmony_ci	  GPIO is provided by the same driver.
2162306a36Sopenharmony_ci	  To compile this driver as a module, choose M here.
2262306a36Sopenharmony_ci	  The module will be called sppinctrl.
23