pinctrl: imx8m: kconfig: Depends on SOC_IMX8M
authorFrancesco Dolcini <francesco.dolcini@toradex.com>
Tue, 30 Aug 2022 14:27:27 +0000 (16:27 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 31 Aug 2022 13:41:21 +0000 (15:41 +0200)
Change PINCTRL_IMX8M* dependency from just ARCH_MXC to SOC_IMX8M,
likewise is done for other PINCTRL_IMX* kconfig. This avoid polluting
the config when SOC_IMX8M is not enabled.

Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/20220830142727.313080-1-francesco.dolcini@toradex.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/freescale/Kconfig

index d96b113..365fcff 100644 (file)
@@ -119,28 +119,28 @@ config PINCTRL_IMX7ULP
 
 config PINCTRL_IMX8MM
        tristate "IMX8MM pinctrl driver"
-       depends on ARCH_MXC
+       depends on SOC_IMX8M
        select PINCTRL_IMX
        help
          Say Y here to enable the imx8mm pinctrl driver
 
 config PINCTRL_IMX8MN
        tristate "IMX8MN pinctrl driver"
-       depends on ARCH_MXC
+       depends on SOC_IMX8M
        select PINCTRL_IMX
        help
          Say Y here to enable the imx8mn pinctrl driver
 
 config PINCTRL_IMX8MP
        tristate "IMX8MP pinctrl driver"
-       depends on ARCH_MXC
+       depends on SOC_IMX8M
        select PINCTRL_IMX
        help
          Say Y here to enable the imx8mp pinctrl driver
 
 config PINCTRL_IMX8MQ
        tristate "IMX8MQ pinctrl driver"
-       depends on ARCH_MXC
+       depends on SOC_IMX8M
        select PINCTRL_IMX
        help
          Say Y here to enable the imx8mq pinctrl driver