1#
2# Renesas SH and SH Mobile PINCTRL drivers
3#
4
5if ARCH_RENESAS || SUPERH
6
7config PINCTRL_SH_PFC
8	select PINMUX
9	select PINCONF
10	select GENERIC_PINCONF
11	def_bool y
12	help
13	  This enables pin control drivers for SH and SH Mobile platforms
14
15config PINCTRL_SH_PFC_GPIO
16	select GPIOLIB
17	select PINCTRL_SH_PFC
18	bool
19	help
20	  This enables pin control and GPIO drivers for SH/SH Mobile platforms
21
22config PINCTRL_PFC_EMEV2
23	def_bool y
24	depends on ARCH_EMEV2
25	select PINCTRL_SH_PFC
26
27config PINCTRL_PFC_R8A73A4
28	def_bool y
29	depends on ARCH_R8A73A4
30	select PINCTRL_SH_PFC_GPIO
31
32config PINCTRL_PFC_R8A7740
33	def_bool y
34	depends on ARCH_R8A7740
35	select PINCTRL_SH_PFC_GPIO
36
37config PINCTRL_PFC_R8A7743
38	def_bool y
39	depends on ARCH_R8A7743
40	select PINCTRL_SH_PFC
41
42config PINCTRL_PFC_R8A7745
43        def_bool y
44        depends on ARCH_R8A7745
45        select PINCTRL_SH_PFC
46
47config PINCTRL_PFC_R8A77470
48        def_bool y
49        depends on ARCH_R8A77470
50        select PINCTRL_SH_PFC
51
52config PINCTRL_PFC_R8A7778
53	def_bool y
54	depends on ARCH_R8A7778
55	select PINCTRL_SH_PFC
56
57config PINCTRL_PFC_R8A7779
58	def_bool y
59	depends on ARCH_R8A7779
60	select PINCTRL_SH_PFC
61
62config PINCTRL_PFC_R8A7790
63	def_bool y
64	depends on ARCH_R8A7790
65	select PINCTRL_SH_PFC
66
67config PINCTRL_PFC_R8A7791
68	def_bool y
69	depends on ARCH_R8A7791
70	select PINCTRL_SH_PFC
71
72config PINCTRL_PFC_R8A7792
73	def_bool y
74	depends on ARCH_R8A7792
75	select PINCTRL_SH_PFC
76
77config PINCTRL_PFC_R8A7793
78	def_bool y
79	depends on ARCH_R8A7793
80	select PINCTRL_SH_PFC
81
82config PINCTRL_PFC_R8A7794
83	def_bool y
84	depends on ARCH_R8A7794
85	select PINCTRL_SH_PFC
86
87config PINCTRL_PFC_R8A7795
88	def_bool y
89	depends on ARCH_R8A7795
90	select PINCTRL_SH_PFC
91
92config PINCTRL_PFC_R8A7796
93        def_bool y
94        depends on ARCH_R8A7796
95        select PINCTRL_SH_PFC
96
97config PINCTRL_PFC_R8A77965
98        def_bool y
99        depends on ARCH_R8A77965
100        select PINCTRL_SH_PFC
101
102config PINCTRL_PFC_R8A77970
103	def_bool y
104	depends on ARCH_R8A77970
105	select PINCTRL_SH_PFC
106
107config PINCTRL_PFC_R8A77980
108	def_bool y
109	depends on ARCH_R8A77980
110	select PINCTRL_SH_PFC
111
112config PINCTRL_PFC_R8A77990
113        def_bool y
114        depends on ARCH_R8A77990
115        select PINCTRL_SH_PFC
116
117config PINCTRL_PFC_R8A77995
118        def_bool y
119        depends on ARCH_R8A77995
120        select PINCTRL_SH_PFC
121
122config PINCTRL_PFC_SH7203
123	def_bool y
124	depends on CPU_SUBTYPE_SH7203
125	select PINCTRL_SH_PFC_GPIO
126
127config PINCTRL_PFC_SH7264
128	def_bool y
129	depends on CPU_SUBTYPE_SH7264
130	select PINCTRL_SH_PFC_GPIO
131
132config PINCTRL_PFC_SH7269
133	def_bool y
134	depends on CPU_SUBTYPE_SH7269
135	select PINCTRL_SH_PFC_GPIO
136
137config PINCTRL_PFC_SH73A0
138	def_bool y
139	depends on ARCH_SH73A0
140	select PINCTRL_SH_PFC_GPIO
141	select REGULATOR
142
143config PINCTRL_PFC_SH7720
144	def_bool y
145	depends on CPU_SUBTYPE_SH7720
146	select PINCTRL_SH_PFC_GPIO
147
148config PINCTRL_PFC_SH7722
149	def_bool y
150	depends on CPU_SUBTYPE_SH7722
151	select PINCTRL_SH_PFC_GPIO
152
153config PINCTRL_PFC_SH7723
154	def_bool y
155	depends on CPU_SUBTYPE_SH7723
156	select PINCTRL_SH_PFC_GPIO
157
158config PINCTRL_PFC_SH7724
159	def_bool y
160	depends on CPU_SUBTYPE_SH7724
161	select PINCTRL_SH_PFC_GPIO
162
163config PINCTRL_PFC_SH7734
164	def_bool y
165	depends on CPU_SUBTYPE_SH7734
166	select PINCTRL_SH_PFC_GPIO
167
168config PINCTRL_PFC_SH7757
169	def_bool y
170	depends on CPU_SUBTYPE_SH7757
171	select PINCTRL_SH_PFC_GPIO
172
173config PINCTRL_PFC_SH7785
174	def_bool y
175	depends on CPU_SUBTYPE_SH7785
176	select PINCTRL_SH_PFC_GPIO
177
178config PINCTRL_PFC_SH7786
179	def_bool y
180	depends on CPU_SUBTYPE_SH7786
181	select PINCTRL_SH_PFC_GPIO
182
183config PINCTRL_PFC_SHX3
184	def_bool y
185	depends on CPU_SUBTYPE_SHX3
186	select PINCTRL_SH_PFC_GPIO
187endif
188