All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pinctrl: freescale: Add helper dependency on COMPILE_TEST
@ 2021-08-25  8:22 Cai Huoqing
  2021-09-16 22:07 ` Linus Walleij
  2021-09-17 11:50 ` Fabio Estevam
  0 siblings, 2 replies; 6+ messages in thread
From: Cai Huoqing @ 2021-08-25  8:22 UTC (permalink / raw)
  To: aisheng.dong, festevam, shawnguo, stefan, linus.walleij
  Cc: linux-gpio, linux-kernel, Cai Huoqing

it's helpful for complie test in other platform(e.g.X86)

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
---
 drivers/pinctrl/freescale/Kconfig | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/pinctrl/freescale/Kconfig b/drivers/pinctrl/freescale/Kconfig
index 21fa21c6547b..defc1f38efc7 100644
--- a/drivers/pinctrl/freescale/Kconfig
+++ b/drivers/pinctrl/freescale/Kconfig
@@ -119,28 +119,28 @@ config PINCTRL_IMX7ULP
 
 config PINCTRL_IMX8MM
 	tristate "IMX8MM pinctrl driver"
-	depends on ARCH_MXC
+	depends on ARCH_MXC || (COMPILE_TEST && OF)
 	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 ARCH_MXC || (COMPILE_TEST && OF)
 	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 ARCH_MXC || (COMPILE_TEST && OF)
 	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 ARCH_MXC || (COMPILE_TEST && OF)
 	select PINCTRL_IMX
 	help
 	  Say Y here to enable the imx8mq pinctrl driver
@@ -168,7 +168,7 @@ config PINCTRL_IMX8DXL
 
 config PINCTRL_IMX8ULP
 	tristate "IMX8ULP pinctrl driver"
-	depends on ARCH_MXC
+	depends on ARCH_MXC || (COMPILE_TEST && OF)
 	select PINCTRL_IMX
 	help
 	  Say Y here to enable the imx8ulp pinctrl driver
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-09-23 22:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-25  8:22 [PATCH] pinctrl: freescale: Add helper dependency on COMPILE_TEST Cai Huoqing
2021-09-16 22:07 ` Linus Walleij
2021-09-17  1:54   ` Cai Huoqing
2021-09-17 11:50 ` Fabio Estevam
2021-09-18  2:26   ` Cai Huoqing
2021-09-23 22:17     ` Fabio Estevam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.