• M
    clk: Add a basic multiplier clock · f2e0a532
    Maxime Ripard 提交于
    Some clocks are using a multiplier component, however, unlike their mux,
    gate or divider counterpart, these factors don't have a basic clock
    implementation.
    
    This leads to code duplication across platforms that want to use that kind
    of clocks, and the impossibility to use the composite clocks with such a
    clock without defining your own rate operations.
    
    Create such a driver in order to remove these issues, and hopefully factor
    the implementations, reducing code size across platforms and consolidating
    the various implementations.
    Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
    Reviewed-by: NChen-Yu Tsai <wens@csie.org>
    f2e0a532
clk-multiplier.c 4.4 KB