summaryrefslogtreecommitdiff
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2014-03-14 20:10:45 +0530
committerLaxman Dewangan <ldewangan@nvidia.com>2014-03-17 01:51:38 -0700
commit4c872f7c79e8e8c21ade281e6cbb35e26cfaa1a1 (patch)
tree9c7430d50df6b1f4430026d5000223ef124943cb /include/dt-bindings
parentbf59921418ae93c35f1200c0c6ab41e4c639f30b (diff)
ARM: dt-binding: add dt binding header for the palmas
Define some of the macro to make DTS file entry easy for Palmas device. Change-Id: I679908b807df6add0f24417af9fb8512816d53c6 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/382068 GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/mfd/palmas.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/dt-bindings/mfd/palmas.h b/include/dt-bindings/mfd/palmas.h
new file mode 100644
index 000000000000..abcbcc058fd9
--- /dev/null
+++ b/include/dt-bindings/mfd/palmas.h
@@ -0,0 +1,18 @@
+/*
+ * This header provides macros for TI,palams device bindings.
+ *
+ * Copyright (c) 2013, NVIDIA Corporation.
+ *
+ * Author: Laxman Dewangan <ldewangan@nvidia.com>
+ *
+ */
+
+#ifndef __DT_BINDINGS_PALMAS_H__
+#define __DT_BINDINGS_PALMAS_H__
+
+/* External control pins */
+#define PALMAS_EXT_CONTROL_ENABLE1 1
+#define PALMAS_EXT_CONTROL_ENABLE2 2
+#define PALMAS_EXT_CONTROL_NSLEEP 3
+
+#endif /* __DT_BINDINGS_PALMAS_H__ */