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