diff options
author | Daniel Palmer <daniel@0x0f.com> | 2021-02-15 20:57:09 +0900 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2021-02-16 12:52:21 -0800 |
commit | 93c89f03cb1d734630597cb0acf0b2af309f8e62 (patch) | |
tree | 520cf676d1a65fd7c2afc5443aadf24a7a636036 /drivers/clk/mstar | |
parent | bef7a78da71687838a6bb5b316c4f5dfd31582f5 (diff) | |
download | linux-stable-93c89f03cb1d734630597cb0acf0b2af309f8e62.tar.gz linux-stable-93c89f03cb1d734630597cb0acf0b2af309f8e62.tar.bz2 linux-stable-93c89f03cb1d734630597cb0acf0b2af309f8e62.zip |
clk: mstar: Allow MStar clk drivers to be compile tested
Allow COMPILE_TEST to also build the MStar clk drivers
instead of only building them when ARCH_MSTARV7 is selected.
Signed-off-by: Daniel Palmer <daniel@0x0f.com>
Suggested-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20210215115710.3762276-1-daniel@0x0f.com
[sboyd@kernel.org: Drop regmap select too]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/mstar')
-rw-r--r-- | drivers/clk/mstar/Kconfig | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/clk/mstar/Kconfig b/drivers/clk/mstar/Kconfig index 23765edde3af..de37e1bce2d2 100644 --- a/drivers/clk/mstar/Kconfig +++ b/drivers/clk/mstar/Kconfig @@ -1,5 +1,9 @@ # SPDX-License-Identifier: GPL-2.0-only config MSTAR_MSC313_MPLL - bool - select REGMAP + bool "MStar MPLL driver" + depends on ARCH_MSTARV7 || COMPILE_TEST + default ARCH_MSTARV7 select REGMAP_MMIO + help + Support for the MPLL PLL and dividers block present on + MStar/Sigmastar SoCs. |