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