xref: /linux/drivers/pinctrl/renesas/Kconfig (revision 4f38da1f027ea2c9f01bb71daa7a299c191b6940)
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
4734d4d093SThierry Bultel	select PINCTRL_RZT2H if ARCH_R9A09G077
48*d1d31e27SLad Prabhakar	select PINCTRL_RZT2H if ARCH_R9A09G087
49077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SH7203 if CPU_SUBTYPE_SH7203
50077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SH7264 if CPU_SUBTYPE_SH7264
51077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SH7269 if CPU_SUBTYPE_SH7269
52077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SH73A0 if ARCH_SH73A0
53077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SH7720 if CPU_SUBTYPE_SH7720
54077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SH7722 if CPU_SUBTYPE_SH7722
55077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SH7723 if CPU_SUBTYPE_SH7723
56077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SH7724 if CPU_SUBTYPE_SH7724
57077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SH7734 if CPU_SUBTYPE_SH7734
58077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SH7757 if CPU_SUBTYPE_SH7757
59077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SH7785 if CPU_SUBTYPE_SH7785
60077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SH7786 if CPU_SUBTYPE_SH7786
61077365a9SGeert Uytterhoeven	select PINCTRL_PFC_SHX3 if CPU_SUBTYPE_SHX3
62077365a9SGeert Uytterhoeven	help
63077365a9SGeert Uytterhoeven	  This enables pin control drivers for Renesas SuperH and ARM platforms
64077365a9SGeert Uytterhoeven
65540d9757SGeert Uytterhoevenconfig PINCTRL_SH_PFC
66077365a9SGeert Uytterhoeven	bool
67540d9757SGeert Uytterhoeven	select GENERIC_PINCONF
68540d9757SGeert Uytterhoeven	select PINMUX
69540d9757SGeert Uytterhoeven	select PINCONF
70540d9757SGeert Uytterhoeven	help
71540d9757SGeert Uytterhoeven	  This enables common pin control functionality for EMMA Mobile, R-Car,
72540d9757SGeert Uytterhoeven	  R-Mobile, RZ/G, SH, and SH-Mobile platforms.
73540d9757SGeert Uytterhoeven
74540d9757SGeert Uytterhoevenconfig PINCTRL_SH_PFC_GPIO
75540d9757SGeert Uytterhoeven	bool
76540d9757SGeert Uytterhoeven	select GPIOLIB
77540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
78077365a9SGeert Uytterhoeven	help
79077365a9SGeert Uytterhoeven	  This enables pin control and GPIO drivers for SH/SH Mobile platforms
80077365a9SGeert Uytterhoeven
81077365a9SGeert Uytterhoevenconfig PINCTRL_SH_FUNC_GPIO
82077365a9SGeert Uytterhoeven	bool
83540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC_GPIO
84077365a9SGeert Uytterhoeven	help
85077365a9SGeert Uytterhoeven	  This enables legacy function GPIOs for SH platforms
86077365a9SGeert Uytterhoeven
87077365a9SGeert Uytterhoevenconfig PINCTRL_PFC_EMEV2
88077365a9SGeert Uytterhoeven	bool "pin control support for Emma Mobile EV2" if COMPILE_TEST
89540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
90077365a9SGeert Uytterhoeven
9193e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A73A4
928ca43e41SKuninori Morimoto	bool "pin control support for R8A73A4 (R-Mobile APE6)" if COMPILE_TEST
9393e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC_GPIO
9493e20e2bSKuninori Morimoto
9593e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A7740
968ca43e41SKuninori Morimoto	bool "pin control support for R8A7740 (R-Mobile A1)" if COMPILE_TEST
9793e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC_GPIO
9893e20e2bSKuninori Morimoto
9993e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A7742
1008ca43e41SKuninori Morimoto	bool "pin control support for R8A7742 (RZ/G1H)" if COMPILE_TEST
101540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
102077365a9SGeert Uytterhoeven
10393e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A7743
1048ca43e41SKuninori Morimoto	bool "pin control support for R8A7743 (RZ/G1M)" if COMPILE_TEST
105540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
106077365a9SGeert Uytterhoeven
10793e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A7744
1088ca43e41SKuninori Morimoto	bool "pin control support for R8A7744 (RZ/G1N)" if COMPILE_TEST
10993e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC
11093e20e2bSKuninori Morimoto
11193e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A7745
1128ca43e41SKuninori Morimoto	bool "pin control support for R8A7745 (RZ/G1E)" if COMPILE_TEST
11393e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC
11493e20e2bSKuninori Morimoto
11593e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A77470
1168ca43e41SKuninori Morimoto	bool "pin control support for R8A77470 (RZ/G1C)" if COMPILE_TEST
11793e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC
11893e20e2bSKuninori Morimoto
11993e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A774A1
1208ca43e41SKuninori Morimoto	bool "pin control support for R8A774A1 (RZ/G2M)" if COMPILE_TEST
12193e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC
12293e20e2bSKuninori Morimoto
12393e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A774B1
1248ca43e41SKuninori Morimoto	bool "pin control support for R8A774B1 (RZ/G2N)" if COMPILE_TEST
12593e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC
12693e20e2bSKuninori Morimoto
12793e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A774C0
1288ca43e41SKuninori Morimoto	bool "pin control support for R8A774C0 (RZ/G2E)" if COMPILE_TEST
12993e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC
13093e20e2bSKuninori Morimoto
13193e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A774E1
1328ca43e41SKuninori Morimoto	bool "pin control support for R8A774E1 (RZ/G2H)" if COMPILE_TEST
13393e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC
13493e20e2bSKuninori Morimoto
13593e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A7778
1368ca43e41SKuninori Morimoto	bool "pin control support for R8A7778 (R-Car M1A)" if COMPILE_TEST
137540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
138077365a9SGeert Uytterhoeven
139077365a9SGeert Uytterhoevenconfig PINCTRL_PFC_R8A7779
1408ca43e41SKuninori Morimoto	bool "pin control support for R8A7779 (R-Car H1)" if COMPILE_TEST
141540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
142077365a9SGeert Uytterhoeven
143077365a9SGeert Uytterhoevenconfig PINCTRL_PFC_R8A7790
1448ca43e41SKuninori Morimoto	bool "pin control support for R8A7790 (R-Car H2)" if COMPILE_TEST
145540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
146077365a9SGeert Uytterhoeven
14793e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A7791
1488ca43e41SKuninori Morimoto	bool "pin control support for R8A7791 (R-Car M2-W)" if COMPILE_TEST
149540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
150077365a9SGeert Uytterhoeven
15193e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A7792
1528ca43e41SKuninori Morimoto	bool "pin control support for R8A7792 (R-Car V2H)" if COMPILE_TEST
153540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
154077365a9SGeert Uytterhoeven
155077365a9SGeert Uytterhoevenconfig PINCTRL_PFC_R8A7793
1568ca43e41SKuninori Morimoto	bool "pin control support for R8A7793 (R-Car M2-N)" if COMPILE_TEST
157540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
158077365a9SGeert Uytterhoeven
15993e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A7794
1608ca43e41SKuninori Morimoto	bool "pin control support for R8A7794 (R-Car E2)" if COMPILE_TEST
161540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
162077365a9SGeert Uytterhoeven
16393e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A77951
1648ca43e41SKuninori Morimoto	bool "pin control support for R8A77951 (R-Car H3 ES2.0+)" if COMPILE_TEST
165540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
166077365a9SGeert Uytterhoeven
167077365a9SGeert Uytterhoevenconfig PINCTRL_PFC_R8A77960
1688ca43e41SKuninori Morimoto	bool "pin control support for R8A77960 (R-Car M3-W)" if COMPILE_TEST
169540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
170077365a9SGeert Uytterhoeven
171077365a9SGeert Uytterhoevenconfig PINCTRL_PFC_R8A77961
1728ca43e41SKuninori Morimoto	bool "pin control support for R8A77961 (R-Car M3-W+)" if COMPILE_TEST
173540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
174077365a9SGeert Uytterhoeven
17593e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A77965
1768ca43e41SKuninori Morimoto	bool "pin control support for R8A77965 (R-Car M3-N)" if COMPILE_TEST
177540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
178077365a9SGeert Uytterhoeven
179077365a9SGeert Uytterhoevenconfig PINCTRL_PFC_R8A77970
1808ca43e41SKuninori Morimoto	bool "pin control support for R8A77970 (R-Car V3M)" if COMPILE_TEST
181540d9757SGeert Uytterhoeven	select PINCTRL_SH_PFC
182077365a9SGeert Uytterhoeven
18393e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A77980
1848ca43e41SKuninori Morimoto	bool "pin control support for R8A77980 (R-Car V3H)" if COMPILE_TEST
18593e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC
18693e20e2bSKuninori Morimoto
18793e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A77990
1888ca43e41SKuninori Morimoto	bool "pin control support for R8A77990 (R-Car E3)" if COMPILE_TEST
18993e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC
19093e20e2bSKuninori Morimoto
19193e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A77995
1928ca43e41SKuninori Morimoto	bool "pin control support for R8A77995 (R-Car D3)" if COMPILE_TEST
19393e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC
19493e20e2bSKuninori Morimoto
195741a7370SUlrich Hechtconfig PINCTRL_PFC_R8A779A0
1968ca43e41SKuninori Morimoto	bool "pin control support for R8A779A0 (R-Car V3U)" if COMPILE_TEST
197741a7370SUlrich Hecht	select PINCTRL_SH_PFC
198741a7370SUlrich Hecht
19993e20e2bSKuninori Morimotoconfig PINCTRL_PFC_R8A779F0
2008ca43e41SKuninori Morimoto	bool "pin control support for R8A779F0 (R-Car S4-8)" if COMPILE_TEST
20193e20e2bSKuninori Morimoto	select PINCTRL_SH_PFC
20293e20e2bSKuninori Morimoto
203ad9bb2feSLUU HOAIconfig PINCTRL_PFC_R8A779G0
2048ca43e41SKuninori Morimoto	bool "pin control support for R8A779G0 (R-Car V4H)" if COMPILE_TEST
205ad9bb2feSLUU HOAI	select PINCTRL_SH_PFC
206ad9bb2feSLUU HOAI
207291f7856SCong Dangconfig PINCTRL_PFC_R8A779H0
2088ca43e41SKuninori Morimoto	bool "pin control support for R8A779H0 (R-Car V4M)" if COMPILE_TEST
209291f7856SCong Dang	select PINCTRL_SH_PFC
210291f7856SCong Dang
21193e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SH7203
21293e20e2bSKuninori Morimoto	bool "pin control support for SH7203" if COMPILE_TEST
21393e20e2bSKuninori Morimoto	select PINCTRL_SH_FUNC_GPIO
214077365a9SGeert Uytterhoeven
21593e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SH7264
21693e20e2bSKuninori Morimoto	bool "pin control support for SH7264" if COMPILE_TEST
21793e20e2bSKuninori Morimoto	select PINCTRL_SH_FUNC_GPIO
21893e20e2bSKuninori Morimoto
21993e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SH7269
22093e20e2bSKuninori Morimoto	bool "pin control support for SH7269" if COMPILE_TEST
22193e20e2bSKuninori Morimoto	select PINCTRL_SH_FUNC_GPIO
22293e20e2bSKuninori Morimoto
22393e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SH73A0
2248ca43e41SKuninori Morimoto	bool "pin control support for SH73A0 (SH-Mobile AG5)" if COMPILE_TEST
225077365a9SGeert Uytterhoeven	select PINCTRL_SH_PFC_GPIO
22693e20e2bSKuninori Morimoto	select REGULATOR
22793e20e2bSKuninori Morimoto
22893e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SH7720
22993e20e2bSKuninori Morimoto	bool "pin control support for SH7720" if COMPILE_TEST
23093e20e2bSKuninori Morimoto	select PINCTRL_SH_FUNC_GPIO
23193e20e2bSKuninori Morimoto
23293e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SH7722
23393e20e2bSKuninori Morimoto	bool "pin control support for SH7722" if COMPILE_TEST
23493e20e2bSKuninori Morimoto	select PINCTRL_SH_FUNC_GPIO
23593e20e2bSKuninori Morimoto
23693e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SH7723
2378ca43e41SKuninori Morimoto	bool "pin control support for SH7723 (SH-Mobile R2)" if COMPILE_TEST
23893e20e2bSKuninori Morimoto	select PINCTRL_SH_FUNC_GPIO
23993e20e2bSKuninori Morimoto
24093e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SH7724
2418ca43e41SKuninori Morimoto	bool "pin control support for SH7724 (SH-Mobile R2R)" if COMPILE_TEST
24293e20e2bSKuninori Morimoto	select PINCTRL_SH_FUNC_GPIO
24393e20e2bSKuninori Morimoto
24493e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SH7734
24593e20e2bSKuninori Morimoto	bool "pin control support for SH7734" if COMPILE_TEST
24693e20e2bSKuninori Morimoto	select PINCTRL_SH_FUNC_GPIO
24793e20e2bSKuninori Morimoto
24893e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SH7757
24993e20e2bSKuninori Morimoto	bool "pin control support for SH7757" if COMPILE_TEST
25093e20e2bSKuninori Morimoto	select PINCTRL_SH_FUNC_GPIO
25193e20e2bSKuninori Morimoto
25293e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SH7785
25393e20e2bSKuninori Morimoto	bool "pin control support for SH7785" if COMPILE_TEST
25493e20e2bSKuninori Morimoto	select PINCTRL_SH_FUNC_GPIO
25593e20e2bSKuninori Morimoto
25693e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SH7786
25793e20e2bSKuninori Morimoto	bool "pin control support for SH7786" if COMPILE_TEST
25893e20e2bSKuninori Morimoto	select PINCTRL_SH_FUNC_GPIO
25993e20e2bSKuninori Morimoto
26093e20e2bSKuninori Morimotoconfig PINCTRL_PFC_SHX3
26193e20e2bSKuninori Morimoto	bool "pin control support for SH-X3" if COMPILE_TEST
26293e20e2bSKuninori Morimoto	select PINCTRL_SH_FUNC_GPIO
263077365a9SGeert Uytterhoeven
264077365a9SGeert Uytterhoevenconfig PINCTRL_RZA1
265077365a9SGeert Uytterhoeven	bool "pin control support for RZ/A1"
266077365a9SGeert Uytterhoeven	depends on OF
267077365a9SGeert Uytterhoeven	depends on ARCH_R7S72100 || COMPILE_TEST
268540d9757SGeert Uytterhoeven	select GENERIC_PINCONF
269077365a9SGeert Uytterhoeven	select GENERIC_PINCTRL_GROUPS
270077365a9SGeert Uytterhoeven	select GENERIC_PINMUX_FUNCTIONS
271540d9757SGeert Uytterhoeven	select GPIOLIB
272077365a9SGeert Uytterhoeven	help
273077365a9SGeert Uytterhoeven	  This selects pinctrl driver for Renesas RZ/A1 platforms.
274077365a9SGeert Uytterhoeven
275077365a9SGeert Uytterhoevenconfig PINCTRL_RZA2
276077365a9SGeert Uytterhoeven	bool "pin control support for RZ/A2"
277077365a9SGeert Uytterhoeven	depends on OF
278077365a9SGeert Uytterhoeven	depends on ARCH_R7S9210 || COMPILE_TEST
279077365a9SGeert Uytterhoeven	select GENERIC_PINCTRL_GROUPS
280077365a9SGeert Uytterhoeven	select GENERIC_PINMUX_FUNCTIONS
281540d9757SGeert Uytterhoeven	select GPIOLIB
282077365a9SGeert Uytterhoeven	help
283077365a9SGeert Uytterhoeven	  This selects GPIO and pinctrl driver for Renesas RZ/A2 platforms.
284077365a9SGeert Uytterhoeven
285c4c4637eSLad Prabhakarconfig PINCTRL_RZG2L
286bfc69bdbSBiju Das	bool "pin control support for RZ/{G2L,G2UL,V2L}" if COMPILE_TEST
287c4c4637eSLad Prabhakar	depends on OF
288c4c4637eSLad Prabhakar	select GPIOLIB
289fda5edd7SClaudiu Beznea	select GPIOLIB_IRQCHIP
290c4c4637eSLad Prabhakar	select GENERIC_PINCTRL_GROUPS
291c4c4637eSLad Prabhakar	select GENERIC_PINMUX_FUNCTIONS
292c4c4637eSLad Prabhakar	select GENERIC_PINCONF
293fda5edd7SClaudiu Beznea	select IRQ_DOMAIN_HIERARCHY
294c4c4637eSLad Prabhakar	help
295bfc69bdbSBiju Das	  This selects GPIO and pinctrl driver for Renesas RZ/{G2L,G2UL,V2L}
2960c8fce49SBiju Das	  platforms.
297c4c4637eSLad Prabhakar
298077365a9SGeert Uytterhoevenconfig PINCTRL_RZN1
299077365a9SGeert Uytterhoeven	bool "pin control support for RZ/N1"
300077365a9SGeert Uytterhoeven	depends on OF
301077365a9SGeert Uytterhoeven	depends on ARCH_RZN1 || COMPILE_TEST
302077365a9SGeert Uytterhoeven	select GENERIC_PINCONF
303f055ff23SRalph Siemsen	select PINMUX
304077365a9SGeert Uytterhoeven	help
305077365a9SGeert Uytterhoeven	  This selects pinctrl driver for Renesas RZ/N1 devices.
306077365a9SGeert Uytterhoeven
30734d4d093SThierry Bultelconfig PINCTRL_RZT2H
30834d4d093SThierry Bultel	bool "pin control support for RZ/N2H and RZ/T2H" if COMPILE_TEST
30934d4d093SThierry Bultel	depends on 64BIT && OF
31034d4d093SThierry Bultel	select GPIOLIB
31134d4d093SThierry Bultel	select GENERIC_PINCTRL_GROUPS
31234d4d093SThierry Bultel	select GENERIC_PINMUX_FUNCTIONS
31334d4d093SThierry Bultel	select GENERIC_PINCONF
31434d4d093SThierry Bultel	help
31534d4d093SThierry Bultel	  This selects GPIO and pinctrl driver for Renesas RZ/T2H
31634d4d093SThierry Bultel	  platforms.
31734d4d093SThierry Bultel
31892a9b825SPhil Edworthyconfig PINCTRL_RZV2M
31970001677SGeert Uytterhoeven	bool "pin control support for RZ/V2M" if COMPILE_TEST
32092a9b825SPhil Edworthy	depends on OF
32192a9b825SPhil Edworthy	select GPIOLIB
32292a9b825SPhil Edworthy	select GENERIC_PINCTRL_GROUPS
32392a9b825SPhil Edworthy	select GENERIC_PINMUX_FUNCTIONS
32492a9b825SPhil Edworthy	select GENERIC_PINCONF
32592a9b825SPhil Edworthy	help
32692a9b825SPhil Edworthy	  This selects GPIO and pinctrl driver for Renesas RZ/V2M
32792a9b825SPhil Edworthy	  platforms.
32892a9b825SPhil Edworthy
329077365a9SGeert Uytterhoevenendmenu
330