summaryrefslogtreecommitdiff
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2014-03-14 20:11:56 +0530
committerLaxman Dewangan <ldewangan@nvidia.com>2014-03-17 01:51:53 -0700
commit806f627db52b3a7a07a6437f9b3405857c5dca97 (patch)
tree88c319004b802fcd8659c4f229fae9ee544f8b1f /include/dt-bindings
parent4c872f7c79e8e8c21ade281e6cbb35e26cfaa1a1 (diff)
ARM: dt-binding: add dt binding header for regulator
Define some of the macro to make DTS file entry easy for regulator. Change-Id: I06ab91b74e21b977a97b20a4d7ad14f9afd5cab2 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/382069 GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/regulator/regulator.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/dt-bindings/regulator/regulator.h b/include/dt-bindings/regulator/regulator.h
new file mode 100644
index 000000000000..d24893a1ea3b
--- /dev/null
+++ b/include/dt-bindings/regulator/regulator.h
@@ -0,0 +1,19 @@
+/*
+ * This header provides macros for regulator device bindings.
+ *
+ * Copyright (c) 2013, NVIDIA Corporation.
+ *
+ * Author: Laxman Dewangan <ldewangan@nvidia.com>
+ *
+ */
+
+#ifndef __DT_BINDINGS_REGULATOR_H__
+#define __DT_BINDINGS_REGULATOR_H__
+
+#define REGULATOR_MODE_FAST 0x1
+#define REGULATOR_MODE_NORMAL 0x2
+#define REGULATOR_MODE_IDLE 0x4
+#define REGULATOR_MODE_STANDBY 0x8
+#define REGULATOR_MODE_OFF 0x10
+
+#endif /* __DT_BINDINGS_REGULATOR_H__ */