struct regulation_constraints — regulator operating constraints.
struct regulation_constraints { const char * name; int min_uV; int max_uV; int uV_offset; int min_uA; int max_uA; unsigned int valid_modes_mask; unsigned int valid_ops_mask; int input_uV; struct regulator_state state_disk; struct regulator_state state_mem; struct regulator_state state_standby; suspend_state_t initial_state; unsigned int initial_mode; unsigned int ramp_delay; unsigned int enable_time; unsigned always_on:1; unsigned boot_on:1; unsigned apply_uV:1; unsigned ramp_disable:1; };
Descriptive name for the constraints, used for display purposes.
Smallest voltage consumers may set.
Largest voltage consumers may set.
Offset applied to voltages from consumer to compensate for voltage drops.
Smallest current consumers may set.
Largest current consumers may set.
Mask of modes which may be configured by consumers.
Operations which may be performed by consumers.
Input voltage for regulator when supplied by another regulator.
State for regulator when system is suspended in disk mode.
State for regulator when system is suspended in mem mode.
State for regulator when system is suspended in standby mode.
Suspend state to set by default.
Mode to set at startup.
Time to settle down after voltage change (unit: uV/us)
Turn-on time of the rails (unit: microseconds)
Set if the regulator should never be disabled.
Set if the regulator is enabled when the system is initially started. If the regulator is not enabled by the hardware or bootloader then it will be enabled when the constraints are applied.
Apply the voltage constraint when initialising.
Disable ramp delay when initialising or when setting voltage.