aboutsummaryrefslogtreecommitdiff
path: root/include/power/regulator.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-11-26 09:26:27 -0500
committerTom Rini <trini@konsulko.com>2016-11-26 09:26:27 -0500
commit8d0898544e0930974f39d9f13de2a874a501aa18 (patch)
treee79257510f56afa87294d9dad3638d6df9590113 /include/power/regulator.h
parentce4f2dbe1a066a42a995c6f48280e2e1a5df1c92 (diff)
parent6b388f0bed0e3d021128b4fc3c41da4572984e3b (diff)
Merge git://git.denx.de/u-boot-rockchip
Diffstat (limited to 'include/power/regulator.h')
-rw-r--r--include/power/regulator.h10
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