Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Device Tree binding constants for the ACT8865 PMIC regulators
0004  */
0005 
0006 #ifndef _DT_BINDINGS_REGULATOR_ACT8865_H
0007 #define _DT_BINDINGS_REGULATOR_ACT8865_H
0008 
0009 /*
0010  * These constants should be used to specify regulator modes in device tree for
0011  * ACT8865 regulators as follows:
0012  * ACT8865_REGULATOR_MODE_FIXED:    It is specific to DCDC regulators and it
0013  *                  specifies the usage of fixed-frequency
0014  *                  PWM.
0015  *
0016  * ACT8865_REGULATOR_MODE_NORMAL:   It is specific to LDO regulators and it
0017  *                  specifies the usage of normal mode.
0018  *
0019  * ACT8865_REGULATOR_MODE_LOWPOWER: For DCDC and LDO regulators; it specify
0020  *                  the usage of proprietary power-saving
0021  *                  mode.
0022  */
0023 
0024 #define ACT8865_REGULATOR_MODE_FIXED        1
0025 #define ACT8865_REGULATOR_MODE_NORMAL       2
0026 #define ACT8865_REGULATOR_MODE_LOWPOWER 3
0027 
0028 #endif