• Tero Kristo's avatar
    clk: ti: add support for clkctrl clocks · 88a17252
    Tero Kristo authored
    Previously, hwmod core has been used for controlling the hwmod level
    clocks directly. This has certain drawbacks, like being unable to share
    the clocks for multiple users, missing usecounting and generally being
    totally incompatible with the common clock framework.
    
    This patch adds support for clkctrl clocks for addressing the above
    issues. These support the modulemode handling, which will replace the
    direct hwmod clkctrl linkage. Any optional clocks are also supported,
    gate, mux and divider.
    Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
    Acked-by: default avatarTony Lindgren <tony@atomide.com>
    88a17252
clkctrl.c 10.8 KB