summaryrefslogtreecommitdiffstats
path: root/drivers/clk/bcm/Kconfig
diff options
context:
space:
mode:
authorNicolas Saenz Julienne2019-06-12 20:24:54 +0200
committerStephen Boyd2019-06-26 01:04:23 +0200
commit4e85e535e6cc6e8a96350e8ee684d0f22eb8629e (patch)
treed731c93bff3e96dde7057f3dc44dafa4ba990e03 /drivers/clk/bcm/Kconfig
parentclk: bcm2835: remove pllb (diff)
downloadkernel-qcow2-linux-4e85e535e6cc6e8a96350e8ee684d0f22eb8629e.tar.gz
kernel-qcow2-linux-4e85e535e6cc6e8a96350e8ee684d0f22eb8629e.tar.xz
kernel-qcow2-linux-4e85e535e6cc6e8a96350e8ee684d0f22eb8629e.zip
clk: bcm283x: add driver interfacing with Raspberry Pi's firmware
Raspberry Pi's firmware offers an interface though which update it's clock's frequencies. This is specially useful in order to change the CPU clock (pllb_arm) which is 'owned' by the firmware and we're unable to scale using the register interface provided by clk-bcm2835. Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Acked-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/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/clk/bcm/Kconfig b/drivers/clk/bcm/Kconfig
index 0eb281d597fc..e5497e995cfb 100644
--- a/drivers/clk/bcm/Kconfig
+++ b/drivers/clk/bcm/Kconfig
@@ -72,3 +72,10 @@ config CLK_BCM_SR
default ARCH_BCM_IPROC
help
Enable common clock framework support for the Broadcom Stingray SoC
+
+config CLK_RASPBERRYPI
+ tristate "Raspberry Pi firmware based clock support"
+ depends on RASPBERRYPI_FIRMWARE || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE)
+ help
+ Enable common clock framework support for Raspberry Pi's firmware
+ dependent clocks