xref: /OK3568_Linux_fs/kernel/include/dt-bindings/regulator/dlg,da9211-regulator.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun 
3*4882a593Smuzhiyun #ifndef _DT_BINDINGS_REGULATOR_DLG_DA9211_H
4*4882a593Smuzhiyun #define _DT_BINDINGS_REGULATOR_DLG_DA9211_H
5*4882a593Smuzhiyun 
6*4882a593Smuzhiyun /*
7*4882a593Smuzhiyun  * These buck mode constants may be used to specify values in device tree
8*4882a593Smuzhiyun  * properties (e.g. regulator-initial-mode, regulator-allowed-modes).
9*4882a593Smuzhiyun  * A description of the following modes is in the manufacturers datasheet.
10*4882a593Smuzhiyun  */
11*4882a593Smuzhiyun 
12*4882a593Smuzhiyun #define DA9211_BUCK_MODE_SLEEP		1
13*4882a593Smuzhiyun #define DA9211_BUCK_MODE_SYNC		2
14*4882a593Smuzhiyun #define DA9211_BUCK_MODE_AUTO		3
15*4882a593Smuzhiyun 
16*4882a593Smuzhiyun #endif
17