• Maxime Ripard's avatar
    clk: Add a basic multiplier clock · f2e0a532
    Maxime Ripard authored
    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: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
    Reviewed-by: default avatarChen-Yu Tsai <wens@csie.org>
    f2e0a532
clk-multiplier.c 4.38 KB