summaryrefslogtreecommitdiff
path: root/drivers/clk/imx/Kconfig
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2020-07-30 04:22:54 +0300
committerShawn Guo <shawnguo@kernel.org>2020-08-22 07:38:29 +0300
commite0d0d4d86c766335066d7c241fbe42fbd67d4198 (patch)
treee80b79c30f94c9e3888c009a73984464699fd5f9 /drivers/clk/imx/Kconfig
parent9a976cd278eafa496ce30196810ef2e879a4a7d5 (diff)
downloadlinux-e0d0d4d86c766335066d7c241fbe42fbd67d4198.tar.xz
clk: imx8qxp: Support building i.MX8QXP clock driver as module
Change configuration to "tristate", add module author, description and license to support building i.MX8QXP clock drivers as module. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'drivers/clk/imx/Kconfig')
-rw-r--r--drivers/clk/imx/Kconfig10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig
index 38977129be5b..e7defbac0936 100644
--- a/drivers/clk/imx/Kconfig
+++ b/drivers/clk/imx/Kconfig
@@ -5,8 +5,9 @@ config MXC_CLK
depends on ARCH_MXC || COMPILE_TEST
config MXC_CLK_SCU
- bool
- depends on IMX_SCU
+ tristate "IMX SCU clock"
+ depends on ARCH_MXC || COMPILE_TEST
+ depends on IMX_SCU && HAVE_ARM_SMCCC
config CLK_IMX1
def_bool SOC_IMX1
@@ -97,8 +98,9 @@ config CLK_IMX8MQ
Build the driver for i.MX8MQ CCM Clock Driver
config CLK_IMX8QXP
- bool "IMX8QXP SCU Clock"
- depends on ARCH_MXC && IMX_SCU && ARM64
+ tristate "IMX8QXP SCU Clock"
+ depends on (ARCH_MXC && ARM64) || COMPILE_TEST
+ depends on IMX_SCU && HAVE_ARM_SMCCC
select MXC_CLK_SCU
help
Build the driver for IMX8QXP SCU based clocks.