| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
| 3 | config PINCTRL_STARFIVE_JH7100 |
| 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 | default SOC_STARFIVE |
| 13 | help |
| 14 | Say yes here to support pin control on the StarFive JH7100 SoC. |
| 15 | This also provides an interface to the GPIO pins not used by other |
| 16 | peripherals supporting inputs, outputs, configuring pull-up/pull-down |
| 17 | and interrupts on input changes. |
| 18 | |
| 19 | config PINCTRL_STARFIVE_JH7110 |
| 20 | bool |
| 21 | select GENERIC_PINCTRL_GROUPS |
| 22 | select GENERIC_PINMUX_FUNCTIONS |
| 23 | select GENERIC_PINCONF |
| 24 | select GPIOLIB |
| 25 | select GPIOLIB_IRQCHIP |
| 26 | |
| 27 | config PINCTRL_STARFIVE_JH7110_SYS |
| 28 | tristate "System pinctrl and GPIO driver for the StarFive JH7110 SoC" |
| 29 | depends on SOC_STARFIVE || COMPILE_TEST |
| 30 | depends on OF |
| 31 | select PINCTRL_STARFIVE_JH7110 |
| 32 | default SOC_STARFIVE |
| 33 | help |
| 34 | Say yes here to support system pin control on the StarFive JH7110 SoC. |
| 35 | This also provides an interface to the GPIO pins not used by other |
| 36 | peripherals supporting inputs, outputs, configuring pull-up/pull-down |
| 37 | and interrupts on input changes. |
| 38 | |
| 39 | config PINCTRL_STARFIVE_JH7110_AON |
| 40 | tristate "Always-on pinctrl and GPIO driver for the StarFive JH7110 SoC" |
| 41 | depends on SOC_STARFIVE || COMPILE_TEST |
| 42 | depends on OF |
| 43 | select PINCTRL_STARFIVE_JH7110 |
| 44 | default SOC_STARFIVE |
| 45 | help |
| 46 | Say yes here to support always-on pin control on the StarFive JH7110 SoC. |
| 47 | This also provides an interface to the GPIO pins not used by other |
| 48 | peripherals supporting inputs, outputs, configuring pull-up/pull-down |
| 49 | and interrupts on input changes. |