diff mbox series

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

Message ID 20201124100802.22775-2-aisheng.dong@nxp.com
State New
Headers show
Series [1/3] clk: imx: scu: make scu clk driver depend on scu pd | expand

Commit Message

Aisheng Dong Nov. 24, 2020, 10:08 a.m. UTC
The SCU clocks depends on SCU power domains.

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

Patch

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.