1#
2# Renesas SH and SH Mobile PINCTRL drivers
3#
4
5if ARCH_SHMOBILE || SUPERH
6
7config PINCTRL_SH_PFC
8	select GPIO_SH_PFC if ARCH_REQUIRE_GPIOLIB
9	select PINMUX
10	select PINCONF
11	select GENERIC_PINCONF
12	def_bool y
13	help
14	  This enables pin control drivers for SH and SH Mobile platforms
15
16config GPIO_SH_PFC
17	bool "SuperH PFC GPIO support"
18	depends on PINCTRL_SH_PFC && GPIOLIB
19	help
20	  This enables support for GPIOs within the SoC's pin function
21	  controller.
22
23config PINCTRL_PFC_EMEV2
24	def_bool y
25	depends on ARCH_EMEV2
26	select PINCTRL_SH_PFC
27
28config PINCTRL_PFC_R8A73A4
29	def_bool y
30	depends on ARCH_R8A73A4
31	select PINCTRL_SH_PFC
32
33config PINCTRL_PFC_R8A7740
34	def_bool y
35	depends on ARCH_R8A7740
36	select PINCTRL_SH_PFC
37
38config PINCTRL_PFC_R8A7778
39	def_bool y
40	depends on ARCH_R8A7778
41	select PINCTRL_SH_PFC
42
43config PINCTRL_PFC_R8A7779
44	def_bool y
45	depends on ARCH_R8A7779
46	select PINCTRL_SH_PFC
47
48config PINCTRL_PFC_R8A7790
49	def_bool y
50	depends on ARCH_R8A7790
51	select PINCTRL_SH_PFC
52
53config PINCTRL_PFC_R8A7791
54	def_bool y
55	depends on ARCH_R8A7791
56	select PINCTRL_SH_PFC
57
58config PINCTRL_PFC_R8A7793
59	def_bool y
60	depends on ARCH_R8A7793
61	select PINCTRL_SH_PFC
62
63config PINCTRL_PFC_R8A7794
64	def_bool y
65	depends on ARCH_R8A7794
66	select PINCTRL_SH_PFC
67
68config PINCTRL_PFC_R8A7795
69	def_bool y
70	depends on ARCH_R8A7795
71	select PINCTRL_SH_PFC
72
73config PINCTRL_PFC_SH7203
74	def_bool y
75	depends on CPU_SUBTYPE_SH7203
76	depends on GPIOLIB
77	select PINCTRL_SH_PFC
78
79config PINCTRL_PFC_SH7264
80	def_bool y
81	depends on CPU_SUBTYPE_SH7264
82	depends on GPIOLIB
83	select PINCTRL_SH_PFC
84
85config PINCTRL_PFC_SH7269
86	def_bool y
87	depends on CPU_SUBTYPE_SH7269
88	depends on GPIOLIB
89	select PINCTRL_SH_PFC
90
91config PINCTRL_PFC_SH73A0
92	def_bool y
93	depends on ARCH_SH73A0
94	select PINCTRL_SH_PFC
95	select REGULATOR
96
97config PINCTRL_PFC_SH7720
98	def_bool y
99	depends on CPU_SUBTYPE_SH7720
100	depends on GPIOLIB
101	select PINCTRL_SH_PFC
102
103config PINCTRL_PFC_SH7722
104	def_bool y
105	depends on CPU_SUBTYPE_SH7722
106	depends on GPIOLIB
107	select PINCTRL_SH_PFC
108
109config PINCTRL_PFC_SH7723
110	def_bool y
111	depends on CPU_SUBTYPE_SH7723
112	depends on GPIOLIB
113	select PINCTRL_SH_PFC
114
115config PINCTRL_PFC_SH7724
116	def_bool y
117	depends on CPU_SUBTYPE_SH7724
118	depends on GPIOLIB
119	select PINCTRL_SH_PFC
120
121config PINCTRL_PFC_SH7734
122	def_bool y
123	depends on CPU_SUBTYPE_SH7734
124	depends on GPIOLIB
125	select PINCTRL_SH_PFC
126
127config PINCTRL_PFC_SH7757
128	def_bool y
129	depends on CPU_SUBTYPE_SH7757
130	depends on GPIOLIB
131	select PINCTRL_SH_PFC
132
133config PINCTRL_PFC_SH7785
134	def_bool y
135	depends on CPU_SUBTYPE_SH7785
136	depends on GPIOLIB
137	select PINCTRL_SH_PFC
138
139config PINCTRL_PFC_SH7786
140	def_bool y
141	depends on CPU_SUBTYPE_SH7786
142	depends on GPIOLIB
143	select PINCTRL_SH_PFC
144
145config PINCTRL_PFC_SHX3
146	def_bool y
147	depends on CPU_SUBTYPE_SHX3
148	depends on GPIOLIB
149	select PINCTRL_SH_PFC
150
151endif
152