aboutsummaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/regulator/maxim,max77802.h
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>2014-10-16 18:48:50 +0200
committerMark Brown <broonie@kernel.org>2014-10-20 12:23:50 +0100
commit5356e0da49e61e0de29a5f61996be66e97425217 (patch)
tree12b93a4b9876608271ac154d9271a1a3120093cd /include/dt-bindings/regulator/maxim,max77802.h
parent0505be71490e49044314ca84dd443e0f3782ca5a (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 'include/dt-bindings/regulator/maxim,max77802.h')
-rw-r--r--include/dt-bindings/regulator/maxim,max77802.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/dt-bindings/regulator/maxim,max77802.h b/include/dt-bindings/regulator/maxim,max77802.h
new file mode 100644
index 000000000000..cf28631d7109
--- /dev/null
+++ b/include/dt-bindings/regulator/maxim,max77802.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright (C) 2014 Google, Inc
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Device Tree binding constants for the Maxim 77802 PMIC regulators
+ */
+
+#ifndef _DT_BINDINGS_REGULATOR_MAXIM_MAX77802_H
+#define _DT_BINDINGS_REGULATOR_MAXIM_MAX77802_H
+
+/* Regulator operating modes */
+#define MAX77802_OPMODE_LP 1
+#define MAX77802_OPMODE_NORMAL 3
+
+#endif /* _DT_BINDINGS_REGULATOR_MAXIM_MAX77802_H */

Privacy Policy