summaryrefslogtreecommitdiffstats
path: root/kernel/include/dt-bindings/regulator
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/dt-bindings/regulator')
-rw-r--r--kernel/include/dt-bindings/regulator/maxim,max77802.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/kernel/include/dt-bindings/regulator/maxim,max77802.h b/kernel/include/dt-bindings/regulator/maxim,max77802.h
new file mode 100644
index 000000000..cf28631d7
--- /dev/null
+++ b/kernel/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 */