aboutsummaryrefslogtreecommitdiff
path: root/drivers/pinctrl/sunplus/Kconfig
diff options
context:
space:
mode:
authorWells Lu <wellslutw@gmail.com>2022-01-16 22:52:14 +0800
committerLinus Walleij <linus.walleij@linaro.org>2022-01-30 02:55:41 +0100
commitaa74c44be19c8b1de38d955c2c45c309991c805a (patch)
tree88f342141b1c6c3a462c8dd4f14a79134b39bb07 /drivers/pinctrl/sunplus/Kconfig
parent340407d214e4566c8a5d6997b7ca5ec21c7077a8 (diff)
pinctrl: Add driver for Sunplus SP7021
Add driver for Sunplus SP7021 SoC. Signed-off-by: Wells Lu <wellslutw@gmail.com> Link: https://lore.kernel.org/r/1642344734-27229-3-git-send-email-wellslutw@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sunplus/Kconfig')
-rw-r--r--drivers/pinctrl/sunplus/Kconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/pinctrl/sunplus/Kconfig b/drivers/pinctrl/sunplus/Kconfig
new file mode 100644
index 000000000000..4b5c47c193d9
--- /dev/null
+++ b/drivers/pinctrl/sunplus/Kconfig
@@ -0,0 +1,22 @@
+# 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.