commit | 50cc4caf531abb2075c6973451fccdaba9f02715 | [log] [tgz] |
---|---|---|
author | Jan Kotas <jank@cadence.com> | Thu Dec 13 12:49:29 2018 +0000 |
committer | Stephen Boyd <sboyd@kernel.org> | Wed Jan 09 11:41:19 2019 -0800 |
tree | a7b2868a62a7d3166bbd607ed4d8cdc3b80cb73e | |
parent | 5b42aac8904bfe8fcd65179c0fe71a6a1109ee53 [diff] |
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>