Skip to contentSkip to conversation

soc: imx: Break dependency on SOC_IMX8MQ for GPCv2

PATCH Superseded Abel Vesa 3 participants 3 messages Dec 23, 2018 – Jan 12, 2019 Arm i.MX and Layerscape

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Abel Vesa

author
#0 lore raw

PATCH v2 1/1 soc: imx: Break dependency on SOC_IMX8MQ for GPCv2

Since this is going to be used on more SoCs than just i.MX8MQ, make the dependency here more generic.

---
Changes since v1:
* removed the SOC_IMX7D since it's included by ARCH_MXC as suggested by Dong Aisheng.

 drivers/soc/imx/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/imx/Kconfig +1 -1
index 2112d18..d80f899 100644
@@ -2,7 +2,7 @@ menu "i.MX SoC drivers"
 
 config IMX_GPCV2_PM_DOMAINS
 	bool "i.MX GPCv2 PM domains"
-	depends on SOC_IMX7D || SOC_IMX8MQ || (COMPILE_TEST && OF)
+	depends on ARCH_MXC || (COMPILE_TEST && OF)
 	depends on PM
 	select PM_GENERIC_DOMAINS
 	default y if SOC_IMX7D
Signature · 7 lines
2.7.4


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw
Quoted 8 lines · Abel Vesa

Since this is going to be used on more SoCs than just i.MX8MQ, make the dependency here more generic.

---
Changes since v1:
* removed the SOC_IMX7D since it's included by ARCH_MXC

This should really be mentioned in the commit log.

Shawn

Quoted 21 lines

as suggested by Dong Aisheng.

 drivers/soc/imx/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/imx/Kconfig +1 -1
index 2112d18..d80f899 100644
@@ -2,7 +2,7 @@ menu "i.MX SoC drivers"
 
 config IMX_GPCV2_PM_DOMAINS
 	bool "i.MX GPCv2 PM domains"
-	depends on SOC_IMX7D || SOC_IMX8MQ || (COMPILE_TEST && OF)
+	depends on ARCH_MXC || (COMPILE_TEST && OF)
 	depends on PM
 	select PM_GENERIC_DOMAINS
 	default y if SOC_IMX7D
Signature · 1 line
2.7.4
#2 lore raw
Quoted 6 lines

From: Shawn Guo [mailto:[email protected]]
Sent: Saturday, January 12, 2019 11:09 AM

Quoted 3 lines · Abel Vesa

Since this is going to be used on more SoCs than just i.MX8MQ, make the dependency here more generic.

Quoted 8 lines
Quoted 5 lines

---
Changes since v1:
* removed the SOC_IMX7D since it's included by ARCH_MXC

This should really be mentioned in the commit log.

Yes, you're right. We should put it in commit log.

Abel,
Would you resend with this updated?

Regards
Dong Aisheng

Quoted 23 lines

Shawn

Quoted 21 lines

as suggested by Dong Aisheng.

 drivers/soc/imx/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/imx/Kconfig index renamed from drivers/soc/imx/Kconfig +0 -0

2112d18..d80f899 100644

drivers/soc/imx/Kconfig +1 -2
@@ -2,7 +2,7 @@ menu "i.MX SoC drivers"
 
 config IMX_GPCV2_PM_DOMAINS
 	bool "i.MX GPCv2 PM domains"
-	depends on SOC_IMX7D || SOC_IMX8MQ || (COMPILE_TEST && OF)
+	depends on ARCH_MXC || (COMPILE_TEST && OF)
 	depends on PM
 	select PM_GENERIC_DOMAINS
 	default y if SOC_IMX7D
--

2.7.4