18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ciif ARCH_SUNXI 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ciconfig PINCTRL_SUNXI 58c2ecf20Sopenharmony_ci bool 68c2ecf20Sopenharmony_ci select PINMUX 78c2ecf20Sopenharmony_ci select GENERIC_PINCONF 88c2ecf20Sopenharmony_ci select GPIOLIB 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciconfig PINCTRL_SUNIV_F1C100S 118c2ecf20Sopenharmony_ci def_bool MACH_SUNIV 128c2ecf20Sopenharmony_ci select PINCTRL_SUNXI 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciconfig PINCTRL_SUN4I_A10 158c2ecf20Sopenharmony_ci bool "Support for the Allwinner A10, A20 and R40 PIO" 168c2ecf20Sopenharmony_ci default MACH_SUN4I || MACH_SUN7I || MACH_SUN8I 178c2ecf20Sopenharmony_ci select PINCTRL_SUNXI 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ciconfig PINCTRL_SUN5I 208c2ecf20Sopenharmony_ci bool "Support for the Allwinner A10s, A13, R8 and NextThing GR8 PIO" 218c2ecf20Sopenharmony_ci default MACH_SUN5I 228c2ecf20Sopenharmony_ci select PINCTRL_SUNXI 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ciconfig PINCTRL_SUN6I_A31 258c2ecf20Sopenharmony_ci bool "Support for the Allwinner A31 PIO" 268c2ecf20Sopenharmony_ci default MACH_SUN6I 278c2ecf20Sopenharmony_ci select PINCTRL_SUNXI 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ciconfig PINCTRL_SUN6I_A31_R 308c2ecf20Sopenharmony_ci bool "Support for the Allwinner A31 R-PIO" 318c2ecf20Sopenharmony_ci default MACH_SUN6I 328c2ecf20Sopenharmony_ci depends on RESET_CONTROLLER 338c2ecf20Sopenharmony_ci select PINCTRL_SUNXI 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ciconfig PINCTRL_SUN8I_A23 368c2ecf20Sopenharmony_ci bool "Support for the Allwinner A23 PIO" 378c2ecf20Sopenharmony_ci default MACH_SUN8I 388c2ecf20Sopenharmony_ci select PINCTRL_SUNXI 398c2ecf20Sopenharmony_ci 408c2ecf20Sopenharmony_ciconfig PINCTRL_SUN8I_A33 418c2ecf20Sopenharmony_ci bool "Support for the Allwinner A33 PIO" 428c2ecf20Sopenharmony_ci default MACH_SUN8I 438c2ecf20Sopenharmony_ci select PINCTRL_SUNXI 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ciconfig PINCTRL_SUN8I_A83T 468c2ecf20Sopenharmony_ci bool "Support for the Allwinner A83T PIO" 478c2ecf20Sopenharmony_ci default MACH_SUN8I 488c2ecf20Sopenharmony_ci select PINCTRL_SUNXI 498c2ecf20Sopenharmony_ci 508c2ecf20Sopenharmony_ciconfig PINCTRL_SUN8I_A83T_R 518c2ecf20Sopenharmony_ci bool "Support for the Allwinner A83T R-PIO" 528c2ecf20Sopenharmony_ci default MACH_SUN8I 538c2ecf20Sopenharmony_ci select PINCTRL_SUNXI 548c2ecf20Sopenharmony_ci 558c2ecf20Sopenharmony_ciconfig PINCTRL_SUN8I_A23_R 568c2ecf20Sopenharmony_ci bool "Support for the Allwinner A23 and A33 R-PIO" 578c2ecf20Sopenharmony_ci default MACH_SUN8I 588c2ecf20Sopenharmony_ci depends on RESET_CONTROLLER 598c2ecf20Sopenharmony_ci select PINCTRL_SUNXI 608c2ecf20Sopenharmony_ci 618c2ecf20Sopenharmony_ciconfig PINCTRL_SUN8I_H3 628c2ecf20Sopenharmony_ci bool "Support for the Allwinner H3 PIO" 638c2ecf20Sopenharmony_ci default MACH_SUN8I 648c2ecf20Sopenharmony_ci select PINCTRL_SUNXI 658c2ecf20Sopenharmony_ci 668c2ecf20Sopenharmony_ciconfig PINCTRL_SUN8I_H3_R 678c2ecf20Sopenharmony_ci bool "Support for the Allwinner H3 and H5 R-PIO" 688c2ecf20Sopenharmony_ci default MACH_SUN8I || (ARM64 && ARCH_SUNXI) 698c2ecf20Sopenharmony_ci select PINCTRL_SUNXI 708c2ecf20Sopenharmony_ci 718c2ecf20Sopenharmony_ciconfig PINCTRL_SUN8I_V3S 728c2ecf20Sopenharmony_ci bool "Support for the Allwinner V3s PIO" 738c2ecf20Sopenharmony_ci default MACH_SUN8I 748c2ecf20Sopenharmony_ci select PINCTRL_SUNXI 758c2ecf20Sopenharmony_ci 768c2ecf20Sopenharmony_ciconfig PINCTRL_SUN9I_A80 778c2ecf20Sopenharmony_ci bool "Support for the Allwinner A80 PIO" 788c2ecf20Sopenharmony_ci default MACH_SUN9I 798c2ecf20Sopenharmony_ci select PINCTRL_SUNXI 808c2ecf20Sopenharmony_ci 818c2ecf20Sopenharmony_ciconfig PINCTRL_SUN9I_A80_R 828c2ecf20Sopenharmony_ci bool "Support for the Allwinner A80 R-PIO" 838c2ecf20Sopenharmony_ci default MACH_SUN9I 848c2ecf20Sopenharmony_ci depends on RESET_CONTROLLER 858c2ecf20Sopenharmony_ci select PINCTRL_SUNXI 868c2ecf20Sopenharmony_ci 878c2ecf20Sopenharmony_ciconfig PINCTRL_SUN50I_A64 888c2ecf20Sopenharmony_ci bool "Support for the Allwinner A64 PIO" 898c2ecf20Sopenharmony_ci default ARM64 && ARCH_SUNXI 908c2ecf20Sopenharmony_ci select PINCTRL_SUNXI 918c2ecf20Sopenharmony_ci 928c2ecf20Sopenharmony_ciconfig PINCTRL_SUN50I_A64_R 938c2ecf20Sopenharmony_ci bool "Support for the Allwinner A64 R-PIO" 948c2ecf20Sopenharmony_ci default ARM64 && ARCH_SUNXI 958c2ecf20Sopenharmony_ci select PINCTRL_SUNXI 968c2ecf20Sopenharmony_ci 978c2ecf20Sopenharmony_ciconfig PINCTRL_SUN50I_A100 988c2ecf20Sopenharmony_ci bool "Support for the Allwinner A100 PIO" 998c2ecf20Sopenharmony_ci default ARM64 && ARCH_SUNXI 1008c2ecf20Sopenharmony_ci select PINCTRL_SUNXI 1018c2ecf20Sopenharmony_ci 1028c2ecf20Sopenharmony_ciconfig PINCTRL_SUN50I_A100_R 1038c2ecf20Sopenharmony_ci bool "Support for the Allwinner A100 R-PIO" 1048c2ecf20Sopenharmony_ci default ARM64 && ARCH_SUNXI 1058c2ecf20Sopenharmony_ci select PINCTRL_SUNXI 1068c2ecf20Sopenharmony_ci 1078c2ecf20Sopenharmony_ciconfig PINCTRL_SUN50I_H5 1088c2ecf20Sopenharmony_ci bool "Support for the Allwinner H5 PIO" 1098c2ecf20Sopenharmony_ci default ARM64 && ARCH_SUNXI 1108c2ecf20Sopenharmony_ci select PINCTRL_SUNXI 1118c2ecf20Sopenharmony_ci 1128c2ecf20Sopenharmony_ciconfig PINCTRL_SUN50I_H6 1138c2ecf20Sopenharmony_ci bool "Support for the Allwinner H6 PIO" 1148c2ecf20Sopenharmony_ci default ARM64 && ARCH_SUNXI 1158c2ecf20Sopenharmony_ci select PINCTRL_SUNXI 1168c2ecf20Sopenharmony_ci 1178c2ecf20Sopenharmony_ciconfig PINCTRL_SUN50I_H6_R 1188c2ecf20Sopenharmony_ci bool "Support for the Allwinner H6 R-PIO" 1198c2ecf20Sopenharmony_ci default ARM64 && ARCH_SUNXI 1208c2ecf20Sopenharmony_ci select PINCTRL_SUNXI 1218c2ecf20Sopenharmony_ci 1228c2ecf20Sopenharmony_ciendif 123