162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciconfig PINCTRL_STARFIVE_JH7100 462306a36Sopenharmony_ci tristate "Pinctrl and GPIO driver for the StarFive JH7100 SoC" 562306a36Sopenharmony_ci depends on SOC_STARFIVE || COMPILE_TEST 662306a36Sopenharmony_ci depends on OF 762306a36Sopenharmony_ci select GENERIC_PINCTRL_GROUPS 862306a36Sopenharmony_ci select GENERIC_PINMUX_FUNCTIONS 962306a36Sopenharmony_ci select GENERIC_PINCONF 1062306a36Sopenharmony_ci select GPIOLIB 1162306a36Sopenharmony_ci select GPIOLIB_IRQCHIP 1262306a36Sopenharmony_ci select OF_GPIO 1362306a36Sopenharmony_ci default SOC_STARFIVE 1462306a36Sopenharmony_ci help 1562306a36Sopenharmony_ci Say yes here to support pin control on the StarFive JH7100 SoC. 1662306a36Sopenharmony_ci This also provides an interface to the GPIO pins not used by other 1762306a36Sopenharmony_ci peripherals supporting inputs, outputs, configuring pull-up/pull-down 1862306a36Sopenharmony_ci and interrupts on input changes. 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ciconfig PINCTRL_STARFIVE_JH7110 2162306a36Sopenharmony_ci bool 2262306a36Sopenharmony_ci select GENERIC_PINCTRL_GROUPS 2362306a36Sopenharmony_ci select GENERIC_PINMUX_FUNCTIONS 2462306a36Sopenharmony_ci select GENERIC_PINCONF 2562306a36Sopenharmony_ci select GPIOLIB 2662306a36Sopenharmony_ci select GPIOLIB_IRQCHIP 2762306a36Sopenharmony_ci select OF_GPIO 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ciconfig PINCTRL_STARFIVE_JH7110_SYS 3062306a36Sopenharmony_ci tristate "System pinctrl and GPIO driver for the StarFive JH7110 SoC" 3162306a36Sopenharmony_ci depends on SOC_STARFIVE || COMPILE_TEST 3262306a36Sopenharmony_ci depends on OF 3362306a36Sopenharmony_ci select PINCTRL_STARFIVE_JH7110 3462306a36Sopenharmony_ci default SOC_STARFIVE 3562306a36Sopenharmony_ci help 3662306a36Sopenharmony_ci Say yes here to support system pin control on the StarFive JH7110 SoC. 3762306a36Sopenharmony_ci This also provides an interface to the GPIO pins not used by other 3862306a36Sopenharmony_ci peripherals supporting inputs, outputs, configuring pull-up/pull-down 3962306a36Sopenharmony_ci and interrupts on input changes. 4062306a36Sopenharmony_ci 4162306a36Sopenharmony_ciconfig PINCTRL_STARFIVE_JH7110_AON 4262306a36Sopenharmony_ci tristate "Always-on pinctrl and GPIO driver for the StarFive JH7110 SoC" 4362306a36Sopenharmony_ci depends on SOC_STARFIVE || COMPILE_TEST 4462306a36Sopenharmony_ci depends on OF 4562306a36Sopenharmony_ci select PINCTRL_STARFIVE_JH7110 4662306a36Sopenharmony_ci default SOC_STARFIVE 4762306a36Sopenharmony_ci help 4862306a36Sopenharmony_ci Say yes here to support always-on pin control on the StarFive JH7110 SoC. 4962306a36Sopenharmony_ci This also provides an interface to the GPIO pins not used by other 5062306a36Sopenharmony_ci peripherals supporting inputs, outputs, configuring pull-up/pull-down 5162306a36Sopenharmony_ci and interrupts on input changes. 52