1# SPDX-License-Identifier: GPL-2.0-only 2 3config PINCTRL_STARFIVE 4 tristate "Pinctrl and GPIO driver for the StarFive JH7100 SoC" 5 depends on SOC_STARFIVE || COMPILE_TEST 6 depends on OF 7 select GENERIC_PINCTRL_GROUPS 8 select GENERIC_PINMUX_FUNCTIONS 9 select GENERIC_PINCONF 10 select GPIOLIB 11 select GPIOLIB_IRQCHIP 12 select OF_GPIO 13 default SOC_STARFIVE 14 help 15 Say yes here to support pin control on the StarFive JH7100 SoC. 16 This also provides an interface to the GPIO pins not used by other 17 peripherals supporting inputs, outputs, configuring pull-up/pull-down 18 and interrupts on input changes. 19