Merge tag 'riscv-for-linus-4.15-rc2_cleanups' of git://git.kernel.org/pub/scm/linux...
[linux/fpc-iii.git] / drivers / pinctrl / sunxi / Kconfig
blobbfce99d86dfc21ca787208edb8f39d7429f359b3
1 if ARCH_SUNXI
3 config PINCTRL_SUNXI
4         bool
5         select PINMUX
6         select GENERIC_PINCONF
7         select GPIOLIB
9 config PINCTRL_SUN4I_A10
10         def_bool MACH_SUN4I || MACH_SUN7I || MACH_SUN8I
11         select PINCTRL_SUNXI
13 config PINCTRL_SUN5I
14         def_bool MACH_SUN5I
15         select PINCTRL_SUNXI
17 config PINCTRL_SUN6I_A31
18         def_bool MACH_SUN6I
19         select PINCTRL_SUNXI
21 config PINCTRL_SUN6I_A31_R
22         def_bool MACH_SUN6I
23         depends on RESET_CONTROLLER
24         select PINCTRL_SUNXI
26 config PINCTRL_SUN8I_A23
27         def_bool MACH_SUN8I
28         select PINCTRL_SUNXI
30 config PINCTRL_SUN8I_A33
31         def_bool MACH_SUN8I
32         select PINCTRL_SUNXI
34 config PINCTRL_SUN8I_A83T
35         def_bool MACH_SUN8I
36         select PINCTRL_SUNXI
38 config PINCTRL_SUN8I_A83T_R
39         def_bool MACH_SUN8I
40         select PINCTRL_SUNXI
42 config PINCTRL_SUN8I_A23_R
43         def_bool MACH_SUN8I
44         depends on RESET_CONTROLLER
45         select PINCTRL_SUNXI
47 config PINCTRL_SUN8I_H3
48         def_bool MACH_SUN8I
49         select PINCTRL_SUNXI
51 config PINCTRL_SUN8I_H3_R
52         def_bool MACH_SUN8I || (ARM64 && ARCH_SUNXI)
53         select PINCTRL_SUNXI
55 config PINCTRL_SUN8I_V3S
56         def_bool MACH_SUN8I
57         select PINCTRL_SUNXI
59 config PINCTRL_SUN9I_A80
60         def_bool MACH_SUN9I
61         select PINCTRL_SUNXI
63 config PINCTRL_SUN9I_A80_R
64         def_bool MACH_SUN9I
65         depends on RESET_CONTROLLER
66         select PINCTRL_SUNXI
68 config PINCTRL_SUN50I_A64
69         def_bool ARM64 && ARCH_SUNXI
70         select PINCTRL_SUNXI
72 config PINCTRL_SUN50I_A64_R
73         def_bool ARM64 && ARCH_SUNXI
74         select PINCTRL_SUNXI
76 config PINCTRL_SUN50I_H5
77         def_bool ARM64 && ARCH_SUNXI
78         select PINCTRL_SUNXI
80 endif