pinctrl: freescale: Break dependency on SOC_IMX8MQ for i.MX8MQ

Message ID 1545548891-24671-1-git-send-email-abel.vesa@nxp.com
State New
Headers show
Series
  • pinctrl: freescale: Break dependency on SOC_IMX8MQ for i.MX8MQ
Related show

Commit Message

Abel Vesa Dec. 23, 2018, 7:08 a.m.
The CONFIG_SOC_IMX8MQ will go away, so the dependency can be based on
ARCH_MXC && ARM64.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
---
 drivers/pinctrl/freescale/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Aisheng Dong Dec. 23, 2018, 9:07 a.m. | #1
> -----Original Message-----
> From: Abel Vesa
> Sent: Sunday, December 23, 2018 3:09 PM
> 
> The CONFIG_SOC_IMX8MQ will go away, so the dependency can be based on
> ARCH_MXC && ARM64.
> 
> Signed-off-by: Abel Vesa <abel.vesa@nxp.com>

Acked-by: Dong Aisheng <aisheng.dong@nxp.com>

Regards
Dong Aisheng
Fabio Estevam Dec. 26, 2018, 4:55 p.m. | #2
On Sun, Dec 23, 2018 at 2:38 PM Abel Vesa <abel.vesa@nxp.com> wrote:
>
> The CONFIG_SOC_IMX8MQ will go away, so the dependency can be based on
> ARCH_MXC && ARM64.
>
> Signed-off-by: Abel Vesa <abel.vesa@nxp.com>

Reviewed-by: Fabio Estevam <festevam@gmail.com>
Linus Walleij Dec. 27, 2018, 9:40 a.m. | #3
On Sun, Dec 23, 2018 at 8:08 AM Abel Vesa <abel.vesa@nxp.com> wrote:

> The CONFIG_SOC_IMX8MQ will go away, so the dependency can be based on
> ARCH_MXC && ARM64.
>
> Signed-off-by: Abel Vesa <abel.vesa@nxp.com>

Patch applied with Dong's and Fabio's ACKs.

Yours,
Linus Walleij

Patch

diff --git a/drivers/pinctrl/freescale/Kconfig b/drivers/pinctrl/freescale/Kconfig
index 2d6db43..624902e 100644
--- a/drivers/pinctrl/freescale/Kconfig
+++ b/drivers/pinctrl/freescale/Kconfig
@@ -123,7 +123,7 @@  config PINCTRL_IMX7ULP
 
 config PINCTRL_IMX8MQ
 	bool "IMX8MQ pinctrl driver"
-	depends on SOC_IMX8MQ
+	depends on ARCH_MXC && ARM64
 	select PINCTRL_IMX
 	help
 	  Say Y here to enable the imx8mq pinctrl driver