31 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2/*3 * Copyright (c) 2018 Microchip Technology, Inc. All rights reserved.4 *5 * Device Tree binding constants for the ACT8945A PMIC regulators6 */7 8#ifndef _DT_BINDINGS_REGULATOR_ACT8945A_H9#define _DT_BINDINGS_REGULATOR_ACT8945A_H10 11/*12 * These constants should be used to specify regulator modes in device tree for13 * ACT8945A regulators as follows:14 * ACT8945A_REGULATOR_MODE_FIXED: It is specific to DCDC regulators and it15 * specifies the usage of fixed-frequency16 * PWM.17 *18 * ACT8945A_REGULATOR_MODE_NORMAL: It is specific to LDO regulators and it19 * specifies the usage of normal mode.20 *21 * ACT8945A_REGULATOR_MODE_LOWPOWER: For DCDC and LDO regulators; it specify22 * the usage of proprietary power-saving23 * mode.24 */25 26#define ACT8945A_REGULATOR_MODE_FIXED 127#define ACT8945A_REGULATOR_MODE_NORMAL 228#define ACT8945A_REGULATOR_MODE_LOWPOWER 329 30#endif31