xref: /netbsd-src/sys/external/gpl2/dts/dist/include/dt-bindings/regulator/dlg,da9063-regulator.h (revision 4effb9b18f024fdac2e35b6e9f6ec111f2d026be)
1 /*	$NetBSD: dlg,da9063-regulator.h,v 1.1.1.1 2020/01/03 14:33:03 skrll Exp $	*/
2 
3 /* SPDX-License-Identifier: GPL-2.0 */
4 
5 #ifndef _DT_BINDINGS_REGULATOR_DLG_DA9063_H
6 #define _DT_BINDINGS_REGULATOR_DLG_DA9063_H
7 
8 /*
9  * These buck mode constants may be used to specify values in device tree
10  * properties (e.g. regulator-initial-mode).
11  * A description of the following modes is in the manufacturers datasheet.
12  */
13 
14 #define DA9063_BUCK_MODE_SLEEP		1
15 #define DA9063_BUCK_MODE_SYNC		2
16 #define DA9063_BUCK_MODE_AUTO		3
17 
18 #endif
19