struct regulation_constraints — regulator operating constraints.
struct regulation_constraints { 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 always_on:1; unsigned boot_on:1; unsigned apply_uV: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 consumers 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.
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.