• Jan Kotas's avatar
    clk: Add Fixed MMIO clock driver · 50cc4caf
    Jan Kotas authored
    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: default avatarJan Kotas <jank@cadence.com>
    [sboyd@kernel.org: Make of_fixed_mmio_clk_setup() static, use clk_hw
    based APIs]
    Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
    50cc4caf
clk-fixed-mmio.c 2.27 KB