Anand K Mistry | 6c8b659 | 2020-07-02 13:15:22 +1000 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | |
| 3 | #ifndef _DT_BINDINGS_REGULATOR_DLG_DA9211_H |
| 4 | #define _DT_BINDINGS_REGULATOR_DLG_DA9211_H |
| 5 | |
| 6 | /* |
| 7 | * These buck mode constants may be used to specify values in device tree |
| 8 | * properties (e.g. regulator-initial-mode, regulator-allowed-modes). |
| 9 | * A description of the following modes is in the manufacturers datasheet. |
| 10 | */ |
| 11 | |
| 12 | #define DA9211_BUCK_MODE_SLEEP 1 |
| 13 | #define DA9211_BUCK_MODE_SYNC 2 |
| 14 | #define DA9211_BUCK_MODE_AUTO 3 |
| 15 | |
| 16 | #endif |