• Thara Gopinath's avatar
    OMAP3 PM: Adding counters for power domain logic off and mem off during retention. · cde08f81
    Thara Gopinath authored
    This patch adds counters to keep track of whether the powerdomain
    logic or software controllable memory banks are turned off when
    the power domain enters retention. During power domain retention
    if logic gets turned off, the scenario is known as Open Switch Retention.
    Also during retention s/w controllable memory banks of a power
    domain can be chosen to be kept in retention or off.
    
    This patch adds one counter per powerdomain to track the power domain
    logic state during retention. Number of memory bank state counters
    added depends on the number of software controllable memory banks
    of the powerdomain. To view these counters do
    	cat ../debug/pm_debug/count
    Signed-off-by: default avatarThara Gopinath <thara@ti.com>
    [paul@pwsan.com: conditional expressions simplified; counter increment
     code moved to its own function]
    Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
    cde08f81
powerdomain.h 4.81 KB