Skip to content

Commit a660d9e

Browse files
tq-steinalinusw
authored andcommitted
pinctrl: freescale: Enable driver if platform is enabled.
The pinctrl drivers are not enabled in defconfig. Instead of listing each driver in the defconfig, enable then by default if the platform/soc support is enabled as well. Signed-off-by: Alexander Stein <[email protected]> Acked-by: Esben Haabendal <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent 939be10 commit a660d9e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

drivers/pinctrl/freescale/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ config PINCTRL_IMX_SCU
2222
tristate
2323
depends on OF
2424
depends on IMX_SCU || COMPILE_TEST
25+
default IMX_SCU
2526
select PINCTRL_IMX
2627

2728
config PINCTRL_IMX1_CORE
@@ -160,6 +161,7 @@ config PINCTRL_IMX8MM
160161
tristate "IMX8MM pinctrl driver"
161162
depends on OF
162163
depends on SOC_IMX8M || COMPILE_TEST
164+
default SOC_IMX8M
163165
select PINCTRL_IMX
164166
help
165167
Say Y here to enable the imx8mm pinctrl driver
@@ -168,6 +170,7 @@ config PINCTRL_IMX8MN
168170
tristate "IMX8MN pinctrl driver"
169171
depends on OF
170172
depends on SOC_IMX8M || COMPILE_TEST
173+
default SOC_IMX8M
171174
select PINCTRL_IMX
172175
help
173176
Say Y here to enable the imx8mn pinctrl driver
@@ -176,6 +179,7 @@ config PINCTRL_IMX8MP
176179
tristate "IMX8MP pinctrl driver"
177180
depends on OF
178181
depends on SOC_IMX8M || COMPILE_TEST
182+
default SOC_IMX8M
179183
select PINCTRL_IMX
180184
help
181185
Say Y here to enable the imx8mp pinctrl driver
@@ -184,6 +188,7 @@ config PINCTRL_IMX8MQ
184188
tristate "IMX8MQ pinctrl driver"
185189
depends on OF
186190
depends on SOC_IMX8M || COMPILE_TEST
191+
default SOC_IMX8M
187192
select PINCTRL_IMX
188193
help
189194
Say Y here to enable the imx8mq pinctrl driver
@@ -192,6 +197,7 @@ config PINCTRL_IMX8QM
192197
tristate "IMX8QM pinctrl driver"
193198
depends on OF
194199
depends on (IMX_SCU && ARCH_MXC && ARM64) || COMPILE_TEST
200+
default ARCH_MXC
195201
select PINCTRL_IMX_SCU
196202
help
197203
Say Y here to enable the imx8qm pinctrl driver
@@ -200,6 +206,7 @@ config PINCTRL_IMX8QXP
200206
tristate "IMX8QXP pinctrl driver"
201207
depends on OF
202208
depends on (IMX_SCU && ARCH_MXC && ARM64) || COMPILE_TEST
209+
default ARCH_MXC
203210
select PINCTRL_IMX_SCU
204211
help
205212
Say Y here to enable the imx8qxp pinctrl driver
@@ -208,6 +215,7 @@ config PINCTRL_IMX8DXL
208215
tristate "IMX8DXL pinctrl driver"
209216
depends on OF
210217
depends on (IMX_SCU && ARCH_MXC && ARM64) || COMPILE_TEST
218+
default ARCH_MXC
211219
select PINCTRL_IMX_SCU
212220
help
213221
Say Y here to enable the imx8dxl pinctrl driver
@@ -216,6 +224,7 @@ config PINCTRL_IMX8ULP
216224
tristate "IMX8ULP pinctrl driver"
217225
depends on OF
218226
depends on ARCH_MXC || COMPILE_TEST
227+
default ARCH_MXC
219228
select PINCTRL_IMX
220229
help
221230
Say Y here to enable the imx8ulp pinctrl driver
@@ -240,6 +249,7 @@ config PINCTRL_IMX93
240249
tristate "IMX93 pinctrl driver"
241250
depends on OF
242251
depends on ARCH_MXC || COMPILE_TEST
252+
default SOC_IMX9
243253
select PINCTRL_IMX
244254
help
245255
Say Y here to enable the imx93 pinctrl driver

0 commit comments

Comments
 (0)