• Tony Lindgren's avatar
    bus: ti-sysc: Make OCP reset work for sysstatus and sysconfig reset bits · e0db94fe
    Tony Lindgren authored
    We've had minimal OCP softreset support in ti-sysc interconnect target
    module driver only used for MCAN driver so far. But it turns out that
    MCAN has the sysstatus register resetdone bit inverted compared to most
    other modules.
    
    Let's make OCP softreset work for other typical cases with reset status
    in sysstatus or sysconfig register so we can use the new functions for
    sysc_enable_module() and sysc_disable_module() without "ti,hwmods"
    property in the following patches.
    Tested-by: default avatarKeerthy <j-keerthy@ti.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    e0db94fe
ti-sysc.h 4.19 KB