xref: /openbmc/linux/include/dt-bindings/regulator/dlg,da9063-regulator.h (revision c95baf12f5077419db01313ab61c2aac007d40cd)
1*7d34aec5SChristoph Fritz /* SPDX-License-Identifier: GPL-2.0 */
2*7d34aec5SChristoph Fritz 
3*7d34aec5SChristoph Fritz #ifndef _DT_BINDINGS_REGULATOR_DLG_DA9063_H
4*7d34aec5SChristoph Fritz #define _DT_BINDINGS_REGULATOR_DLG_DA9063_H
5*7d34aec5SChristoph Fritz 
6*7d34aec5SChristoph Fritz /*
7*7d34aec5SChristoph Fritz  * These buck mode constants may be used to specify values in device tree
8*7d34aec5SChristoph Fritz  * properties (e.g. regulator-initial-mode).
9*7d34aec5SChristoph Fritz  * A description of the following modes is in the manufacturers datasheet.
10*7d34aec5SChristoph Fritz  */
11*7d34aec5SChristoph Fritz 
12*7d34aec5SChristoph Fritz #define DA9063_BUCK_MODE_SLEEP		1
13*7d34aec5SChristoph Fritz #define DA9063_BUCK_MODE_SYNC		2
14*7d34aec5SChristoph Fritz #define DA9063_BUCK_MODE_AUTO		3
15*7d34aec5SChristoph Fritz 
16*7d34aec5SChristoph Fritz #endif
17