Merge tag 'iommu-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
[linux/fpc-iii.git] / include / dt-bindings / regulator / active-semi,8865-regulator.h
blob15473dbeaf38e10c42b026cbf5cf762a47baa2e8
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Device Tree binding constants for the ACT8865 PMIC regulators
4 */
6 #ifndef _DT_BINDINGS_REGULATOR_ACT8865_H
7 #define _DT_BINDINGS_REGULATOR_ACT8865_H
9 /*
10 * These constants should be used to specify regulator modes in device tree for
11 * ACT8865 regulators as follows:
12 * ACT8865_REGULATOR_MODE_FIXED: It is specific to DCDC regulators and it
13 * specifies the usage of fixed-frequency
14 * PWM.
16 * ACT8865_REGULATOR_MODE_NORMAL: It is specific to LDO regulators and it
17 * specifies the usage of normal mode.
19 * ACT8865_REGULATOR_MODE_LOWPOWER: For DCDC and LDO regulators; it specify
20 * the usage of proprietary power-saving
21 * mode.
24 #define ACT8865_REGULATOR_MODE_FIXED 1
25 #define ACT8865_REGULATOR_MODE_NORMAL 2
26 #define ACT8865_REGULATOR_MODE_LOWPOWER 3
28 #endif