summaryrefslogtreecommitdiff
path: root/drivers/clk/bcm/Kconfig
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2019-05-09 23:29:55 +0300
committerStephen Boyd <sboyd@kernel.org>2019-06-06 23:34:08 +0300
commit5d59f12a19e6cb96a1a72fac2b0d73ab8435b167 (patch)
tree90fbe0540394c41b6674d84b73f579174b6bad0d /drivers/clk/bcm/Kconfig
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff)
downloadlinux-5d59f12a19e6cb96a1a72fac2b0d73ab8435b167.tar.xz
clk: bcm: Make BCM2835 clock drivers selectable
Make the BCM2835 clock driver selectable by other architectures/platforms. ARCH_BRCMSTB will be selecting that driver in the next commit since new chips like 7211 use the same CPRMAN clock controller that this driver supports. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/bcm/Kconfig')
-rw-r--r--drivers/clk/bcm/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/clk/bcm/Kconfig b/drivers/clk/bcm/Kconfig
index 4c4bd85f707c..0b873e23f128 100644
--- a/drivers/clk/bcm/Kconfig
+++ b/drivers/clk/bcm/Kconfig
@@ -1,3 +1,12 @@
+config CLK_BCM2835
+ bool "Broadcom BCM2835 clock support"
+ depends on ARCH_BCM2835 || COMPILE_TEST
+ depends on COMMON_CLK
+ default ARCH_BCM2835
+ help
+ Enable common clock framework support for Broadcom BCM2835
+ SoCs.
+
config CLK_BCM_63XX
bool "Broadcom BCM63xx clock support"
depends on ARCH_BCM_63XX || COMPILE_TEST