summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2019-05-09 13:29:56 -0700
committerStephen Boyd <sboyd@kernel.org>2019-06-06 13:35:38 -0700
commit789bc177f828d37506ee11a92ff88e3065d572d7 (patch)
treebf4e4a1ae5f0fc4ce30aeb4f80c3918f44172b1a
parent5d59f12a19e6cb96a1a72fac2b0d73ab8435b167 (diff)
downloadlinux-789bc177f828d37506ee11a92ff88e3065d572d7.tar.gz
clk: bcm: Allow CLK_BCM2835 for ARCH_BRCMSTB
ARCH_BRCMSTB needs to use the BCM2835 clock driver for chips like
BCM7211 which adopted that clock controller, make that possible and the
driver default to be enabled for ARCH_BRCMSTB.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
-rw-r--r--drivers/clk/bcm/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/bcm/Kconfig b/drivers/clk/bcm/Kconfig
index 0b873e23f128..0eb281d597fc 100644
--- a/drivers/clk/bcm/Kconfig
+++ b/drivers/clk/bcm/Kconfig
@@ -1,8 +1,8 @@
 config CLK_BCM2835
 	bool "Broadcom BCM2835 clock support"
-	depends on ARCH_BCM2835 || COMPILE_TEST
+	depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST
 	depends on COMMON_CLK
-	default ARCH_BCM2835
+	default ARCH_BCM2835 || ARCH_BRCMSTB
 	help
 	  Enable common clock framework support for Broadcom BCM2835
 	  SoCs.