23 lines · c
1/* SPDX-License-Identifier: GPL-2.0+ */2 3#ifndef _DT_BINDINGS_REGULATOR_DLG_DA9121_H4#define _DT_BINDINGS_REGULATOR_DLG_DA9121_H5 6/*7 * These buck mode constants may be used to specify values in device tree8 * properties (e.g. regulator-initial-mode).9 * A description of the following modes is in the manufacturers datasheet.10 */11 12#define DA9121_BUCK_MODE_FORCE_PFM 013#define DA9121_BUCK_MODE_FORCE_PWM 114#define DA9121_BUCK_MODE_FORCE_PWM_SHEDDING 215#define DA9121_BUCK_MODE_AUTO 316 17#define DA9121_BUCK_RIPPLE_CANCEL_NONE 018#define DA9121_BUCK_RIPPLE_CANCEL_SMALL 119#define DA9121_BUCK_RIPPLE_CANCEL_MID 220#define DA9121_BUCK_RIPPLE_CANCEL_LARGE 321 22#endif23