[V2,1/1] pinctrl: imx8qxp: break the dependency on SOC_IMX8QXP
diff mbox series

Message ID 1545060770-19191-1-git-send-email-aisheng.dong@nxp.com
State New
Headers show
Series
  • [V2,1/1] pinctrl: imx8qxp: break the dependency on SOC_IMX8QXP
Related show

Commit Message

Aisheng Dong Dec. 17, 2018, 3:38 p.m. UTC
ARM64 SoC does not encourage people to add more finegrained SoC
config options rather than a single ARCH_<family> in arch Kconfig.
So this patch aims to break the dependency on SOC_IMX8QXP.

Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Stefan Agner <stefan@agner.ch>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
---
v1->v2:
 * do not mention the deletion of SOC_IMX8QXP as it's still not
   hit mainline
---
 drivers/pinctrl/freescale/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Linus Walleij Dec. 21, 2018, 10:23 a.m. UTC | #1
On Mon, Dec 17, 2018 at 4:38 PM Aisheng Dong <aisheng.dong@nxp.com> wrote:

> ARM64 SoC does not encourage people to add more finegrained SoC
> config options rather than a single ARCH_<family> in arch Kconfig.
> So this patch aims to break the dependency on SOC_IMX8QXP.
>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: Fabio Estevam <festevam@gmail.com>
> Cc: Stefan Agner <stefan@agner.ch>
> Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
> Acked-by: Shawn Guo <shawnguo@kernel.org>
> Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
> ---
> v1->v2:
>  * do not mention the deletion of SOC_IMX8QXP as it's still not
>    hit mainline

Patch applied.

Yours,
Linus Walleij

Patch
diff mbox series

diff --git a/drivers/pinctrl/freescale/Kconfig b/drivers/pinctrl/freescale/Kconfig
index 2d6db43..f7d3579 100644
--- a/drivers/pinctrl/freescale/Kconfig
+++ b/drivers/pinctrl/freescale/Kconfig
@@ -130,7 +130,7 @@  config PINCTRL_IMX8MQ
 
 config PINCTRL_IMX8QXP
 	bool "IMX8QXP pinctrl driver"
-	depends on SOC_IMX8QXP
+	depends on ARCH_MXC && ARM64
 	select PINCTRL_IMX_SCU
 	help
 	  Say Y here to enable the imx8qxp pinctrl driver