• R
    OMAP: clockdomain: Arch specific funcs to handle deps · 4aef7a2a
    Rajendra Nayak 提交于
    Define the following architecture specific funtions for omap2/3
    .clkdm_add_wkdep
    .clkdm_del_wkdep
    .clkdm_read_wkdep
    .clkdm_clear_all_wkdeps
    .clkdm_add_sleepdep
    .clkdm_del_sleepdep
    .clkdm_read_sleepdep
    .clkdm_clear_all_sleepdeps
    
    Convert the platform-independent framework to call these functions.
    With this also move the clkdm lookups for all wkdep_srcs and
    sleepdep_srcs at clkdm_init.
    Signed-off-by: NRajendra Nayak <rnayak@ti.com>
    [paul@pwsan.com: fixed loop termination conditions in omap*_clkdm_clear_all_*();
     thanks to Kevin Hilman for finding and helping fix those bugs; also
     avoid re-resolving clockdomains during init; abstracted out clkdm_dep walk]
    Cc: Kevin Hilman <khilman@ti.com>
    Signed-off-by: NPaul Walmsley <paul@pwsan.com>
    4aef7a2a
clockdomain.c 29.1 KB