xref: /linux/drivers/pinctrl/renesas/Kconfig (revision 186f3edfdd41f2ae87fc40a9ccba52a3bf930994)
1077365a9SGeert Uytterhoeven# SPDX-License-Identifier: GPL-2.0
2077365a9SGeert Uytterhoeven#
3077365a9SGeert Uytterhoeven# Renesas SH and SH Mobile PINCTRL drivers
4077365a9SGeert Uytterhoeven#
5077365a9SGeert Uytterhoeven
6077365a9SGeert Uytterhoevenmenu "Renesas pinctrl drivers"
7077365a9SGeert Uytterhoeven
8077365a9SGeert Uytterhoevenconfig PINCTRL_RENESAS
9077365a9SGeert Uytterhoeven	bool "Renesas SoC pin control support" if COMPILE_TEST && !(ARCH_RENESAS || SUPERH)
10077365a9SGeert Uytterhoeven	default y if ARCH_RENESAS || SUPERH
11077365a9SGeert Uytterhoeven	select PINCTRL_PFC_EMEV2 if ARCH_EMEV2
12077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A73A4 if ARCH_R8A73A4
13077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A7740 if ARCH_R8A7740
14077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A7742 if ARCH_R8A7742
15077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A7743 if ARCH_R8A7743
16077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A7744 if ARCH_R8A7744
17077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A7745 if ARCH_R8A7745
18077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A77470 if ARCH_R8A77470
19077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A774A1 if ARCH_R8A774A1
20077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A774B1 if ARCH_R8A774B1
21077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A774C0 if ARCH_R8A774C0
22077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A774E1 if ARCH_R8A774E1
23077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A7778 if ARCH_R8A7778
24077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A7779 if ARCH_R8A7779
25077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A7790 if ARCH_R8A7790
26077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A7791 if ARCH_R8A7791
27077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A7792 if ARCH_R8A7792
28077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A7793 if ARCH_R8A7793
29077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A7794 if ARCH_R8A7794
30077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A77951 if ARCH_R8A77951
31077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A77960 if ARCH_R8A77960
32077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A77961 if ARCH_R8A77961
33077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A77965 if ARCH_R8A77965
34077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A77970 if ARCH_R8A77970
35077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A77980 if ARCH_R8A77980
36077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A77990 if ARCH_R8A77990
37077365a9SGeert Uytterhoeven	select PINCTRL_PFC_R8A77995 if ARCH_R8A77995
38741a7370SUlrich Hecht	select PINCTRL_PFC_R8A779A0 if ARCH_R8A779A0
39030ac6d7SGeert Uytterhoeven	select PINCTRL_PFC_R8A779F0 if ARCH_R8A779F0
40ad9bb2feSLUU HOAI	select PINCTRL_PFC_R8A779G0 if ARCH_R8A779G0
41291f7856SCong Dang	select PINCTRL_PFC_R8A779H0 if ARCH_R8A779H0
421db28b78SLad Prabhakar	select PINCTRL_RZG2L if ARCH_RZG2L
4392a9b825SPhil Edworthy	select PINCTRL_RZV2M if ARCH_R9A09G011
44829356daSBiju Das	select PINCTRL_RZG2L if ARCH_R9A09G047
455488aa01SLad Prabhakar	select PINCTRL_RZG2L if ARCH_R9A09G056
465dcde519SLad Prabhakar	select PINCTRL_RZG2L if ARCH_R9A09G057
47077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SH7203 if CPU_SUBTYPE_SH7203
48077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SH7264 if CPU_SUBTYPE_SH7264
49077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SH7269 if CPU_SUBTYPE_SH7269
50077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SH73A0 if ARCH_SH73A0
51077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SH7720 if CPU_SUBTYPE_SH7720
52077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SH7722 if CPU_SUBTYPE_SH7722
53077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SH7723 if CPU_SUBTYPE_SH7723
54077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SH7724 if CPU_SUBTYPE_SH7724
55077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SH7734 if CPU_SUBTYPE_SH7734
56077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SH7757 if CPU_SUBTYPE_SH7757
57077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SH7785 if CPU_SUBTYPE_SH7785
58077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SH7786 if CPU_SUBTYPE_SH7786
59077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SHX3 if CPU_SUBTYPE_SHX3
60077365a9SGeert Uytterhoeven	help
61077365a9SGeert Uytterhoeven	  This enables pin control drivers for Renesas SuperH and ARM platforms
62077365a9SGeert Uytterhoeven
63540d9757SGeert Uytterhoevenconfig PINCTRL_SH_PFC
64077365a9SGeert Uytterhoeven	bool
65540d9757SGeert Uytterhoeven	select GENERIC_PINCONF
66540d9757SGeert Uytterhoeven	select PINMUX
67540d9757SGeert Uytterhoeven	select PINCONF
68540d9757SGeert Uytterhoeven	help
69540d9757SGeert Uytterhoeven	  This enables common pin control functionality for EMMA Mobile, R-Car,
70540d9757SGeert Uytterhoeven	  R-Mobile, RZ/G, SH, and SH-Mobile platforms.
71540d9757SGeert Uytterhoeven
72540d9757SGeert Uytterhoevenconfig PINCTRL_SH_PFC_GPIO
73540d9757SGeert Uytterhoeven	bool
74540d9757SGeert Uytterhoeven	select GPIOLIB
75540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
76077365a9SGeert Uytterhoeven	help
77077365a9SGeert Uytterhoeven	  This enables pin control and GPIO drivers for SH/SH Mobile platforms
78077365a9SGeert Uytterhoeven
79077365a9SGeert Uytterhoevenconfig PINCTRL_SH_FUNC_GPIO
80077365a9SGeert Uytterhoeven	bool
81540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC_GPIO
82077365a9SGeert Uytterhoeven	help
83077365a9SGeert Uytterhoeven	  This enables legacy function GPIOs for SH platforms
84077365a9SGeert Uytterhoeven
85077365a9SGeert Uytterhoevenconfig PINCTRL_PFC_EMEV2
86077365a9SGeert Uytterhoeven	bool "pin control support for Emma Mobile EV2" if COMPILE_TEST
87540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
88077365a9SGeert Uytterhoeven
8993e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A73A4
908ca43e41SKuninori Morimoto	bool "pin control support for R8A73A4 (R-Mobile APE6)" if COMPILE_TEST
9193e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC_GPIO
9293e20e2bSKuninori Morimoto
9393e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A7740
948ca43e41SKuninori Morimoto	bool "pin control support for R8A7740 (R-Mobile A1)" if COMPILE_TEST
9593e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC_GPIO
9693e20e2bSKuninori Morimoto
9793e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A7742
988ca43e41SKuninori Morimoto	bool "pin control support for R8A7742 (RZ/G1H)" if COMPILE_TEST
99540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
100077365a9SGeert Uytterhoeven
10193e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A7743
1028ca43e41SKuninori Morimoto	bool "pin control support for R8A7743 (RZ/G1M)" if COMPILE_TEST
103540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
104077365a9SGeert Uytterhoeven
10593e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A7744
1068ca43e41SKuninori Morimoto	bool "pin control support for R8A7744 (RZ/G1N)" if COMPILE_TEST
10793e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC
10893e20e2bSKuninori Morimoto
10993e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A7745
1108ca43e41SKuninori Morimoto	bool "pin control support for R8A7745 (RZ/G1E)" if COMPILE_TEST
11193e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC
11293e20e2bSKuninori Morimoto
11393e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A77470
1148ca43e41SKuninori Morimoto	bool "pin control support for R8A77470 (RZ/G1C)" if COMPILE_TEST
11593e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC
11693e20e2bSKuninori Morimoto
11793e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A774A1
1188ca43e41SKuninori Morimoto	bool "pin control support for R8A774A1 (RZ/G2M)" if COMPILE_TEST
11993e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC
12093e20e2bSKuninori Morimoto
12193e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A774B1
1228ca43e41SKuninori Morimoto	bool "pin control support for R8A774B1 (RZ/G2N)" if COMPILE_TEST
12393e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC
12493e20e2bSKuninori Morimoto
12593e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A774C0
1268ca43e41SKuninori Morimoto	bool "pin control support for R8A774C0 (RZ/G2E)" if COMPILE_TEST
12793e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC
12893e20e2bSKuninori Morimoto
12993e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A774E1
1308ca43e41SKuninori Morimoto	bool "pin control support for R8A774E1 (RZ/G2H)" if COMPILE_TEST
13193e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC
13293e20e2bSKuninori Morimoto
13393e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A7778
1348ca43e41SKuninori Morimoto	bool "pin control support for R8A7778 (R-Car M1A)" if COMPILE_TEST
135540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
136077365a9SGeert Uytterhoeven
137077365a9SGeert Uytterhoevenconfig PINCTRL_PFC_R8A7779
1388ca43e41SKuninori Morimoto	bool "pin control support for R8A7779 (R-Car H1)" if COMPILE_TEST
139540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
140077365a9SGeert Uytterhoeven
141077365a9SGeert Uytterhoevenconfig PINCTRL_PFC_R8A7790
1428ca43e41SKuninori Morimoto	bool "pin control support for R8A7790 (R-Car H2)" if COMPILE_TEST
143540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
144077365a9SGeert Uytterhoeven
14593e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A7791
1468ca43e41SKuninori Morimoto	bool "pin control support for R8A7791 (R-Car M2-W)" if COMPILE_TEST
147540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
148077365a9SGeert Uytterhoeven
14993e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A7792
1508ca43e41SKuninori Morimoto	bool "pin control support for R8A7792 (R-Car V2H)" if COMPILE_TEST
151540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
152077365a9SGeert Uytterhoeven
153077365a9SGeert Uytterhoevenconfig PINCTRL_PFC_R8A7793
1548ca43e41SKuninori Morimoto	bool "pin control support for R8A7793 (R-Car M2-N)" if COMPILE_TEST
155540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
156077365a9SGeert Uytterhoeven
15793e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A7794
1588ca43e41SKuninori Morimoto	bool "pin control support for R8A7794 (R-Car E2)" if COMPILE_TEST
159540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
160077365a9SGeert Uytterhoeven
16193e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A77951
1628ca43e41SKuninori Morimoto	bool "pin control support for R8A77951 (R-Car H3 ES2.0+)" if COMPILE_TEST
163540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
164077365a9SGeert Uytterhoeven
165077365a9SGeert Uytterhoevenconfig PINCTRL_PFC_R8A77960
1668ca43e41SKuninori Morimoto	bool "pin control support for R8A77960 (R-Car M3-W)" if COMPILE_TEST
167540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
168077365a9SGeert Uytterhoeven
169077365a9SGeert Uytterhoevenconfig PINCTRL_PFC_R8A77961
1708ca43e41SKuninori Morimoto	bool "pin control support for R8A77961 (R-Car M3-W+)" if COMPILE_TEST
171540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
172077365a9SGeert Uytterhoeven
17393e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A77965
1748ca43e41SKuninori Morimoto	bool "pin control support for R8A77965 (R-Car M3-N)" if COMPILE_TEST
175540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
176077365a9SGeert Uytterhoeven
177077365a9SGeert Uytterhoevenconfig PINCTRL_PFC_R8A77970
1788ca43e41SKuninori Morimoto	bool "pin control support for R8A77970 (R-Car V3M)" if COMPILE_TEST
179540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
180077365a9SGeert Uytterhoeven
18193e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A77980
1828ca43e41SKuninori Morimoto	bool "pin control support for R8A77980 (R-Car V3H)" if COMPILE_TEST
18393e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC
18493e20e2bSKuninori Morimoto
18593e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A77990
1868ca43e41SKuninori Morimoto	bool "pin control support for R8A77990 (R-Car E3)" if COMPILE_TEST
18793e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC
18893e20e2bSKuninori Morimoto
18993e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A77995
1908ca43e41SKuninori Morimoto	bool "pin control support for R8A77995 (R-Car D3)" if COMPILE_TEST
19193e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC
19293e20e2bSKuninori Morimoto
193741a7370SUlrich Hechtconfig PINCTRL_PFC_R8A779A0
1948ca43e41SKuninori Morimoto	bool "pin control support for R8A779A0 (R-Car V3U)" if COMPILE_TEST
195741a7370SUlrich Hecht	select PINCTRL_SH_PFC
196741a7370SUlrich Hecht
19793e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A779F0
1988ca43e41SKuninori Morimoto	bool "pin control support for R8A779F0 (R-Car S4-8)" if COMPILE_TEST
19993e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC
20093e20e2bSKuninori Morimoto
201ad9bb2feSLUU HOAIconfig PINCTRL_PFC_R8A779G0
2028ca43e41SKuninori Morimoto	bool "pin control support for R8A779G0 (R-Car V4H)" if COMPILE_TEST
203ad9bb2feSLUU HOAI	select PINCTRL_SH_PFC
204ad9bb2feSLUU HOAI
205291f7856SCong Dangconfig PINCTRL_PFC_R8A779H0
2068ca43e41SKuninori Morimoto	bool "pin control support for R8A779H0 (R-Car V4M)" if COMPILE_TEST
207291f7856SCong Dang	select PINCTRL_SH_PFC
208291f7856SCong Dang
20993e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SH7203
21093e20e2bSKuninori Morimoto	bool "pin control support for SH7203" if COMPILE_TEST
21193e20e2bSKuninori Morimoto	select PINCTRL_SH_FUNC_GPIO
212077365a9SGeert Uytterhoeven
21393e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SH7264
21493e20e2bSKuninori Morimoto	bool "pin control support for SH7264" if COMPILE_TEST
21593e20e2bSKuninori Morimoto	select PINCTRL_SH_FUNC_GPIO
21693e20e2bSKuninori Morimoto
21793e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SH7269
21893e20e2bSKuninori Morimoto	bool "pin control support for SH7269" if COMPILE_TEST
21993e20e2bSKuninori Morimoto	select PINCTRL_SH_FUNC_GPIO
22093e20e2bSKuninori Morimoto
22193e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SH73A0
2228ca43e41SKuninori Morimoto	bool "pin control support for SH73A0 (SH-Mobile AG5)" if COMPILE_TEST
223077365a9SGeert Uytterhoeven	select PINCTRL_SH_PFC_GPIO
22493e20e2bSKuninori Morimoto	select REGULATOR
22593e20e2bSKuninori Morimoto
22693e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SH7720
22793e20e2bSKuninori Morimoto	bool "pin control support for SH7720" if COMPILE_TEST
22893e20e2bSKuninori Morimoto	select PINCTRL_SH_FUNC_GPIO
22993e20e2bSKuninori Morimoto
23093e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SH7722
23193e20e2bSKuninori Morimoto	bool "pin control support for SH7722" if COMPILE_TEST
23293e20e2bSKuninori Morimoto	select PINCTRL_SH_FUNC_GPIO
23393e20e2bSKuninori Morimoto
23493e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SH7723
2358ca43e41SKuninori Morimoto	bool "pin control support for SH7723 (SH-Mobile R2)" if COMPILE_TEST
23693e20e2bSKuninori Morimoto	select PINCTRL_SH_FUNC_GPIO
23793e20e2bSKuninori Morimoto
23893e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SH7724
2398ca43e41SKuninori Morimoto	bool "pin control support for SH7724 (SH-Mobile R2R)" if COMPILE_TEST
24093e20e2bSKuninori Morimoto	select PINCTRL_SH_FUNC_GPIO
24193e20e2bSKuninori Morimoto
24293e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SH7734
24393e20e2bSKuninori Morimoto	bool "pin control support for SH7734" if COMPILE_TEST
24493e20e2bSKuninori Morimoto	select PINCTRL_SH_FUNC_GPIO
24593e20e2bSKuninori Morimoto
24693e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SH7757
24793e20e2bSKuninori Morimoto	bool "pin control support for SH7757" if COMPILE_TEST
24893e20e2bSKuninori Morimoto	select PINCTRL_SH_FUNC_GPIO
24993e20e2bSKuninori Morimoto
25093e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SH7785
25193e20e2bSKuninori Morimoto	bool "pin control support for SH7785" if COMPILE_TEST
25293e20e2bSKuninori Morimoto	select PINCTRL_SH_FUNC_GPIO
25393e20e2bSKuninori Morimoto
25493e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SH7786
25593e20e2bSKuninori Morimoto	bool "pin control support for SH7786" if COMPILE_TEST
25693e20e2bSKuninori Morimoto	select PINCTRL_SH_FUNC_GPIO
25793e20e2bSKuninori Morimoto
25893e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SHX3
25993e20e2bSKuninori Morimoto	bool "pin control support for SH-X3" if COMPILE_TEST
26093e20e2bSKuninori Morimoto	select PINCTRL_SH_FUNC_GPIO
261077365a9SGeert Uytterhoeven
262077365a9SGeert Uytterhoevenconfig PINCTRL_RZA1
263077365a9SGeert Uytterhoeven	bool "pin control support for RZ/A1"
264077365a9SGeert Uytterhoeven	depends on OF
265077365a9SGeert Uytterhoeven	depends on ARCH_R7S72100 || COMPILE_TEST
266540d9757SGeert Uytterhoeven	select GENERIC_PINCONF
267077365a9SGeert Uytterhoeven	select GENERIC_PINCTRL_GROUPS
268077365a9SGeert Uytterhoeven	select GENERIC_PINMUX_FUNCTIONS
269540d9757SGeert Uytterhoeven	select GPIOLIB
270077365a9SGeert Uytterhoeven	help
271077365a9SGeert Uytterhoeven	  This selects pinctrl driver for Renesas RZ/A1 platforms.
272077365a9SGeert Uytterhoeven
273077365a9SGeert Uytterhoevenconfig PINCTRL_RZA2
274077365a9SGeert Uytterhoeven	bool "pin control support for RZ/A2"
275077365a9SGeert Uytterhoeven	depends on OF
276077365a9SGeert Uytterhoeven	depends on ARCH_R7S9210 || COMPILE_TEST
277077365a9SGeert Uytterhoeven	select GENERIC_PINCTRL_GROUPS
278077365a9SGeert Uytterhoeven	select GENERIC_PINMUX_FUNCTIONS
279540d9757SGeert Uytterhoeven	select GPIOLIB
280077365a9SGeert Uytterhoeven	help
281077365a9SGeert Uytterhoeven	  This selects GPIO and pinctrl driver for Renesas RZ/A2 platforms.
282077365a9SGeert Uytterhoeven
283c4c4637eSLad Prabhakarconfig PINCTRL_RZG2L
284bfc69bdbSBiju Das	bool "pin control support for RZ/{G2L,G2UL,V2L}" if COMPILE_TEST
285c4c4637eSLad Prabhakar	depends on OF
286c4c4637eSLad Prabhakar	select GPIOLIB
287fda5edd7SClaudiu Beznea	select GPIOLIB_IRQCHIP
288c4c4637eSLad Prabhakar	select GENERIC_PINCTRL_GROUPS
289c4c4637eSLad Prabhakar	select GENERIC_PINMUX_FUNCTIONS
290c4c4637eSLad Prabhakar	select GENERIC_PINCONF
291fda5edd7SClaudiu Beznea	select IRQ_DOMAIN_HIERARCHY
292c4c4637eSLad Prabhakar	help
293bfc69bdbSBiju Das	  This selects GPIO and pinctrl driver for Renesas RZ/{G2L,G2UL,V2L}
2940c8fce49SBiju Das	  platforms.
295c4c4637eSLad Prabhakar
296077365a9SGeert Uytterhoevenconfig PINCTRL_RZN1
297077365a9SGeert Uytterhoeven	bool "pin control support for RZ/N1"
298077365a9SGeert Uytterhoeven	depends on OF
299077365a9SGeert Uytterhoeven	depends on ARCH_RZN1 || COMPILE_TEST
300077365a9SGeert Uytterhoeven	select GENERIC_PINCONF
301f055ff23SRalph Siemsen	select PINMUX
302077365a9SGeert Uytterhoeven	help
303077365a9SGeert Uytterhoeven	  This selects pinctrl driver for Renesas RZ/N1 devices.
304077365a9SGeert Uytterhoeven
30592a9b825SPhil Edworthyconfig PINCTRL_RZV2M
306*70001677SGeert Uytterhoeven	bool "pin control support for RZ/V2M" if COMPILE_TEST
30792a9b825SPhil Edworthy	depends on OF
30892a9b825SPhil Edworthy	select GPIOLIB
30992a9b825SPhil Edworthy	select GENERIC_PINCTRL_GROUPS
31092a9b825SPhil Edworthy	select GENERIC_PINMUX_FUNCTIONS
31192a9b825SPhil Edworthy	select GENERIC_PINCONF
31292a9b825SPhil Edworthy	help
31392a9b825SPhil Edworthy	  This selects GPIO and pinctrl driver for Renesas RZ/V2M
31492a9b825SPhil Edworthy	  platforms.
31592a9b825SPhil Edworthy
316077365a9SGeert Uytterhoevenendmenu
317