summaryrefslogtreecommitdiff
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorNiel Fourie <lusus@denx.de>2020-05-19 15:01:40 +0300
committerStefano Babic <sbabic@denx.de>2020-07-14 12:46:04 +0300
commit3e218107437ca84aa27f401158a6c5a202f8e4fb (patch)
tree008347b6658c716f73cf6ee9daacdc9597a867fd /include/dt-bindings
parent86e9d7e8143eab4cfe4b74628153af9006bb1ad2 (diff)
downloadu-boot-3e218107437ca84aa27f401158a6c5a202f8e4fb.tar.xz
dts-bindings: regulator: Add dlg,da9063-regulator
Add da9063-regulator bindings from Linux 5.6: commit 7111951b8d49 upstream Signed-off-by: Niel Fourie <lusus@denx.de> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/regulator/dlg,da9063-regulator.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/dt-bindings/regulator/dlg,da9063-regulator.h b/include/dt-bindings/regulator/dlg,da9063-regulator.h
new file mode 100644
index 0000000000..1de710dd08
--- /dev/null
+++ b/include/dt-bindings/regulator/dlg,da9063-regulator.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
+#ifndef _DT_BINDINGS_REGULATOR_DLG_DA9063_H
+#define _DT_BINDINGS_REGULATOR_DLG_DA9063_H
+
+/*
+ * These buck mode constants may be used to specify values in device tree
+ * properties (e.g. regulator-initial-mode).
+ * A description of the following modes is in the manufacturers datasheet.
+ */
+
+#define DA9063_BUCK_MODE_SLEEP 1
+#define DA9063_BUCK_MODE_SYNC 2
+#define DA9063_BUCK_MODE_AUTO 3
+
+#endif