• Tero Kristo's avatar
    ARM: OMAP2+: hwmod: populate clkctrl clocks for hwmods if available · 70f05be3
    Tero Kristo authored
    If clkctrl clocks are available on a device, populate these automatically
    to replace hwmod main_clk info. First, the patch parses all "ti,clkctrl"
    compatible nodes and maps these against existing clockdomain data. Once
    done, individual hwmod init routines can search for a clkctrl clock
    handle based on the clockdomain info and the created mapping.
    
    This patch also drops the obsolete "_mod_ck" search as the implementation
    required for this was not accepted usptream.
    Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    70f05be3
omap_hwmod.c 108 KB