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 GENERIC_PINCONF
8	select REGMAP
9
10config PINCTRL_IMX_SCU
11	tristate
12	depends on IMX_SCU
13	select PINCTRL_IMX
14
15config PINCTRL_IMX1_CORE
16	bool
17	select PINMUX
18	select PINCONF
19
20config PINCTRL_IMX1
21	bool "IMX1 pinctrl driver"
22	depends on SOC_IMX1
23	select PINCTRL_IMX1_CORE
24	help
25	  Say Y here to enable the imx1 pinctrl driver
26
27config PINCTRL_IMX27
28	bool "IMX27 pinctrl driver"
29	depends on SOC_IMX27
30	select PINCTRL_IMX1_CORE
31	help
32	  Say Y here to enable the imx27 pinctrl driver
33
34
35config PINCTRL_IMX25
36	bool "IMX25 pinctrl driver"
37	depends on OF
38	depends on SOC_IMX25
39	select PINCTRL_IMX
40	help
41	  Say Y here to enable the imx25 pinctrl driver
42
43config PINCTRL_IMX35
44	bool "IMX35 pinctrl driver"
45	depends on SOC_IMX35
46	select PINCTRL_IMX
47	help
48	  Say Y here to enable the imx35 pinctrl driver
49
50config PINCTRL_IMX50
51	bool "IMX50 pinctrl driver"
52	depends on SOC_IMX50
53	select PINCTRL_IMX
54	help
55	  Say Y here to enable the imx50 pinctrl driver
56
57config PINCTRL_IMX51
58	bool "IMX51 pinctrl driver"
59	depends on SOC_IMX51
60	select PINCTRL_IMX
61	help
62	  Say Y here to enable the imx51 pinctrl driver
63
64config PINCTRL_IMX53
65	bool "IMX53 pinctrl driver"
66	depends on SOC_IMX53
67	select PINCTRL_IMX
68	help
69	  Say Y here to enable the imx53 pinctrl driver
70
71config PINCTRL_IMX6Q
72	bool "IMX6Q/DL pinctrl driver"
73	depends on SOC_IMX6Q
74	select PINCTRL_IMX
75	help
76	  Say Y here to enable the imx6q/dl pinctrl driver
77
78config PINCTRL_IMX6SL
79	bool "IMX6SL pinctrl driver"
80	depends on SOC_IMX6SL
81	select PINCTRL_IMX
82	help
83	  Say Y here to enable the imx6sl pinctrl driver
84
85config PINCTRL_IMX6SLL
86	bool "IMX6SLL pinctrl driver"
87	depends on SOC_IMX6SLL
88	select PINCTRL_IMX
89	help
90	  Say Y here to enable the imx6sll pinctrl driver
91
92config PINCTRL_IMX6SX
93	bool "IMX6SX pinctrl driver"
94	depends on SOC_IMX6SX
95	select PINCTRL_IMX
96	help
97	  Say Y here to enable the imx6sx pinctrl driver
98
99config PINCTRL_IMX6UL
100	bool "IMX6UL pinctrl driver"
101	depends on SOC_IMX6UL
102	select PINCTRL_IMX
103	help
104	  Say Y here to enable the imx6ul pinctrl driver
105
106config PINCTRL_IMX7D
107	bool "IMX7D pinctrl driver"
108	depends on SOC_IMX7D
109	select PINCTRL_IMX
110	help
111	  Say Y here to enable the imx7d pinctrl driver
112
113config PINCTRL_IMX7ULP
114	bool "IMX7ULP pinctrl driver"
115	depends on SOC_IMX7ULP
116	select PINCTRL_IMX
117	help
118	  Say Y here to enable the imx7ulp pinctrl driver
119
120config PINCTRL_IMX8MM
121	tristate "IMX8MM pinctrl driver"
122	depends on ARCH_MXC
123	select PINCTRL_IMX
124	help
125	  Say Y here to enable the imx8mm pinctrl driver
126
127config PINCTRL_IMX8MN
128	tristate "IMX8MN pinctrl driver"
129	depends on ARCH_MXC
130	select PINCTRL_IMX
131	help
132	  Say Y here to enable the imx8mn pinctrl driver
133
134config PINCTRL_IMX8MP
135	tristate "IMX8MP pinctrl driver"
136	depends on ARCH_MXC
137	select PINCTRL_IMX
138	help
139	  Say Y here to enable the imx8mp pinctrl driver
140
141config PINCTRL_IMX8MQ
142	tristate "IMX8MQ pinctrl driver"
143	depends on ARCH_MXC
144	select PINCTRL_IMX
145	help
146	  Say Y here to enable the imx8mq pinctrl driver
147
148config PINCTRL_IMX8QM
149	tristate "IMX8QM pinctrl driver"
150	depends on IMX_SCU && ARCH_MXC && ARM64
151	select PINCTRL_IMX_SCU
152	help
153	  Say Y here to enable the imx8qm pinctrl driver
154
155config PINCTRL_IMX8QXP
156	tristate "IMX8QXP pinctrl driver"
157	depends on IMX_SCU && ARCH_MXC && ARM64
158	select PINCTRL_IMX_SCU
159	help
160	  Say Y here to enable the imx8qxp pinctrl driver
161
162config PINCTRL_IMX8DXL
163	tristate "IMX8DXL pinctrl driver"
164	depends on IMX_SCU && ARCH_MXC && ARM64
165	select PINCTRL_IMX_SCU
166	help
167	  Say Y here to enable the imx8dxl pinctrl driver
168
169config PINCTRL_VF610
170	bool "Freescale Vybrid VF610 pinctrl driver"
171	depends on SOC_VF610
172	select PINCTRL_IMX
173	help
174	  Say Y here to enable the Freescale Vybrid VF610 pinctrl driver
175
176config PINCTRL_MXS
177	bool
178	select PINMUX
179	select PINCONF
180
181config PINCTRL_IMX23
182	bool
183	select PINCTRL_MXS
184
185config PINCTRL_IMX28
186	bool
187	select PINCTRL_MXS
188