dts-bindings: regulator: Add dlg,da9063-regulator
authorNiel Fourie <lusus@denx.de>
Tue, 19 May 2020 12:01:40 +0000 (14:01 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 14 Jul 2020 09:46:04 +0000 (11:46 +0200)
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>
include/dt-bindings/regulator/dlg,da9063-regulator.h [new file with mode: 0644]

diff --git a/include/dt-bindings/regulator/dlg,da9063-regulator.h b/include/dt-bindings/regulator/dlg,da9063-regulator.h
new file mode 100644 (file)
index 0000000..1de710d
--- /dev/null
@@ -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