blob: 5d5312eb7102ac47f8bbfa83fb1d6a734c60db75 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001#
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_R8A7778
48 def_bool y
49 depends on ARCH_R8A7778
50 select PINCTRL_SH_PFC
51
52config PINCTRL_PFC_R8A7779
53 def_bool y
54 depends on ARCH_R8A7779
55 select PINCTRL_SH_PFC
56
57config PINCTRL_PFC_R8A7790
58 def_bool y
59 depends on ARCH_R8A7790
60 select PINCTRL_SH_PFC
61
62config PINCTRL_PFC_R8A7791
63 def_bool y
64 depends on ARCH_R8A7791
65 select PINCTRL_SH_PFC
66
67config PINCTRL_PFC_R8A7792
68 def_bool y
69 depends on ARCH_R8A7792
70 select PINCTRL_SH_PFC
71
72config PINCTRL_PFC_R8A7793
73 def_bool y
74 depends on ARCH_R8A7793
75 select PINCTRL_SH_PFC
76
77config PINCTRL_PFC_R8A7794
78 def_bool y
79 depends on ARCH_R8A7794
80 select PINCTRL_SH_PFC
81
82config PINCTRL_PFC_R8A7795
83 def_bool y
84 depends on ARCH_R8A7795
85 select PINCTRL_SH_PFC
86
87config PINCTRL_PFC_R8A7796
88 def_bool y
89 depends on ARCH_R8A7796
90 select PINCTRL_SH_PFC
91
92config PINCTRL_PFC_R8A77995
93 def_bool y
94 depends on ARCH_R8A77995
95 select PINCTRL_SH_PFC
96
97config PINCTRL_PFC_SH7203
98 def_bool y
99 depends on CPU_SUBTYPE_SH7203
100 select PINCTRL_SH_PFC_GPIO
101
102config PINCTRL_PFC_SH7264
103 def_bool y
104 depends on CPU_SUBTYPE_SH7264
105 select PINCTRL_SH_PFC_GPIO
106
107config PINCTRL_PFC_SH7269
108 def_bool y
109 depends on CPU_SUBTYPE_SH7269
110 select PINCTRL_SH_PFC_GPIO
111
112config PINCTRL_PFC_SH73A0
113 def_bool y
114 depends on ARCH_SH73A0
115 select PINCTRL_SH_PFC_GPIO
116 select REGULATOR
117
118config PINCTRL_PFC_SH7720
119 def_bool y
120 depends on CPU_SUBTYPE_SH7720
121 select PINCTRL_SH_PFC_GPIO
122
123config PINCTRL_PFC_SH7722
124 def_bool y
125 depends on CPU_SUBTYPE_SH7722
126 select PINCTRL_SH_PFC_GPIO
127
128config PINCTRL_PFC_SH7723
129 def_bool y
130 depends on CPU_SUBTYPE_SH7723
131 select PINCTRL_SH_PFC_GPIO
132
133config PINCTRL_PFC_SH7724
134 def_bool y
135 depends on CPU_SUBTYPE_SH7724
136 select PINCTRL_SH_PFC_GPIO
137
138config PINCTRL_PFC_SH7734
139 def_bool y
140 depends on CPU_SUBTYPE_SH7734
141 select PINCTRL_SH_PFC_GPIO
142
143config PINCTRL_PFC_SH7757
144 def_bool y
145 depends on CPU_SUBTYPE_SH7757
146 select PINCTRL_SH_PFC_GPIO
147
148config PINCTRL_PFC_SH7785
149 def_bool y
150 depends on CPU_SUBTYPE_SH7785
151 select PINCTRL_SH_PFC_GPIO
152
153config PINCTRL_PFC_SH7786
154 def_bool y
155 depends on CPU_SUBTYPE_SH7786
156 select PINCTRL_SH_PFC_GPIO
157
158config PINCTRL_PFC_SHX3
159 def_bool y
160 depends on CPU_SUBTYPE_SHX3
161 select PINCTRL_SH_PFC_GPIO
162endif