rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | if ARCH_SUNXI |
| 2 | |
| 3 | config PINCTRL_SUNXI |
| 4 | bool |
| 5 | select PINMUX |
| 6 | select GENERIC_PINCONF |
| 7 | select GPIOLIB |
| 8 | |
| 9 | config PINCTRL_SUN4I_A10 |
| 10 | def_bool MACH_SUN4I || MACH_SUN7I || MACH_SUN8I |
| 11 | select PINCTRL_SUNXI |
| 12 | |
| 13 | config PINCTRL_SUN5I |
| 14 | def_bool MACH_SUN5I |
| 15 | select PINCTRL_SUNXI |
| 16 | |
| 17 | config PINCTRL_SUN6I_A31 |
| 18 | def_bool MACH_SUN6I |
| 19 | select PINCTRL_SUNXI |
| 20 | |
| 21 | config PINCTRL_SUN6I_A31_R |
| 22 | def_bool MACH_SUN6I |
| 23 | depends on RESET_CONTROLLER |
| 24 | select PINCTRL_SUNXI |
| 25 | |
| 26 | config PINCTRL_SUN8I_A23 |
| 27 | def_bool MACH_SUN8I |
| 28 | select PINCTRL_SUNXI |
| 29 | |
| 30 | config PINCTRL_SUN8I_A33 |
| 31 | def_bool MACH_SUN8I |
| 32 | select PINCTRL_SUNXI |
| 33 | |
| 34 | config PINCTRL_SUN8I_A83T |
| 35 | def_bool MACH_SUN8I |
| 36 | select PINCTRL_SUNXI |
| 37 | |
| 38 | config PINCTRL_SUN8I_A83T_R |
| 39 | def_bool MACH_SUN8I |
| 40 | select PINCTRL_SUNXI |
| 41 | |
| 42 | config PINCTRL_SUN8I_A23_R |
| 43 | def_bool MACH_SUN8I |
| 44 | depends on RESET_CONTROLLER |
| 45 | select PINCTRL_SUNXI |
| 46 | |
| 47 | config PINCTRL_SUN8I_H3 |
| 48 | def_bool MACH_SUN8I |
| 49 | select PINCTRL_SUNXI |
| 50 | |
| 51 | config PINCTRL_SUN8I_H3_R |
| 52 | def_bool MACH_SUN8I || (ARM64 && ARCH_SUNXI) |
| 53 | select PINCTRL_SUNXI |
| 54 | |
| 55 | config PINCTRL_SUN8I_V3S |
| 56 | def_bool MACH_SUN8I |
| 57 | select PINCTRL_SUNXI |
| 58 | |
| 59 | config PINCTRL_SUN9I_A80 |
| 60 | def_bool MACH_SUN9I |
| 61 | select PINCTRL_SUNXI |
| 62 | |
| 63 | config PINCTRL_SUN9I_A80_R |
| 64 | def_bool MACH_SUN9I |
| 65 | depends on RESET_CONTROLLER |
| 66 | select PINCTRL_SUNXI |
| 67 | |
| 68 | config PINCTRL_SUN50I_A64 |
| 69 | def_bool ARM64 && ARCH_SUNXI |
| 70 | select PINCTRL_SUNXI |
| 71 | |
| 72 | config PINCTRL_SUN50I_A64_R |
| 73 | def_bool ARM64 && ARCH_SUNXI |
| 74 | select PINCTRL_SUNXI |
| 75 | |
| 76 | config PINCTRL_SUN50I_H5 |
| 77 | def_bool ARM64 && ARCH_SUNXI |
| 78 | select PINCTRL_SUNXI |
| 79 | |
| 80 | endif |