Skip to content
Commit e69c22b1 authored by Kevin Hilman's avatar Kevin Hilman
Browse files

OMAP2+: voltage: keep track of powerdomains in each voltagedomain



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>
parent 048a7034
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment