16c8b6595SAnand K Mistry /* SPDX-License-Identifier: GPL-2.0 */ 26c8b6595SAnand K Mistry 36c8b6595SAnand K Mistry #ifndef _DT_BINDINGS_REGULATOR_DLG_DA9211_H 46c8b6595SAnand K Mistry #define _DT_BINDINGS_REGULATOR_DLG_DA9211_H 56c8b6595SAnand K Mistry 66c8b6595SAnand K Mistry /* 76c8b6595SAnand K Mistry * These buck mode constants may be used to specify values in device tree 86c8b6595SAnand K Mistry * properties (e.g. regulator-initial-mode, regulator-allowed-modes). 96c8b6595SAnand K Mistry * A description of the following modes is in the manufacturers datasheet. 106c8b6595SAnand K Mistry */ 116c8b6595SAnand K Mistry 126c8b6595SAnand K Mistry #define DA9211_BUCK_MODE_SLEEP 1 136c8b6595SAnand K Mistry #define DA9211_BUCK_MODE_SYNC 2 146c8b6595SAnand K Mistry #define DA9211_BUCK_MODE_AUTO 3 156c8b6595SAnand K Mistry 166c8b6595SAnand K Mistry #endif 17