• Paul Walmsley's avatar
    OMAP2+: clockdomain: add flag that will block autodeps from being added for a clockdomain · 570b54c7
    Paul Walmsley authored
    Add a new clockdomain flag, CLKDM_NO_AUTODEPS, which, when marked on a
    clockdomain, will prevent "autodeps" from being associated with the
    clockdomain.  ("Autodeps" are sleep dependencies and wakeup
    dependencies from/to processor modules that are automatically added to
    a clockdomain when it is in hardware-supervised idle mode.  They are
    deprecated -- a relic from the old CDP trees -- but are still in use
    for OMAP3.)
    
    Also, prevent the hwmod code from adding or removing initiator
    dependencies for clockdomains with this flag set.
    
    This patch should allow others to test which clockdomains actually
    still need autodeps.
    
    Thanks to Kevin Hilman <khilman@ti.com> for noting that the original
    version should also modify the hwmod code.
    Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
    Cc: Kevin Hilman <khilman@ti.com>
    570b54c7
clockdomain.h 5.4 KB