• Tony Lindgren's avatar
    bus: ti-sysc: Add support for disabling module without legacy mode · 8383e259
    Tony Lindgren authored
    We must not assert reset for modules with no child device drivers
    until in runtime_suspend. Otherwise register access will fail without
    legacy mode helping us.
    
    Let's add a flag for disable_on_idle and move the reset driver
    handling to runtime suspend and resume. We can then also use the
    disable_on_idle flag to reconfigure sysconfig register for PM
    modes requesting it.
    
    Let's also make the other flags use bitfield while at it instead of
    bool.
    Tested-by: default avatarKeerthy <j-keerthy@ti.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    8383e259
ti-sysc.c 56 KB