1# SPDX-License-Identifier: GPL-2.0-only
2config PINCTRL_IMX
3	tristate
4	depends on OF
5	select GENERIC_PINCTRL_GROUPS
6	select GENERIC_PINMUX_FUNCTIONS
7	select PINCONF
8	select REGMAP
9
10config PINCTRL_IMX_SCMI
11	tristate "i.MX95 pinctrl driver using SCMI protocol interface"
12	depends on ARM_SCMI_PROTOCOL && OF || COMPILE_TEST
13	select PINMUX
14	select GENERIC_PINCONF
15	select GENERIC_PINCTRL_GROUPS
16	select GENERIC_PINMUX_FUNCTIONS
17	help
18	  i.MX95 SCMI firmware provides pinctrl protocol. This driver
19	  utilizes the SCMI interface to do pinctrl configuration.
20
21config PINCTRL_IMX_SCU
22	tristate
23	depends on IMX_SCU
24	select PINCTRL_IMX
25
26config PINCTRL_IMX1_CORE
27	bool
28	select PINMUX
29	select PINCONF
30
31config PINCTRL_IMX1
32	bool "IMX1 pinctrl driver"
33	depends on SOC_IMX1
34	select PINCTRL_IMX1_CORE
35	help
36	  Say Y here to enable the imx1 pinctrl driver
37
38config PINCTRL_IMX27
39	bool "IMX27 pinctrl driver"
40	depends on SOC_IMX27
41	select PINCTRL_IMX1_CORE
42	help
43	  Say Y here to enable the imx27 pinctrl driver
44
45
46config PINCTRL_IMX25
47	bool "IMX25 pinctrl driver"
48	depends on OF
49	depends on SOC_IMX25
50	select PINCTRL_IMX
51	help
52	  Say Y here to enable the imx25 pinctrl driver
53
54config PINCTRL_IMX35
55	bool "IMX35 pinctrl driver"
56	depends on SOC_IMX35
57	select PINCTRL_IMX
58	help
59	  Say Y here to enable the imx35 pinctrl driver
60
61config PINCTRL_IMX50
62	bool "IMX50 pinctrl driver"
63	depends on SOC_IMX50
64	select PINCTRL_IMX
65	help
66	  Say Y here to enable the imx50 pinctrl driver
67
68config PINCTRL_IMX51
69	bool "IMX51 pinctrl driver"
70	depends on SOC_IMX51
71	select PINCTRL_IMX
72	help
73	  Say Y here to enable the imx51 pinctrl driver
74
75config PINCTRL_IMX53
76	bool "IMX53 pinctrl driver"
77	depends on SOC_IMX53
78	select PINCTRL_IMX
79	help
80	  Say Y here to enable the imx53 pinctrl driver
81
82config PINCTRL_IMX6Q
83	bool "IMX6Q/DL pinctrl driver"
84	depends on SOC_IMX6Q
85	select PINCTRL_IMX
86	help
87	  Say Y here to enable the imx6q/dl pinctrl driver
88
89config PINCTRL_IMX6SL
90	bool "IMX6SL pinctrl driver"
91	depends on SOC_IMX6SL
92	select PINCTRL_IMX
93	help
94	  Say Y here to enable the imx6sl pinctrl driver
95
96config PINCTRL_IMX6SLL
97	bool "IMX6SLL pinctrl driver"
98	depends on SOC_IMX6SLL
99	select PINCTRL_IMX
100	help
101	  Say Y here to enable the imx6sll pinctrl driver
102
103config PINCTRL_IMX6SX
104	bool "IMX6SX pinctrl driver"
105	depends on SOC_IMX6SX
106	select PINCTRL_IMX
107	help
108	  Say Y here to enable the imx6sx pinctrl driver
109
110config PINCTRL_IMX6UL
111	bool "IMX6UL pinctrl driver"
112	depends on SOC_IMX6UL
113	select PINCTRL_IMX
114	help
115	  Say Y here to enable the imx6ul pinctrl driver
116
117config PINCTRL_IMX7D
118	bool "IMX7D pinctrl driver"
119	depends on SOC_IMX7D
120	select PINCTRL_IMX
121	help
122	  Say Y here to enable the imx7d pinctrl driver
123
124config PINCTRL_IMX7ULP
125	bool "IMX7ULP pinctrl driver"
126	depends on SOC_IMX7ULP
127	select PINCTRL_IMX
128	help
129	  Say Y here to enable the imx7ulp pinctrl driver
130
131config PINCTRL_IMX8MM
132	tristate "IMX8MM pinctrl driver"
133	depends on OF
134	depends on SOC_IMX8M
135	select PINCTRL_IMX
136	help
137	  Say Y here to enable the imx8mm pinctrl driver
138
139config PINCTRL_IMX8MN
140	tristate "IMX8MN pinctrl driver"
141	depends on OF
142	depends on SOC_IMX8M
143	select PINCTRL_IMX
144	help
145	  Say Y here to enable the imx8mn pinctrl driver
146
147config PINCTRL_IMX8MP
148	tristate "IMX8MP pinctrl driver"
149	depends on OF
150	depends on SOC_IMX8M
151	select PINCTRL_IMX
152	help
153	  Say Y here to enable the imx8mp pinctrl driver
154
155config PINCTRL_IMX8MQ
156	tristate "IMX8MQ pinctrl driver"
157	depends on OF
158	depends on SOC_IMX8M
159	select PINCTRL_IMX
160	help
161	  Say Y here to enable the imx8mq pinctrl driver
162
163config PINCTRL_IMX8QM
164	tristate "IMX8QM pinctrl driver"
165	depends on IMX_SCU && ARCH_MXC && ARM64
166	select PINCTRL_IMX_SCU
167	help
168	  Say Y here to enable the imx8qm pinctrl driver
169
170config PINCTRL_IMX8QXP
171	tristate "IMX8QXP pinctrl driver"
172	depends on IMX_SCU && ARCH_MXC && ARM64
173	select PINCTRL_IMX_SCU
174	help
175	  Say Y here to enable the imx8qxp pinctrl driver
176
177config PINCTRL_IMX8DXL
178	tristate "IMX8DXL pinctrl driver"
179	depends on IMX_SCU && ARCH_MXC && ARM64
180	select PINCTRL_IMX_SCU
181	help
182	  Say Y here to enable the imx8dxl pinctrl driver
183
184config PINCTRL_IMX8ULP
185	tristate "IMX8ULP pinctrl driver"
186	depends on ARCH_MXC
187	select PINCTRL_IMX
188	help
189	  Say Y here to enable the imx8ulp pinctrl driver
190
191config PINCTRL_IMXRT1050
192	bool "IMXRT1050 pinctrl driver"
193	depends on ARCH_MXC
194	select PINCTRL_IMX
195	help
196	  Say Y here to enable the imxrt1050 pinctrl driver
197
198config PINCTRL_IMX91
199	tristate "IMX91 pinctrl driver"
200	depends on ARCH_MXC
201	select PINCTRL_IMX
202	help
203	  Say Y here to enable the imx91 pinctrl driver
204
205config PINCTRL_IMX93
206	tristate "IMX93 pinctrl driver"
207	depends on ARCH_MXC
208	select PINCTRL_IMX
209	help
210	  Say Y here to enable the imx93 pinctrl driver
211
212config PINCTRL_VF610
213	bool "Freescale Vybrid VF610 pinctrl driver"
214	depends on SOC_VF610
215	select PINCTRL_IMX
216	help
217	  Say Y here to enable the Freescale Vybrid VF610 pinctrl driver
218
219config PINCTRL_MXS
220	bool
221	select PINMUX
222	select PINCONF
223
224config PINCTRL_IMX23
225	bool
226	select PINCTRL_MXS
227
228config PINCTRL_IMX28
229	bool
230	select PINCTRL_MXS
231
232config PINCTRL_IMXRT1170
233	bool "IMXRT1170 pinctrl driver"
234	depends on ARCH_MXC
235	select PINCTRL_IMX
236	help
237	  Say Y here to enable the imxrt1170 pinctrl driver
238