diff options
author | Javier Martinez Canillas <javier.martinez@collabora.co.uk> | 2014-10-16 12:48:50 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-10-20 07:23:50 -0400 |
commit | 5356e0da49e61e0de29a5f61996be66e97425217 (patch) | |
tree | 12b93a4b9876608271ac154d9271a1a3120093cd /drivers/regulator | |
parent | 0505be71490e49044314ca84dd443e0f3782ca5a (diff) |
regulator: max77802: Add header for operating modes
Add a header file for the max77802 constants that could be shared between
the regulator driver and Device Tree source files. Also, remove standby
and off opmodes since only normal and low power are valid operating modes.
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/max77802.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/max77802.c b/drivers/regulator/max77802.c index 3abf99dbf953..5839c4509e1f 100644 --- a/drivers/regulator/max77802.c +++ b/drivers/regulator/max77802.c | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <linux/regulator/of_regulator.h> | 33 | #include <linux/regulator/of_regulator.h> |
34 | #include <linux/mfd/max77686.h> | 34 | #include <linux/mfd/max77686.h> |
35 | #include <linux/mfd/max77686-private.h> | 35 | #include <linux/mfd/max77686-private.h> |
36 | #include <dt-bindings/regulator/maxim,max77802.h> | ||
36 | 37 | ||
37 | /* Default ramp delay in case it is not manually set */ | 38 | /* Default ramp delay in case it is not manually set */ |
38 | #define MAX77802_RAMP_DELAY 100000 /* uV/us */ | 39 | #define MAX77802_RAMP_DELAY 100000 /* uV/us */ |