Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Copyright (c) 2018 Microchip Technology, Inc. All rights reserved.
0004  *
0005  * Device Tree binding constants for the ACT8945A PMIC regulators
0006  */
0007 
0008 #ifndef _DT_BINDINGS_REGULATOR_ACT8945A_H
0009 #define _DT_BINDINGS_REGULATOR_ACT8945A_H
0010 
0011 /*
0012  * These constants should be used to specify regulator modes in device tree for
0013  * ACT8945A regulators as follows:
0014  * ACT8945A_REGULATOR_MODE_FIXED:   It is specific to DCDC regulators and it
0015  *                  specifies the usage of fixed-frequency
0016  *                  PWM.
0017  *
0018  * ACT8945A_REGULATOR_MODE_NORMAL:  It is specific to LDO regulators and it
0019  *                  specifies the usage of normal mode.
0020  *
0021  * ACT8945A_REGULATOR_MODE_LOWPOWER:    For DCDC and LDO regulators; it specify
0022  *                  the usage of proprietary power-saving
0023  *                  mode.
0024  */
0025 
0026 #define ACT8945A_REGULATOR_MODE_FIXED       1
0027 #define ACT8945A_REGULATOR_MODE_NORMAL      2
0028 #define ACT8945A_REGULATOR_MODE_LOWPOWER    3
0029 
0030 #endif