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