1# SPDX-License-Identifier: GPL-2.0-only 2 3config 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 19config 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 27config 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 39config 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. 50 51config PINCTRL_STARFIVE_JHB100 52 bool 53 depends on OF 54 select GENERIC_PINCTRL 55 select GPIOLIB 56 select GPIOLIB_IRQCHIP 57 select OF_GPIO 58 59config PINCTRL_STARFIVE_JHB100_PER0 60 tristate "StarFive JHB100 SoC Peripheral-0 pinctrl and GPIO driver" 61 depends on ARCH_STARFIVE || COMPILE_TEST 62 select PINCTRL_STARFIVE_JHB100 63 default ARCH_STARFIVE 64 help 65 Say yes here to support Peripheral-0 pin control on the StarFive JHB100 SoC. 66 This also provides an interface to the GPIO pins not used by other 67 peripherals supporting inputs, outputs, configuring pull-up/pull-down 68 and interrupts on input changes. 69 70config PINCTRL_STARFIVE_JHB100_PER1 71 tristate "StarFive JHB100 SoC Peripheral-1 pinctrl and GPIO driver" 72 depends on ARCH_STARFIVE || COMPILE_TEST 73 select PINCTRL_STARFIVE_JHB100 74 default ARCH_STARFIVE 75 help 76 Say yes here to support Peripheral-1 pin control on the StarFive JHB100 SoC. 77 This also provides an interface to the GPIO pins not used by other 78 peripherals supporting inputs, outputs, configuring pull-up/pull-down 79 and interrupts on input changes. 80 81config PINCTRL_STARFIVE_JHB100_PER2 82 tristate "StarFive JHB100 SoC Peripheral-2 pinctrl and GPIO driver" 83 depends on ARCH_STARFIVE || COMPILE_TEST 84 select PINCTRL_STARFIVE_JHB100 85 default ARCH_STARFIVE 86 help 87 Say yes here to support Peripheral-2 pin control on the StarFive JHB100 SoC. 88 This also provides an interface to the GPIO pins not used by other 89 peripherals supporting inputs, outputs, configuring pull-up/pull-down 90 and interrupts on input changes. 91 92config PINCTRL_STARFIVE_JHB100_PER2POK 93 tristate "StarFive JHB100 SoC Peripheral-2 Power OK pinctrl and GPIO driver" 94 depends on ARCH_STARFIVE || COMPILE_TEST 95 select PINCTRL_STARFIVE_JHB100 96 default ARCH_STARFIVE 97 help 98 Say yes here to support Peripheral-2 Power OK pin control on the StarFive JHB100 SoC. 99 This also provides an interface to the GPIO pins not used by other 100 peripherals supporting inputs, outputs, configuring pull-up/pull-down 101 and interrupts on input changes. 102 103config PINCTRL_STARFIVE_JHB100_SYS0 104 tristate "StarFive JHB100 SoC System-0 pinctrl and GPIO driver" 105 depends on ARCH_STARFIVE || COMPILE_TEST 106 select PINCTRL_STARFIVE_JHB100 107 default ARCH_STARFIVE 108 help 109 Say yes here to support system-0 pin control on the StarFive JHB100 SoC. 110 This also provides an interface to the GPIO pins not used by other 111 peripherals supporting inputs, outputs, configuring pull-up/pull-down 112 and interrupts on input changes. 113 114config PINCTRL_STARFIVE_JHB100_SYS0H 115 tristate "StarFive JHB100 SoC System-0 Host pinctrl and GPIO driver" 116 depends on ARCH_STARFIVE || COMPILE_TEST 117 select PINCTRL_STARFIVE_JHB100 118 default ARCH_STARFIVE 119 help 120 Say yes here to support System-0 Host pin control on the StarFive JHB100 SoC. 121 This also provides an interface to the GPIO pins not used by other 122 peripherals supporting inputs, outputs, configuring pull-up/pull-down 123 and interrupts on input changes. 124 125config PINCTRL_STARFIVE_JHB100_SYS1 126 tristate "StarFive JHB100 SoC System-1 pinctrl and GPIO driver" 127 depends on ARCH_STARFIVE || COMPILE_TEST 128 select PINCTRL_STARFIVE_JHB100 129 default ARCH_STARFIVE 130 help 131 Say yes here to support System-1 pin control on the StarFive JHB100 SoC. 132 This also provides an interface to the GPIO pins not used by other 133 peripherals supporting inputs, outputs, configuring pull-up/pull-down 134 and interrupts on input changes. 135 136config PINCTRL_STARFIVE_JHB100_SYS2 137 tristate "StarFive JHB100 SoC System-2 pinctrl and GPIO driver" 138 depends on ARCH_STARFIVE || COMPILE_TEST 139 select PINCTRL_STARFIVE_JHB100 140 default ARCH_STARFIVE 141 help 142 Say yes here to support System-2 pin control on the StarFive JHB100 SoC. 143 This also provides an interface to the GPIO pins not used by other 144 peripherals supporting inputs, outputs, configuring pull-up/pull-down 145 and interrupts on input changes. 146