Samuel Holland | b799eab | 2021-08-12 20:09:43 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | |
| 3 | if ARCH_SUNXI |
| 4 | |
| 5 | config PINCTRL_SUNXI |
| 6 | select PINCTRL_FULL |
| 7 | select PINCTRL_GENERIC |
Samuel Holland | 29babfd | 2021-08-16 23:56:47 -0500 | [diff] [blame^] | 8 | select PINMUX |
Samuel Holland | b799eab | 2021-08-12 20:09:43 -0500 | [diff] [blame] | 9 | bool |
| 10 | |
| 11 | config PINCTRL_SUNIV_F1C100S |
| 12 | bool "Support for the Allwinner F1C100s PIO" |
| 13 | default MACH_SUNIV |
| 14 | select PINCTRL_SUNXI |
| 15 | |
| 16 | config PINCTRL_SUN4I_A10 |
| 17 | bool "Support for the Allwinner A10 PIO" |
| 18 | default MACH_SUN4I |
| 19 | select PINCTRL_SUNXI |
| 20 | |
| 21 | config PINCTRL_SUN5I_A13 |
| 22 | bool "Support for the Allwinner A10s/A13 PIO" |
| 23 | default MACH_SUN5I |
| 24 | select PINCTRL_SUNXI |
| 25 | |
| 26 | config PINCTRL_SUN6I_A31 |
| 27 | bool "Support for the Allwinner A31 PIO" |
| 28 | default MACH_SUN6I |
| 29 | select PINCTRL_SUNXI |
| 30 | |
| 31 | config PINCTRL_SUN6I_A31_R |
| 32 | bool "Support for the Allwinner A31 R-PIO" |
| 33 | default MACH_SUN6I |
| 34 | select PINCTRL_SUNXI |
| 35 | |
| 36 | config PINCTRL_SUN7I_A20 |
| 37 | bool "Support for the Allwinner A20/R40 PIO" |
| 38 | default MACH_SUN7I || MACH_SUN8I_R40 |
| 39 | select PINCTRL_SUNXI |
| 40 | |
| 41 | config PINCTRL_SUN8I_A23 |
| 42 | bool "Support for the Allwinner A23 PIO" |
| 43 | default MACH_SUN8I_A23 |
| 44 | select PINCTRL_SUNXI |
| 45 | |
| 46 | config PINCTRL_SUN8I_A23_R |
| 47 | bool "Support for the Allwinner A23/A33 R-PIO" |
| 48 | default MACH_SUN8I_A23 || MACH_SUN8I_A33 |
| 49 | select PINCTRL_SUNXI |
| 50 | |
| 51 | config PINCTRL_SUN8I_A33 |
| 52 | bool "Support for the Allwinner A33 PIO" |
| 53 | default MACH_SUN8I_A33 |
| 54 | select PINCTRL_SUNXI |
| 55 | |
| 56 | config PINCTRL_SUN8I_A83T |
| 57 | bool "Support for the Allwinner A83T PIO" |
| 58 | default MACH_SUN8I_A83T |
| 59 | select PINCTRL_SUNXI |
| 60 | |
| 61 | config PINCTRL_SUN8I_A83T_R |
| 62 | bool "Support for the Allwinner A83T R-PIO" |
| 63 | default MACH_SUN8I_A83T |
| 64 | select PINCTRL_SUNXI |
| 65 | |
| 66 | config PINCTRL_SUN8I_H3 |
| 67 | bool "Support for the Allwinner H3 PIO" |
| 68 | default MACH_SUN8I_H3 |
| 69 | select PINCTRL_SUNXI |
| 70 | |
| 71 | config PINCTRL_SUN8I_H3_R |
| 72 | bool "Support for the Allwinner H3/H5 R-PIO" |
| 73 | default MACH_SUN8I_H3 || MACH_SUN50I_H5 |
| 74 | select PINCTRL_SUNXI |
| 75 | |
| 76 | config PINCTRL_SUN8I_V3S |
| 77 | bool "Support for the Allwinner V3s PIO" |
| 78 | default MACH_SUN8I_V3S |
| 79 | select PINCTRL_SUNXI |
| 80 | |
| 81 | config PINCTRL_SUN9I_A80 |
| 82 | bool "Support for the Allwinner A80 PIO" |
| 83 | default MACH_SUN9I |
| 84 | select PINCTRL_SUNXI |
| 85 | |
| 86 | config PINCTRL_SUN9I_A80_R |
| 87 | bool "Support for the Allwinner A80 R-PIO" |
| 88 | default MACH_SUN9I |
| 89 | select PINCTRL_SUNXI |
| 90 | |
| 91 | config PINCTRL_SUN50I_A64 |
| 92 | bool "Support for the Allwinner A64 PIO" |
| 93 | default MACH_SUN50I |
| 94 | select PINCTRL_SUNXI |
| 95 | |
| 96 | config PINCTRL_SUN50I_A64_R |
| 97 | bool "Support for the Allwinner A64 R-PIO" |
| 98 | default MACH_SUN50I |
| 99 | select PINCTRL_SUNXI |
| 100 | |
| 101 | config PINCTRL_SUN50I_H5 |
| 102 | bool "Support for the Allwinner H5 PIO" |
| 103 | default MACH_SUN50I_H5 |
| 104 | select PINCTRL_SUNXI |
| 105 | |
| 106 | config PINCTRL_SUN50I_H6 |
| 107 | bool "Support for the Allwinner H6 PIO" |
| 108 | default MACH_SUN50I_H6 |
| 109 | select PINCTRL_SUNXI |
| 110 | |
| 111 | config PINCTRL_SUN50I_H6_R |
| 112 | bool "Support for the Allwinner H6 R-PIO" |
| 113 | default MACH_SUN50I_H6 |
| 114 | select PINCTRL_SUNXI |
| 115 | |
| 116 | config PINCTRL_SUN50I_H616 |
| 117 | bool "Support for the Allwinner H616 PIO" |
| 118 | default MACH_SUN50I_H616 |
| 119 | select PINCTRL_SUNXI |
| 120 | |
| 121 | config PINCTRL_SUN50I_H616_R |
| 122 | bool "Support for the Allwinner H616 R-PIO" |
| 123 | default MACH_SUN50I_H616 |
| 124 | select PINCTRL_SUNXI |
| 125 | |
| 126 | endif |