162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_ciif ARCH_SUNXI 362306a36Sopenharmony_ci 462306a36Sopenharmony_ciconfig PINCTRL_SUNXI 562306a36Sopenharmony_ci bool 662306a36Sopenharmony_ci select PINMUX 762306a36Sopenharmony_ci select GENERIC_PINCONF 862306a36Sopenharmony_ci select GPIOLIB 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ciconfig PINCTRL_SUNIV_F1C100S 1162306a36Sopenharmony_ci def_bool MACH_SUNIV 1262306a36Sopenharmony_ci select PINCTRL_SUNXI 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ciconfig PINCTRL_SUN4I_A10 1562306a36Sopenharmony_ci bool "Support for the Allwinner A10, A20 and R40 PIO" 1662306a36Sopenharmony_ci default MACH_SUN4I || MACH_SUN7I || MACH_SUN8I 1762306a36Sopenharmony_ci select PINCTRL_SUNXI 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ciconfig PINCTRL_SUN5I 2062306a36Sopenharmony_ci bool "Support for the Allwinner A10s, A13, R8 and NextThing GR8 PIO" 2162306a36Sopenharmony_ci default MACH_SUN5I 2262306a36Sopenharmony_ci select PINCTRL_SUNXI 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ciconfig PINCTRL_SUN6I_A31 2562306a36Sopenharmony_ci bool "Support for the Allwinner A31 PIO" 2662306a36Sopenharmony_ci default MACH_SUN6I 2762306a36Sopenharmony_ci select PINCTRL_SUNXI 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ciconfig PINCTRL_SUN6I_A31_R 3062306a36Sopenharmony_ci bool "Support for the Allwinner A31 R-PIO" 3162306a36Sopenharmony_ci default MACH_SUN6I 3262306a36Sopenharmony_ci select PINCTRL_SUNXI 3362306a36Sopenharmony_ci 3462306a36Sopenharmony_ciconfig PINCTRL_SUN8I_A23 3562306a36Sopenharmony_ci bool "Support for the Allwinner A23 PIO" 3662306a36Sopenharmony_ci default MACH_SUN8I 3762306a36Sopenharmony_ci select PINCTRL_SUNXI 3862306a36Sopenharmony_ci 3962306a36Sopenharmony_ciconfig PINCTRL_SUN8I_A33 4062306a36Sopenharmony_ci bool "Support for the Allwinner A33 PIO" 4162306a36Sopenharmony_ci default MACH_SUN8I 4262306a36Sopenharmony_ci select PINCTRL_SUNXI 4362306a36Sopenharmony_ci 4462306a36Sopenharmony_ciconfig PINCTRL_SUN8I_A83T 4562306a36Sopenharmony_ci bool "Support for the Allwinner A83T PIO" 4662306a36Sopenharmony_ci default MACH_SUN8I 4762306a36Sopenharmony_ci select PINCTRL_SUNXI 4862306a36Sopenharmony_ci 4962306a36Sopenharmony_ciconfig PINCTRL_SUN8I_A83T_R 5062306a36Sopenharmony_ci bool "Support for the Allwinner A83T R-PIO" 5162306a36Sopenharmony_ci default MACH_SUN8I 5262306a36Sopenharmony_ci select PINCTRL_SUNXI 5362306a36Sopenharmony_ci 5462306a36Sopenharmony_ciconfig PINCTRL_SUN8I_A23_R 5562306a36Sopenharmony_ci bool "Support for the Allwinner A23 and A33 R-PIO" 5662306a36Sopenharmony_ci default MACH_SUN8I 5762306a36Sopenharmony_ci select PINCTRL_SUNXI 5862306a36Sopenharmony_ci 5962306a36Sopenharmony_ciconfig PINCTRL_SUN8I_H3 6062306a36Sopenharmony_ci bool "Support for the Allwinner H3 PIO" 6162306a36Sopenharmony_ci default MACH_SUN8I 6262306a36Sopenharmony_ci select PINCTRL_SUNXI 6362306a36Sopenharmony_ci 6462306a36Sopenharmony_ciconfig PINCTRL_SUN8I_H3_R 6562306a36Sopenharmony_ci bool "Support for the Allwinner H3 and H5 R-PIO" 6662306a36Sopenharmony_ci default MACH_SUN8I || (ARM64 && ARCH_SUNXI) 6762306a36Sopenharmony_ci select PINCTRL_SUNXI 6862306a36Sopenharmony_ci 6962306a36Sopenharmony_ciconfig PINCTRL_SUN8I_V3S 7062306a36Sopenharmony_ci bool "Support for the Allwinner V3s PIO" 7162306a36Sopenharmony_ci default MACH_SUN8I 7262306a36Sopenharmony_ci select PINCTRL_SUNXI 7362306a36Sopenharmony_ci 7462306a36Sopenharmony_ciconfig PINCTRL_SUN9I_A80 7562306a36Sopenharmony_ci bool "Support for the Allwinner A80 PIO" 7662306a36Sopenharmony_ci default MACH_SUN9I 7762306a36Sopenharmony_ci select PINCTRL_SUNXI 7862306a36Sopenharmony_ci 7962306a36Sopenharmony_ciconfig PINCTRL_SUN9I_A80_R 8062306a36Sopenharmony_ci bool "Support for the Allwinner A80 R-PIO" 8162306a36Sopenharmony_ci default MACH_SUN9I 8262306a36Sopenharmony_ci select PINCTRL_SUNXI 8362306a36Sopenharmony_ci 8462306a36Sopenharmony_ciconfig PINCTRL_SUN20I_D1 8562306a36Sopenharmony_ci bool "Support for the Allwinner D1 PIO" 8662306a36Sopenharmony_ci default MACH_SUN8I || (RISCV && ARCH_SUNXI) 8762306a36Sopenharmony_ci select PINCTRL_SUNXI 8862306a36Sopenharmony_ci 8962306a36Sopenharmony_ciconfig PINCTRL_SUN50I_A64 9062306a36Sopenharmony_ci bool "Support for the Allwinner A64 PIO" 9162306a36Sopenharmony_ci default ARM64 && ARCH_SUNXI 9262306a36Sopenharmony_ci select PINCTRL_SUNXI 9362306a36Sopenharmony_ci 9462306a36Sopenharmony_ciconfig PINCTRL_SUN50I_A64_R 9562306a36Sopenharmony_ci bool "Support for the Allwinner A64 R-PIO" 9662306a36Sopenharmony_ci default ARM64 && ARCH_SUNXI 9762306a36Sopenharmony_ci select PINCTRL_SUNXI 9862306a36Sopenharmony_ci 9962306a36Sopenharmony_ciconfig PINCTRL_SUN50I_A100 10062306a36Sopenharmony_ci bool "Support for the Allwinner A100 PIO" 10162306a36Sopenharmony_ci default ARM64 && ARCH_SUNXI 10262306a36Sopenharmony_ci select PINCTRL_SUNXI 10362306a36Sopenharmony_ci 10462306a36Sopenharmony_ciconfig PINCTRL_SUN50I_A100_R 10562306a36Sopenharmony_ci bool "Support for the Allwinner A100 R-PIO" 10662306a36Sopenharmony_ci default ARM64 && ARCH_SUNXI 10762306a36Sopenharmony_ci select PINCTRL_SUNXI 10862306a36Sopenharmony_ci 10962306a36Sopenharmony_ciconfig PINCTRL_SUN50I_H5 11062306a36Sopenharmony_ci bool "Support for the Allwinner H5 PIO" 11162306a36Sopenharmony_ci default ARM64 && ARCH_SUNXI 11262306a36Sopenharmony_ci select PINCTRL_SUNXI 11362306a36Sopenharmony_ci 11462306a36Sopenharmony_ciconfig PINCTRL_SUN50I_H6 11562306a36Sopenharmony_ci bool "Support for the Allwinner H6 PIO" 11662306a36Sopenharmony_ci default ARM64 && ARCH_SUNXI 11762306a36Sopenharmony_ci select PINCTRL_SUNXI 11862306a36Sopenharmony_ci 11962306a36Sopenharmony_ciconfig PINCTRL_SUN50I_H6_R 12062306a36Sopenharmony_ci bool "Support for the Allwinner H6 R-PIO" 12162306a36Sopenharmony_ci default ARM64 && ARCH_SUNXI 12262306a36Sopenharmony_ci select PINCTRL_SUNXI 12362306a36Sopenharmony_ci 12462306a36Sopenharmony_ciconfig PINCTRL_SUN50I_H616 12562306a36Sopenharmony_ci bool "Support for the Allwinner H616 PIO" 12662306a36Sopenharmony_ci default ARM64 && ARCH_SUNXI 12762306a36Sopenharmony_ci select PINCTRL_SUNXI 12862306a36Sopenharmony_ci 12962306a36Sopenharmony_ciconfig PINCTRL_SUN50I_H616_R 13062306a36Sopenharmony_ci bool "Support for the Allwinner H616 R-PIO" 13162306a36Sopenharmony_ci default ARM64 && ARCH_SUNXI 13262306a36Sopenharmony_ci select PINCTRL_SUNXI 13362306a36Sopenharmony_ci 13462306a36Sopenharmony_ciendif 135