Merge tag 'block-5.9-2020-08-14' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / pinctrl / sh-pfc / Kconfig
blob7fdc7ed8bd2e02c454ee1fed2624f6197bcd7bbd
1 # SPDX-License-Identifier: GPL-2.0
3 # Renesas SH and SH Mobile PINCTRL drivers
6 config PINCTRL_SH_PFC
7         bool "Renesas SoC pin control support" if COMPILE_TEST && !(ARCH_RENESAS || SUPERH)
8         default y if ARCH_RENESAS || SUPERH
9         select PINMUX
10         select PINCONF
11         select GENERIC_PINCONF
12         select PINCTRL_PFC_EMEV2 if ARCH_EMEV2
13         select PINCTRL_PFC_R8A73A4 if ARCH_R8A73A4
14         select PINCTRL_PFC_R8A7740 if ARCH_R8A7740
15         select PINCTRL_PFC_R8A7742 if ARCH_R8A7742
16         select PINCTRL_PFC_R8A7743 if ARCH_R8A7743
17         select PINCTRL_PFC_R8A7744 if ARCH_R8A7744
18         select PINCTRL_PFC_R8A7745 if ARCH_R8A7745
19         select PINCTRL_PFC_R8A77470 if ARCH_R8A77470
20         select PINCTRL_PFC_R8A774A1 if ARCH_R8A774A1
21         select PINCTRL_PFC_R8A774B1 if ARCH_R8A774B1
22         select PINCTRL_PFC_R8A774C0 if ARCH_R8A774C0
23         select PINCTRL_PFC_R8A774E1 if ARCH_R8A774E1
24         select PINCTRL_PFC_R8A7778 if ARCH_R8A7778
25         select PINCTRL_PFC_R8A7779 if ARCH_R8A7779
26         select PINCTRL_PFC_R8A7790 if ARCH_R8A7790
27         select PINCTRL_PFC_R8A7791 if ARCH_R8A7791
28         select PINCTRL_PFC_R8A7792 if ARCH_R8A7792
29         select PINCTRL_PFC_R8A7793 if ARCH_R8A7793
30         select PINCTRL_PFC_R8A7794 if ARCH_R8A7794
31         select PINCTRL_PFC_R8A77950 if ARCH_R8A77950
32         select PINCTRL_PFC_R8A77951 if ARCH_R8A77951
33         select PINCTRL_PFC_R8A77960 if ARCH_R8A77960
34         select PINCTRL_PFC_R8A77961 if ARCH_R8A77961
35         select PINCTRL_PFC_R8A77965 if ARCH_R8A77965
36         select PINCTRL_PFC_R8A77970 if ARCH_R8A77970
37         select PINCTRL_PFC_R8A77980 if ARCH_R8A77980
38         select PINCTRL_PFC_R8A77990 if ARCH_R8A77990
39         select PINCTRL_PFC_R8A77995 if ARCH_R8A77995
40         select PINCTRL_PFC_SH7203 if CPU_SUBTYPE_SH7203
41         select PINCTRL_PFC_SH7264 if CPU_SUBTYPE_SH7264
42         select PINCTRL_PFC_SH7269 if CPU_SUBTYPE_SH7269
43         select PINCTRL_PFC_SH73A0 if ARCH_SH73A0
44         select PINCTRL_PFC_SH7720 if CPU_SUBTYPE_SH7720
45         select PINCTRL_PFC_SH7722 if CPU_SUBTYPE_SH7722
46         select PINCTRL_PFC_SH7723 if CPU_SUBTYPE_SH7723
47         select PINCTRL_PFC_SH7724 if CPU_SUBTYPE_SH7724
48         select PINCTRL_PFC_SH7734 if CPU_SUBTYPE_SH7734
49         select PINCTRL_PFC_SH7757 if CPU_SUBTYPE_SH7757
50         select PINCTRL_PFC_SH7785 if CPU_SUBTYPE_SH7785
51         select PINCTRL_PFC_SH7786 if CPU_SUBTYPE_SH7786
52         select PINCTRL_PFC_SHX3 if CPU_SUBTYPE_SHX3
53         help
54           This enables pin control drivers for Renesas SuperH and ARM platforms
56 config PINCTRL_SH_PFC_GPIO
57         select GPIOLIB
58         bool
59         help
60           This enables pin control and GPIO drivers for SH/SH Mobile platforms
62 config PINCTRL_SH_FUNC_GPIO
63         select PINCTRL_SH_PFC_GPIO
64         bool
65         help
66           This enables legacy function GPIOs for SH platforms
68 config PINCTRL_PFC_EMEV2
69         bool "Emma Mobile AV2 pin control support" if COMPILE_TEST
71 config PINCTRL_PFC_R8A73A4
72         bool "R-Mobile APE6 pin control support" if COMPILE_TEST
73         select PINCTRL_SH_PFC_GPIO
75 config PINCTRL_PFC_R8A7740
76         bool "R-Mobile A1 pin control support" if COMPILE_TEST
77         select PINCTRL_SH_PFC_GPIO
79 config PINCTRL_PFC_R8A7742
80         bool "RZ/G1H pin control support" if COMPILE_TEST
82 config PINCTRL_PFC_R8A7743
83         bool "RZ/G1M pin control support" if COMPILE_TEST
85 config PINCTRL_PFC_R8A7744
86         bool "RZ/G1N pin control support" if COMPILE_TEST
88 config PINCTRL_PFC_R8A7745
89         bool "RZ/G1E pin control support" if COMPILE_TEST
91 config PINCTRL_PFC_R8A77470
92         bool "RZ/G1C pin control support" if COMPILE_TEST
94 config PINCTRL_PFC_R8A774A1
95         bool "RZ/G2M pin control support" if COMPILE_TEST
97 config PINCTRL_PFC_R8A774B1
98         bool "RZ/G2N pin control support" if COMPILE_TEST
100 config PINCTRL_PFC_R8A774C0
101         bool "RZ/G2E pin control support" if COMPILE_TEST
103 config PINCTRL_PFC_R8A774E1
104         bool "RZ/G2H pin control support" if COMPILE_TEST
106 config PINCTRL_PFC_R8A7778
107         bool "R-Car M1A pin control support" if COMPILE_TEST
109 config PINCTRL_PFC_R8A7779
110         bool "R-Car H1 pin control support" if COMPILE_TEST
112 config PINCTRL_PFC_R8A7790
113         bool "R-Car H2 pin control support" if COMPILE_TEST
115 config PINCTRL_PFC_R8A7791
116         bool "R-Car M2-W pin control support" if COMPILE_TEST
118 config PINCTRL_PFC_R8A7792
119         bool "R-Car V2H pin control support" if COMPILE_TEST
121 config PINCTRL_PFC_R8A7793
122         bool "R-Car M2-N pin control support" if COMPILE_TEST
124 config PINCTRL_PFC_R8A7794
125         bool "R-Car E2 pin control support" if COMPILE_TEST
127 config PINCTRL_PFC_R8A77950
128         bool "R-Car H3 ES1.x pin control support" if COMPILE_TEST
130 config PINCTRL_PFC_R8A77951
131         bool "R-Car H3 ES2.0+ pin control support" if COMPILE_TEST
133 config PINCTRL_PFC_R8A77960
134         bool "R-Car M3-W pin control support" if COMPILE_TEST
136 config PINCTRL_PFC_R8A77961
137         bool "R-Car M3-W+ pin control support" if COMPILE_TEST
139 config PINCTRL_PFC_R8A77965
140         bool "R-Car M3-N pin control support" if COMPILE_TEST
142 config PINCTRL_PFC_R8A77970
143         bool "R-Car V3M pin control support" if COMPILE_TEST
145 config PINCTRL_PFC_R8A77980
146         bool "R-Car V3H pin control support" if COMPILE_TEST
148 config PINCTRL_PFC_R8A77990
149         bool "R-Car E3 pin control support" if COMPILE_TEST
151 config PINCTRL_PFC_R8A77995
152         bool "R-Car D3 pin control support" if COMPILE_TEST
154 config PINCTRL_PFC_SH7203
155         bool "SH7203 pin control support" if COMPILE_TEST
156         select PINCTRL_SH_FUNC_GPIO
158 config PINCTRL_PFC_SH7264
159         bool "SH7264 pin control support" if COMPILE_TEST
160         select PINCTRL_SH_FUNC_GPIO
162 config PINCTRL_PFC_SH7269
163         bool "SH7269 pin control support" if COMPILE_TEST
164         select PINCTRL_SH_FUNC_GPIO
166 config PINCTRL_PFC_SH73A0
167         bool "SH-Mobile AG5 pin control support" if COMPILE_TEST
168         select PINCTRL_SH_PFC_GPIO
169         select REGULATOR
171 config PINCTRL_PFC_SH7720
172         bool "SH7720 pin control support" if COMPILE_TEST
173         select PINCTRL_SH_FUNC_GPIO
175 config PINCTRL_PFC_SH7722
176         bool "SH7722 pin control support" if COMPILE_TEST
177         select PINCTRL_SH_FUNC_GPIO
179 config PINCTRL_PFC_SH7723
180         bool "SH-Mobile R2 pin control support" if COMPILE_TEST
181         select PINCTRL_SH_FUNC_GPIO
183 config PINCTRL_PFC_SH7724
184         bool "SH-Mobile R2R pin control support" if COMPILE_TEST
185         select PINCTRL_SH_FUNC_GPIO
187 config PINCTRL_PFC_SH7734
188         bool "SH7734 pin control support" if COMPILE_TEST
189         select PINCTRL_SH_FUNC_GPIO
191 config PINCTRL_PFC_SH7757
192         bool "SH7757 pin control support" if COMPILE_TEST
193         select PINCTRL_SH_FUNC_GPIO
195 config PINCTRL_PFC_SH7785
196         bool "SH7785 pin control support" if COMPILE_TEST
197         select PINCTRL_SH_FUNC_GPIO
199 config PINCTRL_PFC_SH7786
200         bool "SH7786 pin control support" if COMPILE_TEST
201         select PINCTRL_SH_FUNC_GPIO
203 config PINCTRL_PFC_SHX3
204         bool "SH-X3 pin control support" if COMPILE_TEST
205         select PINCTRL_SH_FUNC_GPIO