1ff461ebfSRaag Jadav /* SPDX-License-Identifier: GPL-2.0 */
2ff461ebfSRaag Jadav /*
3ff461ebfSRaag Jadav  * Device Tree binding constants for the ACT8865 PMIC regulators
4ff461ebfSRaag Jadav  */
5ff461ebfSRaag Jadav 
6ff461ebfSRaag Jadav #ifndef _DT_BINDINGS_REGULATOR_ACT8865_H
7ff461ebfSRaag Jadav #define _DT_BINDINGS_REGULATOR_ACT8865_H
8ff461ebfSRaag Jadav 
9ff461ebfSRaag Jadav /*
10ff461ebfSRaag Jadav  * These constants should be used to specify regulator modes in device tree for
11ff461ebfSRaag Jadav  * ACT8865 regulators as follows:
12ff461ebfSRaag Jadav  * ACT8865_REGULATOR_MODE_FIXED:	It is specific to DCDC regulators and it
13ff461ebfSRaag Jadav  *					specifies the usage of fixed-frequency
14ff461ebfSRaag Jadav  *					PWM.
15ff461ebfSRaag Jadav  *
16ff461ebfSRaag Jadav  * ACT8865_REGULATOR_MODE_NORMAL:	It is specific to LDO regulators and it
17ff461ebfSRaag Jadav  *					specifies the usage of normal mode.
18ff461ebfSRaag Jadav  *
19ff461ebfSRaag Jadav  * ACT8865_REGULATOR_MODE_LOWPOWER:	For DCDC and LDO regulators; it specify
20ff461ebfSRaag Jadav  *					the usage of proprietary power-saving
21ff461ebfSRaag Jadav  *					mode.
22ff461ebfSRaag Jadav  */
23ff461ebfSRaag Jadav 
24ff461ebfSRaag Jadav #define ACT8865_REGULATOR_MODE_FIXED		1
25ff461ebfSRaag Jadav #define ACT8865_REGULATOR_MODE_NORMAL		2
26ff461ebfSRaag Jadav #define ACT8865_REGULATOR_MODE_LOWPOWER	3
27ff461ebfSRaag Jadav 
28ff461ebfSRaag Jadav #endif
29