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