• Kevin Hilman's avatar
    OMAP2+: voltage: keep track of powerdomains in each voltagedomain · e69c22b1
    Kevin Hilman authored
    When a powerdomain is registered and it has an associated voltage domain,
    add the powerdomain to the voltagedomain using voltdm_add_pwrdm().
    
    Also add voltagedomain iterator helper functions to iterate over all
    registered voltagedomains and all powerdomains associated with a
    voltagedomain.
    
    Modeled after a similar relationship between clockdomains and powerdomains.
    Signed-off-by: default avatarKevin Hilman <khilman@ti.com>
    e69c22b1
powerdomain.c 27.5 KB