Path: blob/master/include/dt-bindings/regulator/active-semi,8865-regulator.h
26282 views
/* SPDX-License-Identifier: GPL-2.0 */1/*2* Device Tree binding constants for the ACT8865 PMIC regulators3*/45#ifndef _DT_BINDINGS_REGULATOR_ACT8865_H6#define _DT_BINDINGS_REGULATOR_ACT8865_H78/*9* These constants should be used to specify regulator modes in device tree for10* ACT8865 regulators as follows:11* ACT8865_REGULATOR_MODE_FIXED: It is specific to DCDC regulators and it12* specifies the usage of fixed-frequency13* PWM.14*15* ACT8865_REGULATOR_MODE_NORMAL: It is specific to LDO regulators and it16* specifies the usage of normal mode.17*18* ACT8865_REGULATOR_MODE_LOWPOWER: For DCDC and LDO regulators; it specify19* the usage of proprietary power-saving20* mode.21*/2223#define ACT8865_REGULATOR_MODE_FIXED 124#define ACT8865_REGULATOR_MODE_NORMAL 225#define ACT8865_REGULATOR_MODE_LOWPOWER 32627#endif282930