[PATCH 1/3] clk: imx: scu: make scu clk driver depend on scu pd

Dong Aisheng aisheng.dong at nxp.com
Tue Nov 24 05:08:00 EST 2020


The SCU clocks depends on SCU power domains.

Signed-off-by: Dong Aisheng <aisheng.dong at nxp.com>
---
 drivers/clk/imx/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig
index 3b393cb07295..e79375c76159 100644
--- a/drivers/clk/imx/Kconfig
+++ b/drivers/clk/imx/Kconfig
@@ -7,7 +7,7 @@ config MXC_CLK
 config MXC_CLK_SCU
 	tristate "IMX SCU clock"
 	depends on ARCH_MXC || COMPILE_TEST
-	depends on IMX_SCU && HAVE_ARM_SMCCC
+	depends on IMX_SCU && IMX_SCU_PD && HAVE_ARM_SMCCC
 
 config CLK_IMX1
 	def_bool SOC_IMX1
@@ -96,7 +96,7 @@ config CLK_IMX8MQ
 config CLK_IMX8QXP
 	tristate "IMX8QXP SCU Clock"
 	depends on (ARCH_MXC && ARM64) || COMPILE_TEST
-	depends on IMX_SCU && HAVE_ARM_SMCCC
+	depends on IMX_SCU && IMX_SCU_PD && HAVE_ARM_SMCCC
 	select MXC_CLK_SCU
 	help
 	  Build the driver for IMX8QXP SCU based clocks.
-- 
2.23.0




More information about the linux-arm-kernel mailing list