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