1 # SPDX-License-Identifier: GPL-2.0-only 2 if ARCH_SUNXI 3 4 config PINCTRL_SUNXI 5 bool 6 select PINMUX 7 select GENERIC_PINCONF 8 select GPIOLIB 9 10 config PINCTRL_SUNIV_F1C100S 11 def_bool MACH_SUNIV 12 select PINCTRL_SUNXI 13 14 config PINCTRL_SUN4I_A10 15 bool "Support for the Allwinner A10, A20 and R40 PIO" 16 default MACH_SUN4I || MACH_SUN7I || MACH_SUN8I 17 select PINCTRL_SUNXI 18 19 config PINCTRL_SUN5I 20 bool "Support for the Allwinner A10s, A13, R8 and NextThing GR8 PIO" 21 default MACH_SUN5I 22 select PINCTRL_SUNXI 23 24 config PINCTRL_SUN6I_A31 25 bool "Support for the Allwinner A31 PIO" 26 default MACH_SUN6I 27 select PINCTRL_SUNXI 28 29 config PINCTRL_SUN6I_A31_R 30 bool "Support for the Allwinner A31 R-PIO" 31 default MACH_SUN6I 32 select PINCTRL_SUNXI 33 34 config PINCTRL_SUN8I_A23 35 bool "Support for the Allwinner A23 PIO" 36 default MACH_SUN8I 37 select PINCTRL_SUNXI 38 39 config PINCTRL_SUN8I_A33 40 bool "Support for the Allwinner A33 PIO" 41 default MACH_SUN8I 42 select PINCTRL_SUNXI 43 44 config PINCTRL_SUN8I_A83T 45 bool "Support for the Allwinner A83T PIO" 46 default MACH_SUN8I 47 select PINCTRL_SUNXI 48 49 config PINCTRL_SUN8I_A83T_R 50 bool "Support for the Allwinner A83T R-PIO" 51 default MACH_SUN8I 52 select PINCTRL_SUNXI 53 54 config PINCTRL_SUN8I_A23_R 55 bool "Support for the Allwinner A23 and A33 R-PIO" 56 default MACH_SUN8I 57 select PINCTRL_SUNXI 58 59 config PINCTRL_SUN8I_H3 60 bool "Support for the Allwinner H3 PIO" 61 default MACH_SUN8I 62 select PINCTRL_SUNXI 63 64 config PINCTRL_SUN8I_H3_R 65 bool "Support for the Allwinner H3 and H5 R-PIO" 66 default MACH_SUN8I || (ARM64 && ARCH_SUNXI) 67 select PINCTRL_SUNXI 68 69 config PINCTRL_SUN8I_V3S 70 bool "Support for the Allwinner V3s PIO" 71 default MACH_SUN8I 72 select PINCTRL_SUNXI 73 74 config PINCTRL_SUN9I_A80 75 bool "Support for the Allwinner A80 PIO" 76 default MACH_SUN9I 77 select PINCTRL_SUNXI 78 79 config PINCTRL_SUN9I_A80_R 80 bool "Support for the Allwinner A80 R-PIO" 81 default MACH_SUN9I 82 select PINCTRL_SUNXI 83 84 config PINCTRL_SUN20I_D1 85 bool "Support for the Allwinner D1 PIO" 86 default MACH_SUN8I || (RISCV && ARCH_SUNXI) 87 select PINCTRL_SUNXI 88 89 config PINCTRL_SUN50I_A64 90 bool "Support for the Allwinner A64 PIO" 91 default ARM64 && ARCH_SUNXI 92 select PINCTRL_SUNXI 93 94 config PINCTRL_SUN50I_A64_R 95 bool "Support for the Allwinner A64 R-PIO" 96 default ARM64 && ARCH_SUNXI 97 select PINCTRL_SUNXI 98 99 config PINCTRL_SUN50I_A100 100 bool "Support for the Allwinner A100 PIO" 101 default ARM64 && ARCH_SUNXI 102 select PINCTRL_SUNXI 103 104 config PINCTRL_SUN50I_A100_R 105 bool "Support for the Allwinner A100 R-PIO" 106 default ARM64 && ARCH_SUNXI 107 select PINCTRL_SUNXI 108 109 config PINCTRL_SUN50I_H5 110 bool "Support for the Allwinner H5 PIO" 111 default ARM64 && ARCH_SUNXI 112 select PINCTRL_SUNXI 113 114 config PINCTRL_SUN50I_H6 115 bool "Support for the Allwinner H6 PIO" 116 default ARM64 && ARCH_SUNXI 117 select PINCTRL_SUNXI 118 119 config PINCTRL_SUN50I_H6_R 120 bool "Support for the Allwinner H6 R-PIO" 121 default ARM64 && ARCH_SUNXI 122 select PINCTRL_SUNXI 123 124 config PINCTRL_SUN50I_H616 125 bool "Support for the Allwinner H616 PIO" 126 default ARM64 && ARCH_SUNXI 127 select PINCTRL_SUNXI 128 129 config PINCTRL_SUN50I_H616_R 130 bool "Support for the Allwinner H616 R-PIO" 131 default ARM64 && ARCH_SUNXI 132 select PINCTRL_SUNXI 133 134 endif 135