• Gregory CLEMENT's avatar
    clk: mvebu: Add the peripheral clock driver for Armada 3700 · 8ca4746a
    Gregory CLEMENT authored
    These clocks are the ones which will be used as source for the
    peripherals of the Armada 3700 SoC. On this SoC there is two blocks of
    clocks: the North bridge one and the South bridge one.
    
    Most of them are gatable. Most of the time their rate are their parent
    rated divided by a ratio depending of two registers. Their parent can be
    choose between the TBG clocks for most of them.
    
    However, some of them can't choose their parent or directly depend of the
    xtal clocks. Other ones do not use exactly the same pattern to find the
    ratio between their parent rate and their rate.
    
    For these reason each clock is a composite clock and the operations they
    use are different depending of the clock.
    
    According to the datasheet it would be possible to select the parent
    clock and the ratio, however currently the driver does not support it.
    Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
    Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
    8ca4746a
armada-37xx-periph.c 12.5 KB