Path: blob/master/include/dt-bindings/regulator/active-semi,8945a-regulator.h
26288 views
/* SPDX-License-Identifier: GPL-2.0 */1/*2* Copyright (c) 2018 Microchip Technology, Inc. All rights reserved.3*4* Device Tree binding constants for the ACT8945A PMIC regulators5*/67#ifndef _DT_BINDINGS_REGULATOR_ACT8945A_H8#define _DT_BINDINGS_REGULATOR_ACT8945A_H910/*11* These constants should be used to specify regulator modes in device tree for12* ACT8945A regulators as follows:13* ACT8945A_REGULATOR_MODE_FIXED: It is specific to DCDC regulators and it14* specifies the usage of fixed-frequency15* PWM.16*17* ACT8945A_REGULATOR_MODE_NORMAL: It is specific to LDO regulators and it18* specifies the usage of normal mode.19*20* ACT8945A_REGULATOR_MODE_LOWPOWER: For DCDC and LDO regulators; it specify21* the usage of proprietary power-saving22* mode.23*/2425#define ACT8945A_REGULATOR_MODE_FIXED 126#define ACT8945A_REGULATOR_MODE_NORMAL 227#define ACT8945A_REGULATOR_MODE_LOWPOWER 32829#endif303132