diff options
author | Tom Rini <trini@konsulko.com> | 2016-11-26 09:26:27 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-11-26 09:26:27 -0500 |
commit | 8d0898544e0930974f39d9f13de2a874a501aa18 (patch) | |
tree | e79257510f56afa87294d9dad3638d6df9590113 /include/power/regulator.h | |
parent | ce4f2dbe1a066a42a995c6f48280e2e1a5df1c92 (diff) | |
parent | 6b388f0bed0e3d021128b4fc3c41da4572984e3b (diff) |
Merge git://git.denx.de/u-boot-rockchip
Diffstat (limited to 'include/power/regulator.h')
-rw-r--r-- | include/power/regulator.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/power/regulator.h b/include/power/regulator.h index f47ab6740b..1a8e5753d7 100644 --- a/include/power/regulator.h +++ b/include/power/regulator.h @@ -261,6 +261,16 @@ int regulator_get_value(struct udevice *dev); int regulator_set_value(struct udevice *dev, int uV); /** + * regulator_set_value_force: set the microvoltage value of a given regulator + * without any min-,max condition check + * + * @dev - pointer to the regulator device + * @uV - the output value to set [micro Volts] + * @return - 0 on success or -errno val if fails + */ +int regulator_set_value_force(struct udevice *dev, int uV); + +/** * regulator_get_current: get microampere value of a given regulator * * @dev - pointer to the regulator device |