# SPDX-License-Identifier: GPL-2.0-only
if [31mCONFIG_ARCH_SUNXI[0m
config [31mCONFIG_PINCTRL_SUNXI[0m
bool
select [31mCONFIG_PINMUX[0m
select [31mCONFIG_GENERIC_PINCONF[0m
select [31mCONFIG_GPIOLIB[0m
config [31mCONFIG_PINCTRL_SUNIV_F1C100S[0m
def_bool [31mCONFIG_MACH_SUNIV[0m
select [31mCONFIG_PINCTRL_SUNXI[0m
config [31mCONFIG_PINCTRL_SUN4I_A10[0m
bool "Support for the Allwinner A10, A20 and R40 PIO"
default [31mCONFIG_MACH_SUN4I[0m || [31mCONFIG_MACH_SUN7I[0m || [31mCONFIG_MACH_SUN8I[0m
select [31mCONFIG_PINCTRL_SUNXI[0m
config [31mCONFIG_PINCTRL_SUN5I[0m
bool "Support for the Allwinner A10s, A13, R8 and NextThing GR8 PIO"
default [31mCONFIG_MACH_SUN5I[0m
select [31mCONFIG_PINCTRL_SUNXI[0m
config [31mCONFIG_PINCTRL_SUN6I_A31[0m
bool "Support for the Allwinner A31 PIO"
default [31mCONFIG_MACH_SUN6I[0m
select [31mCONFIG_PINCTRL_SUNXI[0m
config [31mCONFIG_PINCTRL_SUN6I_A31_R[0m
bool "Support for the Allwinner A31 R-PIO"
default [31mCONFIG_MACH_SUN6I[0m
depends on [31mCONFIG_RESET_CONTROLLER[0m
select [31mCONFIG_PINCTRL_SUNXI[0m
config [31mCONFIG_PINCTRL_SUN8I_A23[0m
bool "Support for the Allwinner A23 PIO"
default [31mCONFIG_MACH_SUN8I[0m
select [31mCONFIG_PINCTRL_SUNXI[0m
config [31mCONFIG_PINCTRL_SUN8I_A33[0m
bool "Support for the Allwinner A33 PIO"
default [31mCONFIG_MACH_SUN8I[0m
select [31mCONFIG_PINCTRL_SUNXI[0m
config [31mCONFIG_PINCTRL_SUN8I_A83T[0m
bool "Support for the Allwinner A83T PIO"
default [31mCONFIG_MACH_SUN8I[0m
select [31mCONFIG_PINCTRL_SUNXI[0m
config [31mCONFIG_PINCTRL_SUN8I_A83T_R[0m
bool "Support for the Allwinner A83T R-PIO"
default [31mCONFIG_MACH_SUN8I[0m
select [31mCONFIG_PINCTRL_SUNXI[0m
config [31mCONFIG_PINCTRL_SUN8I_A23_R[0m
bool "Support for the Allwinner A23 and A33 R-PIO"
default [31mCONFIG_MACH_SUN8I[0m
depends on [31mCONFIG_RESET_CONTROLLER[0m
select [31mCONFIG_PINCTRL_SUNXI[0m
config [31mCONFIG_PINCTRL_SUN8I_H3[0m
bool "Support for the Allwinner H3 PIO"
default [31mCONFIG_MACH_SUN8I[0m
select [31mCONFIG_PINCTRL_SUNXI[0m
config [31mCONFIG_PINCTRL_SUN8I_H3_R[0m
bool "Support for the Allwinner H3 and H5 R-PIO"
default [31mCONFIG_MACH_SUN8I[0m || ([31mCONFIG_ARM64[0m && [31mCONFIG_ARCH_SUNXI[0m)
select [31mCONFIG_PINCTRL_SUNXI[0m
config [31mCONFIG_PINCTRL_SUN8I_V3S[0m
bool "Support for the Allwinner V3s PIO"
default [31mCONFIG_MACH_SUN8I[0m
select [31mCONFIG_PINCTRL_SUNXI[0m
config [31mCONFIG_PINCTRL_SUN9I_A80[0m
bool "Support for the Allwinner A80 PIO"
default [31mCONFIG_MACH_SUN9I[0m
select [31mCONFIG_PINCTRL_SUNXI[0m
config [31mCONFIG_PINCTRL_SUN9I_A80_R[0m
bool "Support for the Allwinner A80 R-PIO"
default [31mCONFIG_MACH_SUN9I[0m
depends on [31mCONFIG_RESET_CONTROLLER[0m
select [31mCONFIG_PINCTRL_SUNXI[0m
config [31mCONFIG_PINCTRL_SUN50I_A64[0m
bool "Support for the Allwinner A64 PIO"
default [31mCONFIG_ARM64[0m && [31mCONFIG_ARCH_SUNXI[0m
select [31mCONFIG_PINCTRL_SUNXI[0m
config [31mCONFIG_PINCTRL_SUN50I_A64_R[0m
bool "Support for the Allwinner A64 R-PIO"
default [31mCONFIG_ARM64[0m && [31mCONFIG_ARCH_SUNXI[0m
select [31mCONFIG_PINCTRL_SUNXI[0m
config [31mCONFIG_PINCTRL_SUN50I_H5[0m
bool "Support for the Allwinner H5 PIO"
default [31mCONFIG_ARM64[0m && [31mCONFIG_ARCH_SUNXI[0m
select [31mCONFIG_PINCTRL_SUNXI[0m
config [31mCONFIG_PINCTRL_SUN50I_H6[0m
bool "Support for the Allwinner H6 PIO"
default [31mCONFIG_ARM64[0m && [31mCONFIG_ARCH_SUNXI[0m
select [31mCONFIG_PINCTRL_SUNXI[0m
config [31mCONFIG_PINCTRL_SUN50I_H6_R[0m
bool "Support for the Allwinner H6 R-PIO"
default [31mCONFIG_ARM64[0m && [31mCONFIG_ARCH_SUNXI[0m
select [31mCONFIG_PINCTRL_SUNXI[0m
endif