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