regulator_set_voltage (9) - Linux Man Pages
regulator_set_voltage: set regulator output voltage
regulator_set_voltage - set regulator output voltage
int regulator_set_voltage(struct regulator
*regulator, int min_uV, int max_uV);
- regulator source
- Minimum required voltage in uV
- Maximum acceptable voltage in uV
Sets a voltage regulator to the desired output voltage. This can be set during any regulator state. IOW, regulator can be disabled or enabled.
If the regulator is shared between several devices then the lowest request voltage that meets the system constraints will be used. Regulator system constraints must be set for this regulator before calling this function otherwise this call will fail.
Liam Girdwood <lrg [at] slimlogic.co.uk>