diff options
author | Jan Kotas <jank@cadence.com> | 2018-12-13 15:49:29 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-01-09 22:41:19 +0300 |
commit | 50cc4caf531abb2075c6973451fccdaba9f02715 (patch) | |
tree | a7b2868a62a7d3166bbd607ed4d8cdc3b80cb73e /drivers/clk/Kconfig | |
parent | 5b42aac8904bfe8fcd65179c0fe71a6a1109ee53 (diff) | |
download | linux-50cc4caf531abb2075c6973451fccdaba9f02715.tar.xz |
clk: Add Fixed MMIO clock driver
This patch adds a driver for Fixed MMIO clock.
The driver reads a clock frequency value from a single 32-bit memory
mapped register and registers it as a fixed rate clock.
It can be enabled with COMMON_CLK_FIXED_MMIO Kconfig option.
Signed-off-by: Jan Kotas <jank@cadence.com>
[sboyd@kernel.org: Make of_fixed_mmio_clk_setup() static, use clk_hw
based APIs]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/Kconfig')
-rw-r--r-- | drivers/clk/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index e5b2fe80eab4..296972518db4 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -290,6 +290,12 @@ config COMMON_CLK_BD718XX This driver supports ROHM BD71837 and ROHM BD71847 PMICs clock gates. +config COMMON_CLK_FIXED_MMIO + bool "Clock driver for Memory Mapped Fixed values" + depends on COMMON_CLK && OF + help + Support for Memory Mapped IO Fixed clocks + source "drivers/clk/actions/Kconfig" source "drivers/clk/bcm/Kconfig" source "drivers/clk/hisilicon/Kconfig" |