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