| 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | # |
| 3 | # Sunplus Pin control driver configuration |
| 4 | # |
| 5 | |
| 6 | config 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 | help |
| 17 | Say Y here to support Sunplus SP7021 pinmux controller. |
| 18 | This driver requires the pinctrl framework. |
| 19 | GPIO is provided by the same driver. |
| 20 | To compile this driver as a module, choose M here. |
| 21 | The module will be called sppinctrl. |