diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2020-07-30 03:22:51 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-08-22 06:38:20 +0200 |
commit | 870ed5e22ae18b63751140b4050050ca2115ba60 (patch) | |
tree | 843dc169db53c1ab3bfe80e17deddfdb041b39de /drivers/clk/imx/Kconfig | |
parent | clk: composite: Export clk_hw_register_composite() (diff) | |
download | linux-870ed5e22ae18b63751140b4050050ca2115ba60.tar.xz linux-870ed5e22ae18b63751140b4050050ca2115ba60.zip |
clk: imx: Support building i.MX common clock driver as module
There are more and more requirements of building SoC specific drivers
as modules, add support for building i.MX common clock driver as module
to meet the requirement.
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/Kconfig | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig index db0253fa3d64..ee854ac302f2 100644 --- a/drivers/clk/imx/Kconfig +++ b/drivers/clk/imx/Kconfig @@ -1,8 +1,8 @@ # SPDX-License-Identifier: GPL-2.0 # common clock support for NXP i.MX SoC family. config MXC_CLK - bool - def_bool ARCH_MXC + tristate "IMX clock" + depends on ARCH_MXC config MXC_CLK_SCU bool @@ -11,24 +11,28 @@ config MXC_CLK_SCU config CLK_IMX8MM bool "IMX8MM CCM Clock Driver" depends on ARCH_MXC + select MXC_CLK help Build the driver for i.MX8MM CCM Clock Driver config CLK_IMX8MN bool "IMX8MN CCM Clock Driver" depends on ARCH_MXC + select MXC_CLK help Build the driver for i.MX8MN CCM Clock Driver config CLK_IMX8MP bool "IMX8MP CCM Clock Driver" depends on ARCH_MXC + select MXC_CLK help Build the driver for i.MX8MP CCM Clock Driver config CLK_IMX8MQ bool "IMX8MQ CCM Clock Driver" depends on ARCH_MXC + select MXC_CLK help Build the driver for i.MX8MQ CCM Clock Driver |