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