1 /* SPDX-License-Identifier: GPL-2.0+ */ 1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 3 #ifndef _DT_BINDINGS_REGULATOR_DLG_DA9121_H 3 #ifndef _DT_BINDINGS_REGULATOR_DLG_DA9121_H 4 #define _DT_BINDINGS_REGULATOR_DLG_DA9121_H 4 #define _DT_BINDINGS_REGULATOR_DLG_DA9121_H 5 5 6 /* 6 /* 7 * These buck mode constants may be used to sp 7 * These buck mode constants may be used to specify values in device tree 8 * properties (e.g. regulator-initial-mode). 8 * properties (e.g. regulator-initial-mode). 9 * A description of the following modes is in 9 * A description of the following modes is in the manufacturers datasheet. 10 */ 10 */ 11 11 12 #define DA9121_BUCK_MODE_FORCE_PFM 12 #define DA9121_BUCK_MODE_FORCE_PFM 0 13 #define DA9121_BUCK_MODE_FORCE_PWM 13 #define DA9121_BUCK_MODE_FORCE_PWM 1 14 #define DA9121_BUCK_MODE_FORCE_PWM_SHEDDING 14 #define DA9121_BUCK_MODE_FORCE_PWM_SHEDDING 2 15 #define DA9121_BUCK_MODE_AUTO 15 #define DA9121_BUCK_MODE_AUTO 3 16 16 17 #define DA9121_BUCK_RIPPLE_CANCEL_NONE 17 #define DA9121_BUCK_RIPPLE_CANCEL_NONE 0 18 #define DA9121_BUCK_RIPPLE_CANCEL_SMALL 18 #define DA9121_BUCK_RIPPLE_CANCEL_SMALL 1 19 #define DA9121_BUCK_RIPPLE_CANCEL_MID 19 #define DA9121_BUCK_RIPPLE_CANCEL_MID 2 20 #define DA9121_BUCK_RIPPLE_CANCEL_LARGE 20 #define DA9121_BUCK_RIPPLE_CANCEL_LARGE 3 21 21 22 #endif 22 #endif 23 23
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.